Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001323/0.001323, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001451/0.001451, allocations: 212 kB / 24.54 MB, free: 4.016 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.55/1.55, allocations: 230.3 MB / 258 MB, free: 8.273 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 46.88 MB / 361.3 MB, free: 4.555 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 83.86 kB / 0.4971 GB, free: 7.578 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4335, allocations: 66.03 MB / 0.5616 GB, free: 4.645 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01542/0.4489, allocations: 11.38 MB / 0.5727 GB, free: 9.211 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01429/0.4632, allocations: 11.86 MB / 0.5843 GB, free: 13.31 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.4634, allocations: 4 kB / 0.5843 GB, free: 13.3 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000384/0.4638, allocations: 79.42 kB / 0.5844 GB, free: 13.23 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01212/0.4759, allocations: 3.131 MB / 0.5874 GB, free: 10.09 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.4765, allocations: 154.5 kB / 0.5876 GB, free: 9.938 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.007633/0.4842, allocations: 3.963 MB / 0.5914 GB, free: 5.969 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.4843, allocations: 20.52 kB / 0.5915 GB, free: 5.953 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.4845, allocations: 151.5 kB / 0.5916 GB, free: 5.805 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.495, allocations: 7.246 MB / 0.5987 GB, free: 14.55 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.4951, allocations: 12 kB / 0.5987 GB, free: 14.54 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.007215/0.5023, allocations: 2.177 MB / 0.6008 GB, free: 12.36 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.5024, allocations: 39.83 kB / 0.6008 GB, free: 12.32 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.5027, allocations: 131.4 kB / 0.601 GB, free: 12.19 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007094/0.5098, allocations: 1.539 MB / 0.6025 GB, free: 10.64 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5098, allocations: 4 kB / 0.6025 GB, free: 10.64 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.765e-06/0.5098, allocations: 0 / 0.6025 GB, free: 10.64 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 1.518e-05/0.5098, allocations: 0 / 0.6025 GB, free: 10.64 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.003246/0.513, allocations: 0.8738 MB / 0.6033 GB, free: 9.734 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.5131, allocations: 8.031 kB / 0.6033 GB, free: 9.727 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007169/0.5138, allocations: 84.72 kB / 0.6034 GB, free: 9.645 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.5143, allocations: 186.2 kB / 0.6036 GB, free: 9.438 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.5143, allocations: 17.03 kB / 0.6036 GB, free: 9.418 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.5144, allocations: 32.38 kB / 0.6036 GB, free: 9.387 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.5156, allocations: 494.7 kB / 0.6041 GB, free: 8.871 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5156, allocations: 0 / 0.6041 GB, free: 8.871 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.5156, allocations: 19.94 kB / 0.6041 GB, free: 8.852 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.5157, allocations: 8 kB / 0.6041 GB, free: 8.844 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.5169, allocations: 0.6967 MB / 0.6048 GB, free: 8.145 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.007759/0.5247, allocations: 3.057 MB / 0.6078 GB, free: 4.977 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.5253, allocations: 159.1 kB / 0.608 GB, free: 4.812 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.5254, allocations: 53.48 kB / 0.608 GB, free: 4.758 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0255/0.5509, allocations: 7.679 MB / 0.6155 GB, free: 13.05 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008501/0.5517, allocations: 325.8 kB / 0.6158 GB, free: 12.66 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=28): time 3.867e-06/0.5517, allocations: 0 / 0.6158 GB, free: 12.66 MB / 462.1 MB
Notification: Performance of matching and sorting (n=28): time 0.001666/0.5534, allocations: 446.5 kB / 0.6162 GB, free: 12.22 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003276/0.5537, allocations: 482.8 kB / 0.6167 GB, free: 11.64 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.554, allocations: 182.1 kB / 0.6169 GB, free: 11.45 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.554, allocations: 33.7 kB / 0.6169 GB, free: 11.41 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.5542, allocations: 184.1 kB / 0.6171 GB, free: 11.23 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5543, allocations: 107.1 kB / 0.6172 GB, free: 11.12 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.5544, allocations: 94.08 kB / 0.6173 GB, free: 11.03 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001581/0.5546, allocations: 334.8 kB / 0.6176 GB, free: 10.69 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.5547, allocations: 60.84 kB / 0.6177 GB, free: 10.63 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.5551, allocations: 314.7 kB / 0.618 GB, free: 10.2 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.5557, allocations: 428.8 kB / 0.6184 GB, free: 9.664 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.5557, allocations: 4 kB / 0.6184 GB, free: 9.66 MB / 462.1 MB
Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007625/0.5564, allocations: 397.2 kB / 0.6188 GB, free: 9.266 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5565, allocations: 8 kB / 0.6188 GB, free: 9.258 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.5565, allocations: 8 kB / 0.6188 GB, free: 9.25 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.5565, allocations: 12 kB / 0.6188 GB, free: 9.238 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.5568, allocations: 107.8 kB / 0.6189 GB, free: 9.133 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.761e-05/0.5569, allocations: 19.92 kB / 0.6189 GB, free: 9.113 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.5572, allocations: 52.08 kB / 0.6189 GB, free: 9.062 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.5572, allocations: 32 kB / 0.619 GB, free: 9.031 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.0001934/0.5574, allocations: 158.9 kB / 0.6191 GB, free: 8.867 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5575, allocations: 27.86 kB / 0.6192 GB, free: 8.84 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.5587, allocations: 0.8178 MB / 0.62 GB, free: 7.988 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.5587, allocations: 4 kB / 0.62 GB, free: 7.984 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5588, allocations: 4.219 kB / 0.62 GB, free: 7.98 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.5588, allocations: 7.938 kB / 0.62 GB, free: 7.973 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.5602, allocations: 0.9081 MB / 0.6209 GB, free: 7.008 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.5602, allocations: 4 kB / 0.6209 GB, free: 7.004 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.5603, allocations: 35.92 kB / 0.6209 GB, free: 6.969 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/0.5603, allocations: 12.03 kB / 0.6209 GB, free: 6.957 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.5603, allocations: 4 kB / 0.6209 GB, free: 6.953 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.5603, allocations: 4 kB / 0.6209 GB, free: 6.949 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5603, allocations: 0 / 0.6209 GB, free: 6.949 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005593/0.5609, allocations: 375.7 kB / 0.6213 GB, free: 6.535 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.561, allocations: 39.86 kB / 0.6213 GB, free: 6.496 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.5611, allocations: 51.44 kB / 0.6214 GB, free: 6.445 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.5614, allocations: 19.98 kB / 0.6214 GB, free: 6.426 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.5614, allocations: 19.92 kB / 0.6214 GB, free: 6.406 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.5614, allocations: 11.98 kB / 0.6214 GB, free: 6.395 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.0003972/0.5618, allocations: 290.9 kB / 0.6217 GB, free: 6.109 MB / 462.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.5618, allocations: 0 / 0.6217 GB, free: 6.109 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.001826/0.5637, allocations: 426.6 kB / 0.6221 GB, free: 5.691 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.002134/0.5658, allocations: 0.6341 MB / 0.6227 GB, free: 5.047 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005605/0.5664, allocations: 230.1 kB / 0.6229 GB, free: 4.824 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5664, allocations: 0 / 0.6229 GB, free: 4.824 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5665, allocations: 71.86 kB / 0.623 GB, free: 4.754 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008574/0.5674, allocations: 115.1 kB / 0.6231 GB, free: 4.645 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.476/2.043, allocations: 0.579 GB / 1.202 GB, free: 6.832 MB / 0.6231 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/2.043, allocations: 0.8107 MB / 1.203 GB, free: 5.996 MB / 0.6231 GB
Notification: Performance of simCode: alias equations: time 0.0004238/2.044, allocations: 159.4 kB / 1.203 GB, free: 5.871 MB / 0.6231 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/2.044, allocations: 39.42 kB / 1.203 GB, free: 5.832 MB / 0.6231 GB
Notification: Performance of SimCode: time 8.82e-07/2.044, allocations: 4 kB / 1.203 GB, free: 5.828 MB / 0.6231 GB
Notification: Performance of Templates: time 0.3279/2.371, allocations: 14.57 MB / 1.217 GB, free: 230.7 MB / 0.6231 GB
"
[Timeout remaining time 658]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.141992897726595]