Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001547/0.001547, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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.001696/0.001696, allocations: 210.1 kB / 24.5 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 43.94 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2225, allocations: 53.37 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03988/0.2623, allocations: 37.98 MB / 470.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005851/0.2682, allocations: 4.623 MB / 475 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003303/0.2685, allocations: 7.938 kB / 475 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008049/0.2693, allocations: 294.2 kB / 475.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.2704, allocations: 497.3 kB / 475.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.2748, allocations: 1.654 MB / 477.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.2765, allocations: 1.288 MB / 478.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.2768, allocations: 126.9 kB / 478.9 MB, free: 8.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008709/0.2777, allocations: 486.5 kB / 479.3 MB, free: 7.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007168/0.2784, allocations: 430.3 kB / 479.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.2785, allocations: 44 kB / 479.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.2803, allocations: 0.7688 MB / 480.6 MB, free: 6.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.2805, allocations: 135.5 kB / 480.7 MB, free: 6.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.281, allocations: 279 kB / 481 MB, free: 6.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.2832, allocations: 1.063 MB / 482 MB, free: 5.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.2832, allocations: 0 / 482 MB, free: 5.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2832, allocations: 0 / 482 MB, free: 5.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.2832, allocations: 0 / 482 MB, free: 5.129 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001381/0.2846, allocations: 0.7114 MB / 482.7 MB, free: 4.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2846, allocations: 12.03 kB / 482.8 MB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006278/0.2853, allocations: 80.62 kB / 482.8 MB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.2858, allocations: 277.8 kB / 483.1 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.2859, allocations: 33.31 kB / 483.1 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.2859, allocations: 40.38 kB / 483.2 MB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.2867, allocations: 475.6 kB / 483.6 MB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.2867, allocations: 7.953 kB / 483.6 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.2867, allocations: 20 kB / 483.7 MB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.2867, allocations: 8 kB / 483.7 MB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.2873, allocations: 303.7 kB / 484 MB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.3009, allocations: 5.491 MB / 489.5 MB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.3014, allocations: 266.4 kB / 489.7 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.3016, allocations: 132.8 kB / 489.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.3117, allocations: 2.676 MB / 492.5 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.3118, allocations: 39.16 kB / 492.6 MB, free: 10.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.023e-06/0.3118, allocations: 0 / 492.6 MB, free: 10.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01166/0.3234, allocations: 2.311 MB / 494.9 MB, free: 7.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.3235, allocations: 59.41 kB / 494.9 MB, free: 7.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.3239, allocations: 300.5 kB / 495.2 MB, free: 7.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.3239, allocations: 37.7 kB / 495.3 MB, free: 7.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.3241, allocations: 236.4 kB / 495.5 MB, free: 7.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.3242, allocations: 170.6 kB / 495.7 MB, free: 7.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.3244, allocations: 94.3 kB / 495.8 MB, free: 6.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3246, allocations: 354.7 kB / 496.1 MB, free: 6.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.3248, allocations: 153.2 kB / 496.3 MB, free: 6.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.3252, allocations: 280.6 kB / 496.5 MB, free: 6.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/0.3259, allocations: 468.3 kB / 497 MB, free: 5.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3259, allocations: 0 / 497 MB, free: 5.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00112/0.327, allocations: 0.5921 MB / 497.6 MB, free: 4.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.327, allocations: 7.938 kB / 497.6 MB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3271, allocations: 4 kB / 497.6 MB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007798/0.3348, allocations: 1.853 MB / 499.4 MB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.3353, allocations: 111.8 kB / 499.5 MB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.3375, allocations: 2.454 MB / 0.4902 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.3378, allocations: 12 kB / 0.4902 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.3378, allocations: 20 kB / 0.4903 GB, free: 368 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002428/0.3381, allocations: 181.6 kB / 0.4904 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.599e-05/0.3382, allocations: 39.77 kB / 0.4905 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.3395, allocations: 0.8766 MB / 0.4913 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.3395, allocations: 15.91 kB / 0.4914 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3395, allocations: 0 / 0.4914 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/0.3406, allocations: 0.9747 MB / 0.4923 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.3427, allocations: 1.483 MB / 0.4938 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3427, allocations: 0 / 0.4938 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.3431, allocations: 79.89 kB / 0.4938 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/0.3464, allocations: 0.6141 MB / 0.4944 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.3465, allocations: 19.92 kB / 0.4944 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.3476, allocations: 1.292 MB / 0.4957 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3476, allocations: 0 / 0.4957 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.3495, allocations: 1.258 MB / 0.4969 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.3496, allocations: 39.66 kB / 0.497 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.3497, allocations: 12 kB / 0.497 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.3499, allocations: 19.88 kB / 0.497 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.35, allocations: 35.98 kB / 0.497 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.35, allocations: 15.98 kB / 0.4971 GB, free: 9.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.3503, allocations: 215.1 kB / 0.4973 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3503, allocations: 0 / 0.4973 GB, free: 8.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007276/0.351, allocations: 227.7 kB / 0.4975 GB, free: 8.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000599/0.3516, allocations: 286.8 kB / 0.4977 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.3529, allocations: 0.6796 MB / 0.4984 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3529, allocations: 4 kB / 0.4984 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.3538, allocations: 424.3 kB / 0.4988 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.3549, allocations: 236.8 kB / 0.499 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.357, allocations: 1.293 MB / 0.5003 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.3574, allocations: 0.8284 MB / 0.5011 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3576, allocations: 47.42 kB / 0.5012 GB, free: 4.871 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3576, allocations: 0 / 0.5012 GB, free: 4.871 MB / 414.1 MB Notification: Performance of Templates: time 0.01736/0.3749, allocations: 13.03 MB / 0.5139 GB, free: 7.852 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 9.197286354145035]