Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 318.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.011e-05, allocations: 2.281 kB / 318.9 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03724/0.03726, allocations: 33.74 MB / 352.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006025/0.04328, allocations: 4.163 MB / 356.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.04358, allocations: 7.938 kB / 356.9 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.04447, allocations: 278.1 kB / 357.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009877/0.04546, allocations: 0.489 MB / 357.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004926/0.05038, allocations: 1.67 MB / 359.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.05204, allocations: 1.291 MB / 360.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.05231, allocations: 122.9 kB / 360.7 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008937/0.05321, allocations: 0.6351 MB / 361.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000614/0.05382, allocations: 378.8 kB / 361.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-05/0.0539, allocations: 44 kB / 361.7 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.05555, allocations: 0.7413 MB / 362.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.05573, allocations: 143.4 kB / 362.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.05603, allocations: 219.6 kB / 362.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.05772, allocations: 1.169 MB / 364 MB, free: 14.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.05772, allocations: 0 / 364 MB, free: 14.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.05773, allocations: 0 / 364 MB, free: 14.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.05773, allocations: 0 / 364 MB, free: 14.46 MB / 334.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.001228/0.05896, allocations: 0.7075 MB / 364.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.059, allocations: 12.03 kB / 364.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006109/0.05961, allocations: 76.62 kB / 364.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005902/0.0602, allocations: 288.9 kB / 365.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.06024, allocations: 33.38 kB / 365.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.06032, allocations: 44.31 kB / 365.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009184/0.06123, allocations: 0.6541 MB / 365.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.06126, allocations: 8.125 kB / 365.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.06131, allocations: 20.12 kB / 365.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.06132, allocations: 8 kB / 365.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.06184, allocations: 307.7 kB / 366.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.07548, allocations: 4.554 MB / 370.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.07599, allocations: 261.4 kB / 371 MB, free: 7.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.07624, allocations: 148.4 kB / 371.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.08724, allocations: 2.684 MB / 373.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.08728, allocations: 38.56 kB / 373.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.08728, allocations: 0 / 373.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01299/0.1003, allocations: 2.308 MB / 376.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1003, allocations: 55.41 kB / 376.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.1007, allocations: 285.7 kB / 376.5 MB, free: 1.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.1007, allocations: 29.7 kB / 376.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.1009, allocations: 232.4 kB / 376.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.101, allocations: 166.5 kB / 376.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.1012, allocations: 102.3 kB / 377 MB, free: 1.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1013, allocations: 346.8 kB / 377.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.1016, allocations: 157.2 kB / 377.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.102, allocations: 279.5 kB / 377.8 MB, free: 328 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.1028, allocations: 477.3 kB / 378.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1028, allocations: 0 / 378.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001191/0.104, allocations: 0.5855 MB / 378.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.104, allocations: 8 kB / 378.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.104, allocations: 480 / 378.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008631/0.1126, allocations: 1.848 MB / 380.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.1131, allocations: 115.8 kB / 380.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.1155, allocations: 2.441 MB / 383.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.1158, allocations: 19.98 kB / 383.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.1158, allocations: 20 kB / 383.3 MB, free: 10.61 MB / 350.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.0002719/0.1161, allocations: 174.3 kB / 383.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/0.1162, allocations: 35.81 kB / 383.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.1176, allocations: 0.865 MB / 384.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.1176, allocations: 20.05 kB / 384.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1176, allocations: 0 / 384.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/0.1188, allocations: 0.9749 MB / 385.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.1209, allocations: 1.351 MB / 386.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.1209, allocations: 0 / 386.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.1212, allocations: 79.89 kB / 386.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003724/0.125, allocations: 0.6297 MB / 387.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.125, allocations: 16 kB / 387.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.1262, allocations: 1.292 MB / 388.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1262, allocations: 0 / 388.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.128, allocations: 1.251 MB / 389.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/0.128, allocations: 43.73 kB / 390 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.1281, allocations: 8 kB / 390 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.1283, allocations: 8 kB / 390 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.1284, allocations: 31.94 kB / 390 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.1284, allocations: 16 kB / 390 MB, free: 3.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.1287, allocations: 197.1 kB / 390.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1287, allocations: 0 / 390.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007924/0.1295, allocations: 231.7 kB / 390.5 MB, free: 3.184 MB / 350.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.0006654/0.1301, allocations: 298.9 kB / 390.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.1314, allocations: 0.684 MB / 391.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1314, allocations: 0 / 391.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.1325, allocations: 425.1 kB / 391.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.1336, allocations: 196.7 kB / 392 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.1355, allocations: 1.131 MB / 393.2 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1357, allocations: 237.3 kB / 393.4 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002414/0.136, allocations: 63.36 kB / 393.5 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.1361, allocations: 40.48 kB / 393.5 MB, free: 60 kB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1361, allocations: 0 / 393.5 MB, free: 60 kB / 350.1 MB Notification: Performance of Templates: time 0.02338/0.1595, allocations: 11.9 MB / 405.4 MB, free: 4.301 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.031268149614334]