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.001785/0.001785, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002082/0.002082, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.421/1.421, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001534/0.001534, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2162, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04819/0.2644, allocations: 34 MB / 466.3 MB, free: 4.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007621/0.272, allocations: 4.171 MB / 470.5 MB, free: 436 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.2723, allocations: 15.88 kB / 470.5 MB, free: 420 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009718/0.2733, allocations: 274.2 kB / 470.8 MB, free: 144 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.2744, allocations: 493.3 kB / 471.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.28, allocations: 1.636 MB / 472.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.2813, allocations: 1.292 MB / 474.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.2816, allocations: 122.9 kB / 474.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005766/0.2822, allocations: 494.5 kB / 474.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/0.2827, allocations: 434.3 kB / 475.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.2828, allocations: 44 kB / 475.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.284, allocations: 0.7649 MB / 476 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.2842, allocations: 131.6 kB / 476.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.2844, allocations: 243.1 kB / 476.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.2857, allocations: 1.059 MB / 477.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2857, allocations: 0 / 477.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2857, allocations: 0 / 477.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.2857, allocations: 4 kB / 477.5 MB, free: 9.445 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.00112/0.2868, allocations: 0.7114 MB / 478.2 MB, free: 8.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2869, allocations: 12.03 kB / 478.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/0.2875, allocations: 76.62 kB / 478.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.288, allocations: 289.6 kB / 478.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.288, allocations: 29.38 kB / 478.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.2881, allocations: 44.38 kB / 478.6 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008446/0.2889, allocations: 0.6575 MB / 479.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.2889, allocations: 11.92 kB / 479.3 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.289, allocations: 16 kB / 479.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.289, allocations: 8 kB / 479.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.2895, allocations: 303.7 kB / 479.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/0.3034, allocations: 4.573 MB / 484.2 MB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.3039, allocations: 246.6 kB / 484.4 MB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.3041, allocations: 136.8 kB / 484.6 MB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.3155, allocations: 2.688 MB / 487.2 MB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.3155, allocations: 42.5 kB / 487.3 MB, free: 15.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.3155, allocations: 4 kB / 487.3 MB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01244/0.328, allocations: 2.308 MB / 489.6 MB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.328, allocations: 59.34 kB / 489.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.3283, allocations: 281.7 kB / 489.9 MB, free: 12.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.3284, allocations: 37.7 kB / 490 MB, free: 12.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.3285, allocations: 228.4 kB / 490.2 MB, free: 12.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.3287, allocations: 174.5 kB / 490.4 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.3288, allocations: 98.28 kB / 490.5 MB, free: 12.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.329, allocations: 342.8 kB / 490.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.3293, allocations: 153.2 kB / 490.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.3296, allocations: 276.7 kB / 491.2 MB, free: 11.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006802/0.3303, allocations: 476.2 kB / 491.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3303, allocations: 0 / 491.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001119/0.3314, allocations: 0.5918 MB / 492.3 MB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3314, allocations: 4 kB / 492.3 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3315, allocations: 7.938 kB / 492.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009327/0.3408, allocations: 1.856 MB / 494.1 MB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.3412, allocations: 103.9 kB / 494.2 MB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.3434, allocations: 2.431 MB / 496.7 MB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.3436, allocations: 16 kB / 496.7 MB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.3437, allocations: 20 kB / 496.7 MB, free: 5.605 MB / 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.0002021/0.3439, allocations: 169.7 kB / 496.9 MB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.674e-05/0.344, allocations: 51.81 kB / 496.9 MB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3453, allocations: 0.8685 MB / 497.8 MB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.3453, allocations: 11.98 kB / 497.8 MB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.3453, allocations: 0 / 497.8 MB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.3464, allocations: 0.9784 MB / 498.8 MB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.3484, allocations: 1.355 MB / 0.4884 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3484, allocations: 4 kB / 0.4884 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.3487, allocations: 75.91 kB / 0.4885 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003728/0.3525, allocations: 0.622 MB / 0.4891 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.3525, allocations: 15.94 kB / 0.4891 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.3536, allocations: 1.3 MB / 0.4904 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3536, allocations: 0 / 0.4904 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.3553, allocations: 1.25 MB / 0.4916 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.3553, allocations: 39.73 kB / 0.4916 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.3554, allocations: 15.94 kB / 0.4917 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.3556, allocations: 8 kB / 0.4917 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.3557, allocations: 31.88 kB / 0.4917 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.3557, allocations: 19.98 kB / 0.4917 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.3559, allocations: 201.1 kB / 0.4919 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3559, allocations: 0 / 0.4919 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007134/0.3566, allocations: 231.8 kB / 0.4921 GB, free: 14.14 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.0005923/0.3572, allocations: 270.6 kB / 0.4924 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.3585, allocations: 0.6757 MB / 0.493 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3585, allocations: 0 / 0.493 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009814/0.3595, allocations: 436.1 kB / 0.4935 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.3605, allocations: 204.9 kB / 0.4937 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.3624, allocations: 1.247 MB / 0.4949 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3627, allocations: 233.3 kB / 0.4951 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.3629, allocations: 67.36 kB / 0.4952 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.363, allocations: 39.42 kB / 0.4952 GB, free: 10.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.363, allocations: 0 / 0.4952 GB, free: 10.94 MB / 414.1 MB Notification: Performance of Templates: time 0.02066/0.3837, allocations: 13.01 MB / 0.5079 GB, free: 14.11 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 -s gbode -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: 6.774066448997473]