Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.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.001744/0.001744, allocations: 110 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.001465/0.001465, allocations: 186.4 kB / 24.51 MB, free: 4.035 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.513/1.513, 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.262/0.262, allocations: 44.9 MB / 353.5 MB, free: 11.82 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.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir")
translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.89 kB / 497.7 MB, free: 0.9609 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3706, allocations: 64.3 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1824/0.553, allocations: 136.6 MB / 0.6822 GB, free: 6.316 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.005947/0.5589, allocations: 4.738 MB / 0.6869 GB, free: 1.562 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.5591, allocations: 4 kB / 0.6869 GB, free: 1.559 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 0.000382/0.5595, allocations: 59.58 kB / 0.6869 GB, free: 1.5 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.001927/0.5614, allocations: 0.7423 MB / 0.6876 GB, free: 0.7539 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.5618, allocations: 163.4 kB / 0.6878 GB, free: 0.6016 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0005489/0.5623, allocations: 378.1 kB / 0.6882 GB, free: 236 kB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.614e-05/0.5624, allocations: 9.812 kB / 0.6882 GB, free: 224 kB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.5626, allocations: 159.5 kB / 0.6883 GB, free: 64 kB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.5629, allocations: 199.4 kB / 0.6885 GB, free: 15.87 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.5629, allocations: 8 kB / 0.6885 GB, free: 15.86 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.5643, allocations: 0.698 MB / 0.6892 GB, free: 15.16 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.5644, allocations: 43.77 kB / 0.6892 GB, free: 15.12 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.5645, allocations: 107.5 kB / 0.6893 GB, free: 15.01 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007728/0.5653, allocations: 465.2 kB / 0.6898 GB, free: 14.56 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.5653, allocations: 0 / 0.6898 GB, free: 14.56 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.292e-06/0.5653, allocations: 0 / 0.6898 GB, free: 14.56 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 6.021e-06/0.5653, allocations: 0 / 0.6898 GB, free: 14.56 MB / 0.5294 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 56
 * Number of variables: 56
