Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 112.4 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 55.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2759, allocations: 49.17 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008264/0.2841, allocations: 9.041 MB / 405.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007244/0.2914, allocations: 3.229 MB / 408.6 MB, free: 240 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.2934, allocations: 55.97 kB / 408.7 MB, free: 212 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.2965, allocations: 0.7201 MB / 409.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004385/0.3009, allocations: 0.7524 MB / 410.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.3025, allocations: 341.2 kB / 410.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004613/0.3071, allocations: 2.107 MB / 412.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.309, allocations: 0.8163 MB / 413.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.311, allocations: 0.9289 MB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.3135, allocations: 1.162 MB / 415.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004857/0.314, allocations: 231.5 kB / 415.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009435/0.3149, allocations: 327.1 kB / 416 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009242/0.3158, allocations: 0.6803 MB / 416.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.3177, allocations: 1.087 MB / 417.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004966/0.3227, allocations: 3.125 MB / 420.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3227, allocations: 0 / 420.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3227, allocations: 3.938 kB / 420.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-05/0.3228, allocations: 3.938 kB / 420.9 MB, free: 8.68 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.006984/0.3297, allocations: 2.238 MB / 423.2 MB, free: 7.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3298, allocations: 14.2 kB / 423.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000444/0.3302, allocations: 237.8 kB / 423.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.3314, allocations: 235.3 kB / 423.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/0.3348, allocations: 1.102 MB / 424.8 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.3349, allocations: 117.7 kB / 424.9 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003652/0.3353, allocations: 146.7 kB / 425 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004891/0.3402, allocations: 2.01 MB / 427 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.424e-05/0.3402, allocations: 7.953 kB / 427 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.3405, allocations: 60 kB / 427.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.3406, allocations: 82.89 kB / 427.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004046/0.3446, allocations: 1.651 MB / 428.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/0.3598, allocations: 6.77 MB / 435.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.3609, allocations: 429.1 kB / 436 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006001/0.3615, allocations: 250 kB / 436.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.3618, allocations: 36.41 kB / 436.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.3618, allocations: 39 kB / 436.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.466e-06/0.3618, allocations: 0 / 436.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.01102/0.3729, allocations: 3.161 MB / 439.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003719/0.3766, allocations: 2.234 MB / 441.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/0.3802, allocations: 1.612 MB / 443.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.3803, allocations: 41.7 kB / 443.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.3815, allocations: 1.049 MB / 444.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.3818, allocations: 254 kB / 444.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006908/0.3825, allocations: 323.3 kB / 445 MB, free: 1.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3827, allocations: 305.1 kB / 445.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.384, allocations: 0.5153 MB / 445.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.3864, allocations: 1.468 MB / 447.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/0.3902, allocations: 2.134 MB / 449.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.352e-05/0.3902, allocations: 16 kB / 449.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00554/0.3957, allocations: 2.158 MB / 451.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/0.3958, allocations: 23.98 kB / 451.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.021e-05/0.3958, allocations: 32 kB / 451.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008114/0.3967, allocations: 226.7 kB / 451.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.3985, allocations: 395.3 kB / 452.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.401, allocations: 1.76 MB / 454 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.4033, allocations: 131.7 kB / 454.1 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.4035, allocations: 99.98 kB / 454.2 MB, free: 7.539 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001408/0.4049, allocations: 0.5905 MB / 454.8 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004528/0.4054, allocations: 159 kB / 455 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.4085, allocations: 1.112 MB / 456.1 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.4085, allocations: 8 kB / 456.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4085, allocations: 4 kB / 456.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4085, allocations: 3.984 kB / 456.1 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008804/0.4173, allocations: 3.29 MB / 459.4 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.4174, allocations: 4 kB / 459.4 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007065/0.4181, allocations: 112.5 kB / 459.5 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009877/0.4191, allocations: 234.3 kB / 459.7 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/0.4191, allocations: 16 kB / 459.8 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00626/0.4254, allocations: 3.851 MB / 463.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003043/0.4284, allocations: 2.066 MB / 465.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003919/0.4324, allocations: 1.762 MB / 467.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.4335, allocations: 238.8 kB / 467.7 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.4339, allocations: 19.98 kB / 467.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.435, allocations: 52.02 kB / 467.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.4352, allocations: 63.77 kB / 467.8 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-05/0.4353, allocations: 24 kB / 467.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002672/0.438, allocations: 1.07 MB / 468.9 MB, free: 8.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.438, allocations: 4 kB / 468.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002978/0.441, allocations: 380 kB / 469.3 MB, free: 7.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003541/0.4445, allocations: 2.361 MB / 471.6 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.4472, allocations: 1.416 MB / 473 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.4472, allocations: 4 kB / 473.1 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.4485, allocations: 0.7491 MB / 473.8 MB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.4507, allocations: 413.4 kB / 474.2 MB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/0.4758, allocations: 15.31 MB / 489.5 MB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.4771, allocations: 1.469 MB / 491 MB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001179/0.4783, allocations: 354 kB / 491.3 MB, free: 376 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.4793, allocations: 0.6204 MB / 491.9 MB, free: 15.74 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4793, allocations: 0 / 491.9 MB, free: 15.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0941/0.5734, allocations: 37.86 MB / 0.5174 GB, free: 9.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/16.6, allocations: 3.859 kB / 0.5174 GB, free: 9.766 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.04 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.046401584055275]