Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.3 MB / 258 MB, free: 8.199 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2361/0.2361, allocations: 46.95 MB / 361.4 MB, free: 4.461 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph")
translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 75.88 kB / 0.4972 GB, free: 7.465 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3672, allocations: 66.05 MB / 0.5617 GB, free: 4.504 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01378/0.381, allocations: 11.38 MB / 0.5728 GB, free: 9.066 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01395/0.3949, allocations: 11.86 MB / 0.5844 GB, free: 13.16 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.3951, allocations: 0 / 0.5844 GB, free: 13.16 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.3954, allocations: 71.5 kB / 0.5845 GB, free: 13.09 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01165/0.4071, allocations: 3.135 MB / 0.5875 GB, free: 9.949 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.4075, allocations: 163.2 kB / 0.5877 GB, free: 9.793 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005922/0.4134, allocations: 3.951 MB / 0.5915 GB, free: 5.836 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.4135, allocations: 16.52 kB / 0.5916 GB, free: 5.824 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.4137, allocations: 151.5 kB / 0.5917 GB, free: 5.676 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.424, allocations: 7.25 MB / 0.5988 GB, free: 14.42 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.4241, allocations: 11.98 kB / 0.5988 GB, free: 14.41 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00557/0.4297, allocations: 2.181 MB / 0.6009 GB, free: 12.22 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.856e-05/0.4297, allocations: 39.83 kB / 0.601 GB, free: 12.18 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.4299, allocations: 127.4 kB / 0.6011 GB, free: 12.06 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003225/0.4331, allocations: 1.543 MB / 0.6026 GB, free: 10.51 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4331, allocations: 0 / 0.6026 GB, free: 10.51 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.114e-06/0.4331, allocations: 0 / 0.6026 GB, free: 10.51 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 8.787e-06/0.4332, allocations: 0 / 0.6026 GB, free: 10.51 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 67
 * Number of variables: 67
