Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 103.2 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 192.2 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2314/0.2314, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 63.89 kB / 441.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.152, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01446/0.1665, allocations: 11.25 MB / 0.4989 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01692/0.1835, allocations: 14.28 MB / 0.5129 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.1837, allocations: 4 kB / 0.5129 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.1842, allocations: 71.48 kB / 0.5129 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.1964, allocations: 3.109 MB / 0.516 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.197, allocations: 159.6 kB / 0.5161 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005775/0.2027, allocations: 3.893 MB / 0.5199 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.899e-05/0.2028, allocations: 16.41 kB / 0.5199 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.203, allocations: 151.5 kB / 0.5201 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008851/0.2119, allocations: 7.126 MB / 0.527 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.2119, allocations: 8 kB / 0.527 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00595/0.2179, allocations: 2.123 MB / 0.5291 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.218, allocations: 47.77 kB / 0.5292 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.2182, allocations: 123.4 kB / 0.5293 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3549/0.5731, allocations: 1.531 MB / 0.5308 GB, free: 20.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5731, allocations: 2.719 kB / 0.5308 GB, free: 20.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.5731, allocations: 3.562 kB / 0.5308 GB, free: 20.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.5732, allocations: 0 / 0.5308 GB, free: 20.84 MB / 414.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.002595/0.5758, allocations: 0.923 MB / 0.5317 GB, free: 20.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.5758, allocations: 21.33 kB / 0.5317 GB, free: 20.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006094/0.5764, allocations: 76.98 kB / 0.5318 GB, free: 20.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.5768, allocations: 241.4 kB / 0.532 GB, free: 20.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.5768, allocations: 22 kB / 0.532 GB, free: 20.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.5769, allocations: 25.19 kB / 0.532 GB, free: 20.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/0.5779, allocations: 486.2 kB / 0.5325 GB, free: 20.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.5779, allocations: 1.734 kB / 0.5325 GB, free: 20.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.578, allocations: 11.53 kB / 0.5325 GB, free: 20.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.578, allocations: 7.938 kB / 0.5325 GB, free: 20.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.5792, allocations: 0.686 MB / 0.5332 GB, free: 20.02 MB / 414.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.007768/0.587, allocations: 4.301 MB / 0.5374 GB, free: 17.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.5877, allocations: 171.4 kB / 0.5376 GB, free: 17.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.5878, allocations: 63.34 kB / 0.5376 GB, free: 17.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03014/0.618, allocations: 16.41 MB / 0.5536 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007947/0.6188, allocations: 327.6 kB / 0.554 GB, free: 5.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 3.196e-06/0.6188, allocations: 0 / 0.554 GB, free: 5.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001418/0.6203, allocations: 439 kB / 0.5544 GB, free: 5.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.6204, allocations: 477.8 kB / 0.5548 GB, free: 4.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.6206, allocations: 185.1 kB / 0.555 GB, free: 4.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.6206, allocations: 33.61 kB / 0.555 GB, free: 4.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.6207, allocations: 189.2 kB / 0.5552 GB, free: 4.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.6208, allocations: 100.6 kB / 0.5553 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.6209, allocations: 92.55 kB / 0.5554 GB, free: 4.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.621, allocations: 333.7 kB / 0.5557 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.6211, allocations: 66.97 kB / 0.5558 GB, free: 4.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.6214, allocations: 316.1 kB / 0.5561 GB, free: 3.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.6218, allocations: 419.4 kB / 0.5565 GB, free: 3.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6218, allocations: 7.281 kB / 0.5565 GB, free: 3.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006718/0.6224, allocations: 402.9 kB / 0.5569 GB, free: 3.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.6225, allocations: 8.469 kB / 0.5569 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.6225, allocations: 8.938 kB / 0.5569 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/0.6226, allocations: 11.53 kB / 0.5569 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.6229, allocations: 112.2 kB / 0.557 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.6229, allocations: 15.91 kB / 0.557 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.6232, allocations: 38.53 kB / 0.5571 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.6233, allocations: 38.33 kB / 0.5571 GB, free: 3.539 MB / 414.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.0001346/0.6234, allocations: 158.2 kB / 0.5573 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/0.6235, allocations: 37.83 kB / 0.5573 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.6246, allocations: 0.7758 MB / 0.5581 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.6247, allocations: 4.453 kB / 0.5581 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.6247, allocations: 6.672 kB / 0.5581 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.6247, allocations: 3.469 kB / 0.5581 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.6259, allocations: 1.221 MB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.6259, allocations: 2.219 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.626, allocations: 36.27 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.626, allocations: 3.5 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.6261, allocations: 13.22 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.6261, allocations: 6.203 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.6261, allocations: 2.656 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.6265, allocations: 383.5 kB / 0.5597 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.6266, allocations: 96.73 kB / 0.5598 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.671e-05/0.6267, allocations: 53.94 kB / 0.5598 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.6269, allocations: 11.88 kB / 0.5598 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.627, allocations: 22.84 kB / 0.5599 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.627, allocations: 12.38 kB / 0.5599 GB, free: 2.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003292/0.6273, allocations: 293.4 kB / 0.5602 GB, free: 1.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6273, allocations: 1.25 kB / 0.5602 GB, free: 1.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001632/0.629, allocations: 418.8 kB / 0.5606 GB, free: 1.891 MB / 414.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.001426/0.6304, allocations: 0.6284 MB / 0.5612 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005382/0.631, allocations: 230.6 kB / 0.5614 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.631, allocations: 1.812 kB / 0.5614 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.6311, allocations: 88.08 kB / 0.5615 GB, free: 1.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.632, allocations: 115.7 kB / 0.5616 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.477/2.109, allocations: 0.579 GB / 1.141 GB, free: 57.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/2.109, allocations: 0.8202 MB / 1.141 GB, free: 56.42 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000438/2.11, allocations: 160.7 kB / 1.142 GB, free: 56.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/2.11, allocations: 31.44 kB / 1.142 GB, free: 56.26 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/2.11, allocations: 0 / 1.142 GB, free: 56.26 MB / 0.5762 GB Notification: Performance of Templates: time 0.0177/2.127, allocations: 14.32 MB / 1.156 GB, free: 42.01 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches