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.001168/0.001168, allocations: 85.08 kB / 23 MB, free: 1.504 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.001439/0.001439, allocations: 176 kB / 26.39 MB, free: 8.008 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.9226/0.9226, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.794e-06/1.794e-06, allocations: 0 / 252.3 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.416e-05, allocations: 6.312 kB / 252.3 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2656/0.2657, allocations: 127.4 MB / 379.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2669, allocations: 0.7448 MB / 380.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.2672, allocations: 6.688 kB / 380.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.2677, allocations: 104.2 kB / 380.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.2683, allocations: 341.8 kB / 380.9 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.269, allocations: 390.9 kB / 381.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008608/0.2698, allocations: 0.8801 MB / 382.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.27, allocations: 72.25 kB / 382.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006613/0.2707, allocations: 480.5 kB / 382.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.2711, allocations: 299.5 kB / 383 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.2712, allocations: 30.47 kB / 383 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.2714, allocations: 69.27 kB / 383.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2715, allocations: 103.6 kB / 383.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.2716, allocations: 140.6 kB / 383.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.272, allocations: 310.9 kB / 383.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.272, allocations: 0 / 383.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.272, allocations: 0 / 383.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.272, allocations: 6.219 kB / 383.6 MB, free: 11.53 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.000588/0.2726, allocations: 0.616 MB / 384.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2727, allocations: 15.02 kB / 384.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.2729, allocations: 83.44 kB / 384.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.2732, allocations: 225.4 kB / 384.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2732, allocations: 25.78 kB / 384.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.2732, allocations: 26.47 kB / 384.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.2735, allocations: 458.2 kB / 385.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2735, allocations: 192 / 385.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.2736, allocations: 17.06 kB / 385.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.2736, allocations: 9.781 kB / 385.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.2737, allocations: 94.09 kB / 385.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.2747, allocations: 1.031 MB / 386.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.2749, allocations: 130 kB / 386.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.275, allocations: 54.62 kB / 386.4 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.122e-05/0.275, allocations: 14.2 kB / 386.4 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.275, allocations: 45.36 kB / 386.4 MB, free: 9.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.275, allocations: 4 kB / 386.4 MB, free: 9.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001288/0.2763, allocations: 0.6343 MB / 387.1 MB, free: 9.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/0.2763, allocations: 54.16 kB / 387.1 MB, free: 9.383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2765, allocations: 283.7 kB / 387.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2765, allocations: 28.89 kB / 387.4 MB, free: 9.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.2766, allocations: 239.5 kB / 387.7 MB, free: 8.984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.2766, allocations: 92.66 kB / 387.8 MB, free: 8.926 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.2767, allocations: 74.62 kB / 387.8 MB, free: 8.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.2767, allocations: 0.5084 MB / 388.3 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.356e-05/0.2768, allocations: 39.06 kB / 388.4 MB, free: 8.398 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.2769, allocations: 180.8 kB / 388.6 MB, free: 8.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.277, allocations: 239.3 kB / 388.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.277, allocations: 0 / 388.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002895/0.2773, allocations: 282.9 kB / 389.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2773, allocations: 7.969 kB / 389.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2773, allocations: 4.5 kB / 389.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/0.2775, allocations: 51.28 kB / 389.1 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.2776, allocations: 77.64 kB / 389.2 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009993/0.2786, allocations: 3.421 MB / 392.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.2788, allocations: 13.77 kB / 392.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2788, allocations: 11.09 kB / 392.7 MB, free: 4.477 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 9.359e-05/0.2789, allocations: 186.1 kB / 392.8 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.2789, allocations: 31.86 kB / 392.9 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.2792, allocations: 214.1 kB / 393.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2792, allocations: 2.375 kB / 393.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2792, allocations: 3.938 kB / 393.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002384/0.2794, allocations: 491.1 kB / 393.6 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.2801, allocations: 0.5282 MB / 394.1 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2801, allocations: 1.203 kB / 394.1 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.2804, allocations: 57.25 kB / 394.1 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.98e-05/0.2805, allocations: 23.8 kB / 394.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.2805, allocations: 3.438 kB / 394.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006632/0.2811, allocations: 1.711 MB / 395.9 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2811, allocations: 5.531 kB / 395.9 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.2816, allocations: 392.3 kB / 396.3 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.2816, allocations: 28.16 kB / 396.3 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.2817, allocations: 3.438 kB / 396.3 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.2819, allocations: 15.2 kB / 396.3 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.2819, allocations: 20.78 kB / 396.3 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.2819, allocations: 13.86 kB / 396.3 MB, free: 1.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.282, allocations: 178.3 kB / 396.5 MB, free: 1.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.282, allocations: 0 / 396.5 MB, free: 1.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003405/0.2824, allocations: 93.53 kB / 396.6 MB, free: 1.348 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.0002009/0.2826, allocations: 120.6 kB / 396.7 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.2829, allocations: 495.4 kB / 397.2 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2829, allocations: 0 / 397.2 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.2831, allocations: 248.3 kB / 397.5 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.2835, allocations: 148.5 kB / 397.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000998/0.2845, allocations: 0.5711 MB / 398.2 MB, free: 344 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.656e-05/0.2846, allocations: 89.22 kB / 398.3 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.2847, allocations: 48.88 kB / 398.3 MB, free: 252 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.285, allocations: 210.8 kB / 398.5 MB, free: 184 kB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.285, allocations: 0 / 398.5 MB, free: 184 kB / 330.7 MB Notification: Performance of Templates: time 0.008244/0.2933, allocations: 6.108 MB / 404.6 MB, free: 13.64 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 -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.239024156704545]