Notification: Performance of Generate backend data structure: time 0.001116/0.5664, allocations: 0.5285 MB / 0.6903 GB, free: 14 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.5664, allocations: 12.86 kB / 0.6903 GB, free: 13.99 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.5666, allocations: 32.78 kB / 0.6903 GB, free: 13.96 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.5669, allocations: 170.2 kB / 0.6905 GB, free: 13.77 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.5671, allocations: 127.9 kB / 0.6906 GB, free: 13.62 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.5671, allocations: 20.38 kB / 0.6906 GB, free: 13.6 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.5677, allocations: 337.9 kB / 0.691 GB, free: 13.25 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5677, allocations: 0 / 0.691 GB, free: 13.25 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.5677, allocations: 12 kB / 0.691 GB, free: 13.23 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.5678, allocations: 8 kB / 0.691 GB, free: 13.23 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.5687, allocations: 0.7586 MB / 0.6917 GB, free: 12.46 MB / 0.5294 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.001468/0.5702, allocations: 1.202 MB / 0.6929 GB, free: 11.16 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.5706, allocations: 175.7 kB / 0.6931 GB, free: 10.98 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.5707, allocations: 85.36 kB / 0.6932 GB, free: 10.89 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001422/0.5721, allocations: 0.6959 MB / 0.6938 GB, free: 10.18 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5722, allocations: 34.5 kB / 0.6939 GB, free: 10.13 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.5722, allocations: 3.938 kB / 0.6939 GB, free: 10.13 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=14): time 0.0006443/0.5728, allocations: 217.1 kB / 0.6941 GB, free: 9.91 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.5729, allocations: 55.41 kB / 0.6941 GB, free: 9.844 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.5731, allocations: 222.9 kB / 0.6943 GB, free: 9.617 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.5731, allocations: 33.64 kB / 0.6944 GB, free: 9.578 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.5733, allocations: 215.6 kB / 0.6946 GB, free: 9.363 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.5734, allocations: 59.52 kB / 0.6946 GB, free: 9.305 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.5735, allocations: 90.03 kB / 0.6947 GB, free: 9.211 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001642/0.5736, allocations: 326.8 kB / 0.695 GB, free: 8.883 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.5737, allocations: 44.84 kB / 0.6951 GB, free: 8.836 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.5741, allocations: 332 kB / 0.6954 GB, free: 8.375 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.5746, allocations: 434 kB / 0.6958 GB, free: 7.812 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5746, allocations: 4 kB / 0.6958 GB, free: 7.809 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005856/0.5751, allocations: 377 kB / 0.6962 GB, free: 7.434 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5752, allocations: 12 kB / 0.6962 GB, free: 7.422 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5752, allocations: 8.844 kB / 0.6962 GB, free: 7.414 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.5752, allocations: 19.94 kB / 0.6962 GB, free: 7.395 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.5755, allocations: 107.8 kB / 0.6963 GB, free: 7.289 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.5756, allocations: 19.92 kB / 0.6963 GB, free: 7.27 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.5758, allocations: 20 kB / 0.6963 GB, free: 7.25 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.5758, allocations: 28 kB / 0.6964 GB, free: 7.223 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 45
 * 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 (52):
 * Single equations (assignments): 51
 * Array equations: 1
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.576, allocations: 141.7 kB / 0.6965 GB, free: 7.074 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.576, allocations: 23.86 kB / 0.6965 GB, free: 7.051 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.5763, allocations: 163.3 kB / 0.6967 GB, free: 6.883 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.5764, allocations: 4 kB / 0.6967 GB, free: 6.879 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.5764, allocations: 3.984 kB / 0.6967 GB, free: 6.875 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5764, allocations: 0 / 0.6967 GB, free: 6.875 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.5769, allocations: 419 kB / 0.6971 GB, free: 6.41 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5769, allocations: 4.062 kB / 0.6971 GB, free: 6.406 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.5771, allocations: 35.91 kB / 0.6971 GB, free: 6.371 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5771, allocations: 4 kB / 0.6971 GB, free: 6.367 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.5771, allocations: 4 kB / 0.6971 GB, free: 6.363 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5771, allocations: 4 kB / 0.6971 GB, free: 6.359 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5771, allocations: 0 / 0.6971 GB, free: 6.359 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.5774, allocations: 221.2 kB / 0.6974 GB, free: 6.121 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.5774, allocations: 23.89 kB / 0.6974 GB, free: 6.098 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.5775, allocations: 4 kB / 0.6974 GB, free: 6.094 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.5777, allocations: 11.98 kB / 0.6974 GB, free: 6.082 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.5777, allocations: 11.92 kB / 0.6974 GB, free: 6.07 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.5777, allocations: 15.98 kB / 0.6974 GB, free: 6.055 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.0001269/0.5779, allocations: 144.5 kB / 0.6976 GB, free: 5.918 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7e-08/0.5779, allocations: 0 / 0.6976 GB, free: 5.918 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0004908/0.5783, allocations: 99.92 kB / 0.6977 GB, free: 5.82 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 simulation (13):
 * Single equations (assignments): 12
 * Array equations: 1
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002834/0.5786, allocations: 163 kB / 0.6978 GB, free: 5.652 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0003445/0.579, allocations: 166.2 kB / 0.698 GB, free: 5.492 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.579, allocations: 4.062 kB / 0.698 GB, free: 5.488 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.579, allocations: 35.92 kB / 0.698 GB, free: 5.453 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.5795, allocations: 44.56 kB / 0.698 GB, free: 5.406 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.5804, allocations: 496.1 kB / 0.6985 GB, free: 4.891 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.5808, allocations: 0.7245 MB / 0.6992 GB, free: 4.141 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.0001917/0.581, allocations: 58.88 kB / 0.6993 GB, free: 4.078 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.581, allocations: 31.38 kB / 0.6993 GB, free: 4.051 MB / 0.5294 GB
Notification: Performance of SimCode: time 3e-07/0.581, allocations: 0 / 0.6993 GB, free: 4.051 MB / 0.5294 GB
Notification: Performance of Templates: time 0.007911/0.5889, allocations: 3.395 MB / 0.7026 GB, free: 0.6875 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
"Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat.
Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed!
"
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.771184954792261]