Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001923/0.001923, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.002272/0.002272, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.435/1.435, allocations: 207.7 MB / 236.1 MB, free: 9.777 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: 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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [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.001864/0.001864, allocations: 64.38 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2889, allocations: 49.16 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03923/0.3281, allocations: 33.92 MB / 431.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006911/0.335, allocations: 4.158 MB / 435.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.3355, allocations: 7.938 kB / 435.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009713/0.3364, allocations: 286.2 kB / 436 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.3375, allocations: 489.3 kB / 436.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005767/0.3433, allocations: 1.637 MB / 438.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.3452, allocations: 1.288 MB / 439.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.3455, allocations: 119 kB / 439.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007319/0.3462, allocations: 490.5 kB / 440 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006115/0.3468, allocations: 406.3 kB / 440.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.891e-05/0.3469, allocations: 48 kB / 440.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.3487, allocations: 0.7337 MB / 441.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3489, allocations: 147.4 kB / 441.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.3492, allocations: 235.2 kB / 441.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.3509, allocations: 1.058 MB / 442.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3509, allocations: 0 / 442.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3509, allocations: 0 / 442.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3509, allocations: 0 / 442.6 MB, free: 6.078 MB / 350.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.001269/0.3521, allocations: 0.7114 MB / 443.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.3522, allocations: 15.98 kB / 443.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005855/0.3528, allocations: 88.5 kB / 443.4 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.3534, allocations: 277.8 kB / 443.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.3534, allocations: 29.38 kB / 443.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.3535, allocations: 44.33 kB / 443.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/0.3544, allocations: 0.6731 MB / 444.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.3544, allocations: 7.984 kB / 444.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.3545, allocations: 16 kB / 444.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.3545, allocations: 8 kB / 444.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.355, allocations: 299.7 kB / 444.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.3677, allocations: 4.554 MB / 449.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.3682, allocations: 254.5 kB / 449.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.3684, allocations: 149.2 kB / 449.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.3785, allocations: 2.691 MB / 452.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.3785, allocations: 38.56 kB / 452.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.475e-06/0.3785, allocations: 0 / 452.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01159/0.3901, allocations: 2.3 MB / 454.7 MB, free: 9.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.3902, allocations: 59.34 kB / 454.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.3905, allocations: 281.7 kB / 455.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.3906, allocations: 33.7 kB / 455.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3907, allocations: 232.4 kB / 455.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.3909, allocations: 174.5 kB / 455.5 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.391, allocations: 98.3 kB / 455.6 MB, free: 8.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3912, allocations: 342.8 kB / 455.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.3915, allocations: 153.2 kB / 456.1 MB, free: 8.254 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.3919, allocations: 276.6 kB / 456.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/0.3926, allocations: 472.3 kB / 456.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3926, allocations: 4 kB / 456.8 MB, free: 7.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001116/0.3937, allocations: 0.5882 MB / 457.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3937, allocations: 7.938 kB / 457.4 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3937, allocations: 7.938 kB / 457.4 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007834/0.4015, allocations: 1.844 MB / 459.2 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.402, allocations: 111.8 kB / 459.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.4045, allocations: 2.443 MB / 461.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.4048, allocations: 12 kB / 461.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.4048, allocations: 20 kB / 461.8 MB, free: 2.207 MB / 366.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.0003121/0.4052, allocations: 181.6 kB / 462 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4053, allocations: 39.75 kB / 462 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.4067, allocations: 0.8725 MB / 462.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.4067, allocations: 8 kB / 462.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.4067, allocations: 4.062 kB / 462.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.4078, allocations: 0.9708 MB / 463.9 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.41, allocations: 1.363 MB / 465.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.41, allocations: 0 / 465.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.4103, allocations: 71.91 kB / 465.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00334/0.4137, allocations: 0.6257 MB / 466 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.4137, allocations: 11.98 kB / 466 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.4149, allocations: 1.296 MB / 467.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4149, allocations: 0 / 467.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.4168, allocations: 1.254 MB / 468.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.4169, allocations: 47.59 kB / 468.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.417, allocations: 12 kB / 468.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.4172, allocations: 8 kB / 468.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.4173, allocations: 27.98 kB / 468.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.4173, allocations: 19.98 kB / 468.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.4176, allocations: 193.1 kB / 468.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4176, allocations: 0 / 468.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008516/0.4184, allocations: 231.7 kB / 469.1 MB, free: 10.75 MB / 382.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.000759/0.4192, allocations: 286.9 kB / 469.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.4206, allocations: 0.6838 MB / 470 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4206, allocations: 0 / 470 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009839/0.4216, allocations: 420.1 kB / 470.4 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.4228, allocations: 196.8 kB / 470.6 MB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.4253, allocations: 1.283 MB / 471.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.4256, allocations: 233.1 kB / 472.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.4257, allocations: 47.42 kB / 472.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4257, allocations: 0 / 472.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of Templates: time 0.02028/0.446, allocations: 12.93 MB / 485.1 MB, free: 10.59 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.741886515170336]