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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001857/0.001857, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2466/0.2466, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003331/0.003331, allocations: 79.23 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1644, allocations: 62.45 MB / 480.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01464/0.1791, allocations: 11.28 MB / 491.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.1931, allocations: 11.78 MB / 0.4914 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1933, allocations: 0 / 0.4914 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.1937, allocations: 71.5 kB / 0.4915 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.2039, allocations: 3.124 MB / 0.4945 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.2044, allocations: 150.8 kB / 0.4946 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006023/0.2104, allocations: 3.901 MB / 0.4985 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.306e-05/0.2105, allocations: 12.41 kB / 0.4985 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.2107, allocations: 143.5 kB / 0.4986 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2937/0.5044, allocations: 7.12 MB / 0.5056 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.5046, allocations: 8.438 kB / 0.5056 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008083/0.5127, allocations: 2.099 MB / 0.5076 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.5129, allocations: 47.89 kB / 0.5077 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.5132, allocations: 129.2 kB / 0.5078 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005303/0.5185, allocations: 1.54 MB / 0.5093 GB, free: 23.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.5185, allocations: 1.031 kB / 0.5093 GB, free: 23.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5185, allocations: 3.375 kB / 0.5093 GB, free: 23.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.5185, allocations: 0.7031 kB / 0.5093 GB, free: 23.52 MB / 382.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.002795/0.5213, allocations: 0.9197 MB / 0.5102 GB, free: 22.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5214, allocations: 9.531 kB / 0.5102 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006332/0.522, allocations: 77.36 kB / 0.5103 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.5224, allocations: 244.9 kB / 0.5105 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.5224, allocations: 21.81 kB / 0.5105 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.5224, allocations: 24.16 kB / 0.5106 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.5236, allocations: 486.5 kB / 0.511 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.5236, allocations: 3.75 kB / 0.511 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.5237, allocations: 13.72 kB / 0.511 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.5237, allocations: 6.812 kB / 0.511 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.5251, allocations: 0.6826 MB / 0.5117 GB, free: 22.62 MB / 382.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.007686/0.5328, allocations: 4.31 MB / 0.5159 GB, free: 19.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.5334, allocations: 162.8 kB / 0.5161 GB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.5335, allocations: 60.12 kB / 0.5161 GB, free: 19.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02762/0.5611, allocations: 16.41 MB / 0.5322 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006475/0.5618, allocations: 326 kB / 0.5325 GB, free: 7.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/0.5618, allocations: 0 / 0.5325 GB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001329/0.5632, allocations: 438.1 kB / 0.5329 GB, free: 7.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.5633, allocations: 478.8 kB / 0.5333 GB, free: 7.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.5635, allocations: 195.1 kB / 0.5335 GB, free: 7.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.5635, allocations: 32.14 kB / 0.5336 GB, free: 7.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.5636, allocations: 186.2 kB / 0.5337 GB, free: 6.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.5636, allocations: 107.8 kB / 0.5338 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.942e-05/0.5637, allocations: 86.94 kB / 0.5339 GB, free: 6.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.5638, allocations: 337 kB / 0.5342 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.5639, allocations: 58.5 kB / 0.5343 GB, free: 6.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.5641, allocations: 312.7 kB / 0.5346 GB, free: 6.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.5645, allocations: 428.3 kB / 0.535 GB, free: 5.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.5645, allocations: 3.188 kB / 0.535 GB, free: 5.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006157/0.5652, allocations: 393.5 kB / 0.5354 GB, free: 5.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5652, allocations: 9.25 kB / 0.5354 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5652, allocations: 13 kB / 0.5354 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.5652, allocations: 12.53 kB / 0.5354 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.5655, allocations: 109.6 kB / 0.5355 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.5656, allocations: 19.55 kB / 0.5355 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.5659, allocations: 46.72 kB / 0.5356 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.5659, allocations: 32.62 kB / 0.5356 GB, free: 5.695 MB / 382.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.0001191/0.566, allocations: 158 kB / 0.5358 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.5661, allocations: 23.03 kB / 0.5358 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.5671, allocations: 0.7885 MB / 0.5366 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.5672, allocations: 7.75 kB / 0.5366 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5672, allocations: 1.375 kB / 0.5366 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5672, allocations: 2.75 kB / 0.5366 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5683, allocations: 1.214 MB / 0.5377 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.5683, allocations: 10.44 kB / 0.5378 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.5684, allocations: 30.89 kB / 0.5378 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5684, allocations: 8.984 kB / 0.5378 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.5685, allocations: 11.66 kB / 0.5378 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.5685, allocations: 3.844 kB / 0.5378 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5685, allocations: 6.062 kB / 0.5378 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.5689, allocations: 368.7 kB / 0.5382 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.5689, allocations: 97.08 kB / 0.5383 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.569, allocations: 61.58 kB / 0.5383 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.5692, allocations: 9 kB / 0.5383 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.5692, allocations: 13.2 kB / 0.5383 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.5693, allocations: 15.89 kB / 0.5384 GB, free: 3.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.5695, allocations: 292.1 kB / 0.5386 GB, free: 3.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.535e-06/0.5696, allocations: 0 / 0.5386 GB, free: 3.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001915/0.5715, allocations: 431 kB / 0.539 GB, free: 3.535 MB / 382.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.001287/0.5728, allocations: 0.6248 MB / 0.5397 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.5732, allocations: 246.8 kB / 0.5399 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5732, allocations: 0 / 0.5399 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.5733, allocations: 83.8 kB / 0.54 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.574, allocations: 116.7 kB / 0.5401 GB, free: 3.109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.627/2.201, allocations: 0.579 GB / 1.119 GB, free: 192 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/2.201, allocations: 0.8127 MB / 1.12 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006035/2.202, allocations: 172.1 kB / 1.12 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/2.202, allocations: 32.59 kB / 1.12 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/2.202, allocations: 0 / 1.12 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.02151/2.224, allocations: 14.27 MB / 1.134 GB, free: 182.7 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (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) 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) Reference file matches