Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001536/0.001536, allocations: 108.5 kB / 21.23 MB, free: 0.6602 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.001743/0.001743, allocations: 187.4 kB / 24.51 MB, free: 4.031 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.552/1.552, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 44.91 MB / 353.5 MB, free: 11.89 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir")
translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 497.7 MB, free: 0.9922 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3574, allocations: 64.29 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1956/0.5531, allocations: 148.2 MB / 0.6936 GB, free: 10.61 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.009563/0.5626, allocations: 5.637 MB / 0.6991 GB, free: 4.961 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008559/0.5635, allocations: 27.75 kB / 0.6991 GB, free: 4.934 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.001489/0.565, allocations: 330 kB / 0.6994 GB, free: 4.609 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.002984/0.5679, allocations: 0.8862 MB / 0.7003 GB, free: 3.719 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003872/0.5718, allocations: 1.062 MB / 0.7013 GB, free: 2.668 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.003872/0.5757, allocations: 1.825 MB / 0.7031 GB, free: 0.8359 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.577, allocations: 405.6 kB / 0.7035 GB, free: 448 kB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.5793, allocations: 0.7707 MB / 0.7043 GB, free: 15.66 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.5812, allocations: 0.7514 MB / 0.705 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002712/0.5814, allocations: 64 kB / 0.7051 GB, free: 14.85 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.5831, allocations: 0.5498 MB / 0.7056 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005491/0.5837, allocations: 275.2 kB / 0.7059 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0009198/0.5846, allocations: 402.2 kB / 0.7062 GB, free: 13.63 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.002443/0.5871, allocations: 1.148 MB / 0.7074 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5871, allocations: 0 / 0.7074 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.683e-06/0.5871, allocations: 0 / 0.7074 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 3.781e-05/0.5871, allocations: 0 / 0.7074 GB, free: 12.48 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 130
 * Number of variables: 130
