Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.001028/0.001028, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001055/0.001055, allocations: 163.1 kB / 25.69 MB, free: 8.418 MB / 18.57 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 0.9149/0.9149, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 251.6 MB, free: 7.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.202e-05, allocations: 2.312 kB / 251.6 MB, free: 7.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.277/0.277, allocations: 129.4 MB / 381 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.2778, allocations: 0.7673 MB / 381.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.2779, allocations: 2.969 kB / 381.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.2783, allocations: 109.1 kB / 381.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.2787, allocations: 337 kB / 382.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.2792, allocations: 384 kB / 382.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005737/0.2797, allocations: 0.8723 MB / 383.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2799, allocations: 80.17 kB / 383.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.2803, allocations: 479 kB / 384 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.2807, allocations: 293 kB / 384.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.2807, allocations: 33.97 kB / 384.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.2809, allocations: 69.48 kB / 384.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.2809, allocations: 100.7 kB / 384.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2811, allocations: 142.1 kB / 384.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.2813, allocations: 316.3 kB / 385 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2813, allocations: 0 / 385 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2813, allocations: 4 kB / 385 MB, free: 10.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.2813, allocations: 0 / 385 MB, free: 10.23 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0004581/0.2818, allocations: 489.1 kB / 385.4 MB, free: 9.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.2818, allocations: 11.92 kB / 385.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.282, allocations: 79.78 kB / 385.5 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.2822, allocations: 206.3 kB / 385.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2822, allocations: 18.41 kB / 385.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.2823, allocations: 34 kB / 385.8 MB, free: 9.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.2825, allocations: 455 kB / 386.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2825, allocations: 192 / 386.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.2825, allocations: 10.33 kB / 386.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2825, allocations: 10.19 kB / 386.2 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.685e-05/0.2826, allocations: 85.66 kB / 386.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/0.2834, allocations: 0.7359 MB / 387.1 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.2836, allocations: 115.5 kB / 387.2 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.2837, allocations: 47.67 kB / 387.2 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.2837, allocations: 10.84 kB / 387.2 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.2837, allocations: 37.16 kB / 387.3 MB, free: 8.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.2837, allocations: 5.094 kB / 387.3 MB, free: 8.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001198/0.2849, allocations: 0.6382 MB / 387.9 MB, free: 8.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.2849, allocations: 54.28 kB / 388 MB, free: 8.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2851, allocations: 222.4 kB / 388.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2851, allocations: 32.17 kB / 388.2 MB, free: 8.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.2851, allocations: 174.3 kB / 388.4 MB, free: 8.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.2852, allocations: 98.64 kB / 388.5 MB, free: 8.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.2852, allocations: 63.05 kB / 388.5 MB, free: 8.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.2853, allocations: 343.8 kB / 388.9 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.2853, allocations: 33.94 kB / 388.9 MB, free: 7.832 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.748e-05/0.2854, allocations: 130.2 kB / 389 MB, free: 7.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2855, allocations: 202.4 kB / 389.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2855, allocations: 0 / 389.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002252/0.2857, allocations: 231.4 kB / 389.5 MB, free: 7.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2858, allocations: 5.562 kB / 389.5 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2858, allocations: 1.969 kB / 389.5 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/0.2859, allocations: 44.94 kB / 389.5 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.2861, allocations: 93.3 kB / 389.6 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007301/0.2868, allocations: 2.32 MB / 391.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.2869, allocations: 12.91 kB / 391.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.2869, allocations: 13.3 kB / 391.9 MB, free: 5.191 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 6.91e-05/0.287, allocations: 134.6 kB / 392.1 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.287, allocations: 25.22 kB / 392.1 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.2872, allocations: 183.8 kB / 392.3 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2872, allocations: 0 / 392.3 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2872, allocations: 3.125 kB / 392.3 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001497/0.2874, allocations: 455.3 kB / 392.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.2877, allocations: 408.3 kB / 393.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2877, allocations: 6.75 kB / 393.1 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.2879, allocations: 70.41 kB / 393.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-05/0.288, allocations: 15.94 kB / 393.2 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.288, allocations: 11.66 kB / 393.2 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003163/0.2883, allocations: 1.167 MB / 394.4 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2883, allocations: 2.031 kB / 394.4 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.2885, allocations: 297.5 kB / 394.7 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.2886, allocations: 21.89 kB / 394.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2886, allocations: 6.375 kB / 394.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.2887, allocations: 9.438 kB / 394.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.2887, allocations: 18.48 kB / 394.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.2887, allocations: 17.69 kB / 394.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.699e-05/0.2888, allocations: 66.12 kB / 394.8 MB, free: 2.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2888, allocations: 1.094 kB / 394.8 MB, free: 2.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.289, allocations: 86.78 kB / 394.9 MB, free: 2.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.2892, allocations: 105.8 kB / 395 MB, free: 2.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.2895, allocations: 382.8 kB / 395.4 MB, free: 2.645 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.2895, allocations: 2.531 kB / 395.4 MB, free: 2.645 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/0.2896, allocations: 184.8 kB / 395.6 MB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.29, allocations: 137 kB / 395.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000835/0.2908, allocations: 0.5585 MB / 396.3 MB, free: 2.184 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.2908, allocations: 88.78 kB / 396.4 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.291, allocations: 49.84 kB / 396.4 MB, free: 2.098 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.2912, allocations: 166.9 kB / 396.6 MB, free: 2.047 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2912, allocations: 0 / 396.6 MB, free: 2.047 MB / 330.7 MB Notification: Performance of Templates: time 0.00718/0.2984, allocations: 6.048 MB / 402.6 MB, free: 15.42 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0463466057553887]