Notification: Performance of Generate backend data structure: time 0.002136/0.4353, allocations: 0.8816 MB / 0.6035 GB, free: 9.598 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4353, allocations: 8.031 kB / 0.6035 GB, free: 9.59 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005845/0.4359, allocations: 76.73 kB / 0.6035 GB, free: 9.516 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.4363, allocations: 186.2 kB / 0.6037 GB, free: 9.309 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.4363, allocations: 29.03 kB / 0.6037 GB, free: 9.277 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.4364, allocations: 24.38 kB / 0.6038 GB, free: 9.254 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.4374, allocations: 494.7 kB / 0.6042 GB, free: 8.738 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.4374, allocations: 3.938 kB / 0.6042 GB, free: 8.734 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.4375, allocations: 16 kB / 0.6043 GB, free: 8.719 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4375, allocations: 8 kB / 0.6043 GB, free: 8.711 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.4386, allocations: 0.6966 MB / 0.6049 GB, free: 8.012 MB / 446.1 MB
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.006838/0.4455, allocations: 3.049 MB / 0.6079 GB, free: 4.848 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.446, allocations: 163.1 kB / 0.6081 GB, free: 4.68 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4461, allocations: 57.47 kB / 0.6081 GB, free: 4.621 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.02389/0.47, allocations: 7.679 MB / 0.6156 GB, free: 12.91 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007924/0.4708, allocations: 321.9 kB / 0.6159 GB, free: 12.53 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=28): time 2.104e-06/0.4708, allocations: 0 / 0.6159 GB, free: 12.53 MB / 462.1 MB
Notification: Performance of matching and sorting (n=28): time 0.001468/0.4723, allocations: 442.7 kB / 0.6164 GB, free: 12.09 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002705/0.4725, allocations: 483 kB / 0.6168 GB, free: 11.51 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.4727, allocations: 182.1 kB / 0.617 GB, free: 11.32 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4728, allocations: 33.7 kB / 0.617 GB, free: 11.29 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.4729, allocations: 188.1 kB / 0.6172 GB, free: 11.1 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.473, allocations: 103.1 kB / 0.6173 GB, free: 11 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.4731, allocations: 94.08 kB / 0.6174 GB, free: 10.9 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001514/0.4733, allocations: 334.8 kB / 0.6177 GB, free: 10.56 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4734, allocations: 60.83 kB / 0.6178 GB, free: 10.5 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.4737, allocations: 310.8 kB / 0.6181 GB, free: 10.08 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.4743, allocations: 436.9 kB / 0.6185 GB, free: 9.531 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4743, allocations: 4 kB / 0.6185 GB, free: 9.527 MB / 462.1 MB
Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006967/0.475, allocations: 400.9 kB / 0.6189 GB, free: 9.129 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.475, allocations: 10.03 kB / 0.6189 GB, free: 9.121 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.475, allocations: 8 kB / 0.6189 GB, free: 9.113 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.475, allocations: 12.75 kB / 0.6189 GB, free: 9.102 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.4753, allocations: 107.8 kB / 0.619 GB, free: 8.996 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.4754, allocations: 23.92 kB / 0.619 GB, free: 8.973 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.4756, allocations: 55.61 kB / 0.6191 GB, free: 8.918 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.4757, allocations: 28 kB / 0.6191 GB, free: 8.891 MB / 462.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 39
 * Number of states: 0 ()
 * Number of discrete variables: 1 ($whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (54):
 * Single equations (assignments): 54
 * Array equations: 0
 * 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.0001826/0.4758, allocations: 157.6 kB / 0.6193 GB, free: 8.727 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.4759, allocations: 27.86 kB / 0.6193 GB, free: 8.699 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.477, allocations: 0.8132 MB / 0.6201 GB, free: 7.848 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.4771, allocations: 8 kB / 0.6201 GB, free: 7.84 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.4771, allocations: 0 / 0.6201 GB, free: 7.84 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.4771, allocations: 11.92 kB / 0.6201 GB, free: 7.828 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.4782, allocations: 0.9015 MB / 0.621 GB, free: 6.867 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4782, allocations: 192 / 0.621 GB, free: 6.867 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.4783, allocations: 39.92 kB / 0.621 GB, free: 6.828 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.4783, allocations: 7.938 kB / 0.621 GB, free: 6.82 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.4783, allocations: 4 kB / 0.621 GB, free: 6.816 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.4783, allocations: 7.984 kB / 0.621 GB, free: 6.809 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.4783, allocations: 4 kB / 0.621 GB, free: 6.805 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.4788, allocations: 379.7 kB / 0.6214 GB, free: 6.387 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.4788, allocations: 27.8 kB / 0.6214 GB, free: 6.359 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.86e-05/0.4789, allocations: 55.5 kB / 0.6215 GB, free: 6.305 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.4791, allocations: 11.98 kB / 0.6215 GB, free: 6.293 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.4792, allocations: 23.91 kB / 0.6215 GB, free: 6.27 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.4792, allocations: 8 kB / 0.6215 GB, free: 6.262 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.0003401/0.4795, allocations: 290.9 kB / 0.6218 GB, free: 5.977 MB / 462.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.4795, allocations: 0 / 0.6218 GB, free: 5.977 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.001448/0.481, allocations: 430.6 kB / 0.6222 GB, free: 5.555 MB / 462.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 11
 * Number of states: 0 ()
 * Number of discrete variables: 1 ($whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (19):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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.00125/0.4822, allocations: 0.6301 MB / 0.6228 GB, free: 4.914 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004449/0.4827, allocations: 229.4 kB / 0.623 GB, free: 4.691 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4827, allocations: 0 / 0.623 GB, free: 4.691 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.4828, allocations: 73.52 kB / 0.6231 GB, free: 4.621 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.4835, allocations: 114.1 kB / 0.6232 GB, free: 4.512 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.339/1.822, allocations: 0.579 GB / 1.202 GB, free: 6.281 MB / 0.6231 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/1.822, allocations: 0.8082 MB / 1.203 GB, free: 5.449 MB / 0.6231 GB
Notification: Performance of simCode: alias equations: time 0.0004022/1.823, allocations: 166.5 kB / 1.203 GB, free: 5.316 MB / 0.6231 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/1.823, allocations: 39.42 kB / 1.203 GB, free: 5.277 MB / 0.6231 GB
Notification: Performance of SimCode: time 1.453e-06/1.823, allocations: 0 / 1.203 GB, free: 5.277 MB / 0.6231 GB
Notification: Performance of Templates: time 0.3253/2.148, allocations: 14.56 MB / 1.217 GB, free: 230.2 MB / 0.6231 GB
"
[Timeout remaining time 658]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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: 8.563570617698133]