Notification: Performance of Generate backend data structure: time 0.003059/0.5902, allocations: 0.9989 MB / 0.7083 GB, free: 11.45 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5902, allocations: 8.031 kB / 0.7083 GB, free: 11.45 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.5907, allocations: 96.45 kB / 0.7084 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.5918, allocations: 486.7 kB / 0.7089 GB, free: 10.85 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.5919, allocations: 105 kB / 0.709 GB, free: 10.73 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.592, allocations: 52.36 kB / 0.7091 GB, free: 10.68 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.5935, allocations: 0.8133 MB / 0.7098 GB, free: 9.809 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.5935, allocations: 7.938 kB / 0.7099 GB, free: 9.801 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.5936, allocations: 24 kB / 0.7099 GB, free: 9.777 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-05/0.5936, allocations: 36.98 kB / 0.7099 GB, free: 9.742 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.5951, allocations: 0.6556 MB / 0.7106 GB, free: 9.086 MB / 0.545 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/0.6005, allocations: 3.916 MB / 0.7144 GB, free: 4.898 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008678/0.6014, allocations: 416.2 kB / 0.7148 GB, free: 4.48 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.6017, allocations: 189.4 kB / 0.715 GB, free: 4.293 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.602, allocations: 68.2 kB / 0.715 GB, free: 4.227 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.602, allocations: 38.89 kB / 0.7151 GB, free: 4.18 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=40): time 4.168e-06/0.602, allocations: 3.984 kB / 0.7151 GB, free: 4.176 MB / 0.545 GB
Notification: Performance of matching and sorting (n=45): time 0.003473/0.6055, allocations: 1.409 MB / 0.7164 GB, free: 2.73 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.6056, allocations: 136.5 kB / 0.7166 GB, free: 2.566 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/0.6064, allocations: 0.5772 MB / 0.7171 GB, free: 1.977 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.6064, allocations: 29.7 kB / 0.7172 GB, free: 1.941 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.6068, allocations: 359.9 kB / 0.7175 GB, free: 1.586 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.607, allocations: 170.5 kB / 0.7177 GB, free: 1.418 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.6073, allocations: 138.6 kB / 0.7178 GB, free: 1.277 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0002217/0.6075, allocations: 374.8 kB / 0.7182 GB, free: 0.9023 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.6079, allocations: 221.8 kB / 0.7184 GB, free: 0.6836 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.6086, allocations: 0.5162 MB / 0.7189 GB, free: 28 kB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.6098, allocations: 0.7601 MB / 0.7196 GB, free: 15.14 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.6098, allocations: 4 kB / 0.7196 GB, free: 15.14 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=88) (initialization): time 0.001777/0.6115, allocations: 0.9061 MB / 0.7205 GB, free: 14.22 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.6116, allocations: 11.94 kB / 0.7205 GB, free: 14.21 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6116, allocations: 8 kB / 0.7205 GB, free: 14.2 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.6132, allocations: 286.2 kB / 0.7208 GB, free: 13.92 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.6136, allocations: 127.8 kB / 0.7209 GB, free: 13.79 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.6147, allocations: 0.879 MB / 0.7218 GB, free: 12.89 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.6152, allocations: 31.98 kB / 0.7218 GB, free: 12.86 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.6153, allocations: 36 kB / 0.7218 GB, free: 12.82 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 42
 * Number of states: 0 ()
 * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (71):
 * Single equations (assignments): 70
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,16)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003821/0.6156, allocations: 253.5 kB / 0.7221 GB, free: 12.57 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.6158, allocations: 67.58 kB / 0.7221 GB, free: 12.5 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.6172, allocations: 0.6957 MB / 0.7228 GB, free: 11.8 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.6172, allocations: 4 kB / 0.7228 GB, free: 11.8 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6172, allocations: 0 / 0.7228 GB, free: 11.8 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.6172, allocations: 7.922 kB / 0.7228 GB, free: 11.79 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.6194, allocations: 1.312 MB / 0.7241 GB, free: 10.4 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6195, allocations: 0 / 0.7241 GB, free: 10.4 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.6206, allocations: 199.8 kB / 0.7243 GB, free: 10.21 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.76e-05/0.6207, allocations: 36.95 kB / 0.7243 GB, free: 10.17 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.6207, allocations: 16 kB / 0.7244 GB, free: 10.15 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.623, allocations: 2.67 MB / 0.727 GB, free: 7.258 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.623, allocations: 0 / 0.727 GB, free: 7.258 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.6246, allocations: 0.9453 MB / 0.7279 GB, free: 6.273 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.6249, allocations: 127.5 kB / 0.728 GB, free: 6.148 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/0.625, allocations: 12 kB / 0.728 GB, free: 6.137 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.6254, allocations: 23.98 kB / 0.728 GB, free: 6.113 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.6255, allocations: 51.59 kB / 0.7281 GB, free: 6.062 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.6255, allocations: 23.98 kB / 0.7281 GB, free: 6.039 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.00056/0.6261, allocations: 427 kB / 0.7285 GB, free: 5.621 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 9e-08/0.6261, allocations: 0 / 0.7285 GB, free: 5.621 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.0007818/0.6269, allocations: 223.8 kB / 0.7287 GB, free: 5.402 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * 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 (47):
 * Single equations (assignments): 43
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
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.000621/0.6275, allocations: 269.6 kB / 0.729 GB, free: 5.141 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.001261/0.6287, allocations: 0.5833 MB / 0.7296 GB, free: 4.559 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6287, allocations: 4 kB / 0.7296 GB, free: 4.555 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.001099/0.6298, allocations: 448 kB / 0.73 GB, free: 4.105 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.6315, allocations: 372.8 kB / 0.7304 GB, free: 3.75 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.6338, allocations: 1.393 MB / 0.7317 GB, free: 2.309 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006346/0.6344, allocations: 0.9423 MB / 0.7326 GB, free: 1.34 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0006111/0.635, allocations: 205.5 kB / 0.7328 GB, free: 1.148 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.6352, allocations: 71.36 kB / 0.7329 GB, free: 1.082 MB / 0.5606 GB
Notification: Performance of SimCode: time 4.6e-07/0.6352, allocations: 0 / 0.7329 GB, free: 1.082 MB / 0.5606 GB
Notification: Performance of Templates: time 0.2698/0.9049, allocations: 16.23 MB / 0.7487 GB, free: 172.9 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.310639035888016]