Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 174.1 kB / 17.4 MB, free: 4.391 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.7 MB / 243.9 MB, free: 8.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007999/0.0008003, allocations: 92.59 kB / 295 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3248/0.3248, allocations: 44.32 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 12 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3783, allocations: 61.89 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01046/0.3888, allocations: 12.83 MB / 0.5253 GB, free: 27.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.3999, allocations: 18.12 MB / 0.543 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.4002, allocations: 2.594 kB / 0.543 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.4006, allocations: 67.28 kB / 0.543 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009544/0.4101, allocations: 2.621 MB / 0.5456 GB, free: 9.652 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.4106, allocations: 146.6 kB / 0.5457 GB, free: 9.574 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0065/0.4171, allocations: 4.157 MB / 0.5498 GB, free: 8.457 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.4173, allocations: 20.58 kB / 0.5498 GB, free: 8.449 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.4176, allocations: 139.4 kB / 0.5499 GB, free: 8.402 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01195/0.4296, allocations: 7.571 MB / 0.5573 GB, free: 6.512 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.775e-05/0.4297, allocations: 6.75 kB / 0.5573 GB, free: 6.512 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00707/0.4368, allocations: 2.277 MB / 0.5596 GB, free: 5.875 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.4369, allocations: 39.95 kB / 0.5596 GB, free: 5.855 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.4373, allocations: 156.1 kB / 0.5598 GB, free: 5.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006422/0.4437, allocations: 1.71 MB / 0.5614 GB, free: 5.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4438, allocations: 0.75 kB / 0.5614 GB, free: 5.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4438, allocations: 0 / 0.5614 GB, free: 5.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.4438, allocations: 1.312 kB / 0.5614 GB, free: 5.191 MB / 378.7 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.00321/0.447, allocations: 0.8969 MB / 0.5623 GB, free: 4.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.4471, allocations: 8.281 kB / 0.5623 GB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006419/0.4477, allocations: 83.08 kB / 0.5624 GB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.4481, allocations: 245.4 kB / 0.5626 GB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.4482, allocations: 19.72 kB / 0.5626 GB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.4482, allocations: 25.5 kB / 0.5627 GB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.4493, allocations: 487.3 kB / 0.5631 GB, free: 4.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4493, allocations: 1 kB / 0.5631 GB, free: 4.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.4494, allocations: 12.45 kB / 0.5631 GB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.4494, allocations: 7.031 kB / 0.5631 GB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.4507, allocations: 0.6791 MB / 0.5638 GB, free: 3.902 MB / 378.7 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.007371/0.4581, allocations: 3.131 MB / 0.5669 GB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.4588, allocations: 208.6 kB / 0.5671 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.4589, allocations: 73.25 kB / 0.5671 GB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07969/0.5386, allocations: 33.48 MB / 0.5998 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007748/0.5394, allocations: 353.7 kB / 0.6002 GB, free: 14.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.785e-06/0.5395, allocations: 0 / 0.6002 GB, free: 14.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002718/0.5422, allocations: 0.8601 MB / 0.601 GB, free: 14.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/0.5424, allocations: 487.3 kB / 0.6015 GB, free: 13.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.5426, allocations: 146.5 kB / 0.6016 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.5426, allocations: 33.7 kB / 0.6017 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5427, allocations: 159.9 kB / 0.6018 GB, free: 13.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.5428, allocations: 130.2 kB / 0.6019 GB, free: 13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.5429, allocations: 8 kB / 0.6019 GB, free: 12.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.543, allocations: 330.8 kB / 0.6023 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.5431, allocations: 69.08 kB / 0.6023 GB, free: 12.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.5434, allocations: 307.7 kB / 0.6026 GB, free: 12.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.5438, allocations: 432.1 kB / 0.603 GB, free: 11.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5439, allocations: 0 / 0.603 GB, free: 11.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006936/0.5445, allocations: 409.3 kB / 0.6034 GB, free: 11.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.5446, allocations: 11.91 kB / 0.6034 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.5446, allocations: 11.98 kB / 0.6034 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.5446, allocations: 15.98 kB / 0.6035 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.5463, allocations: 255.9 kB / 0.6037 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006319/0.547, allocations: 1.187 MB / 0.6049 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.5473, allocations: 27.78 kB / 0.6049 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.5474, allocations: 35.98 kB / 0.6049 GB, free: 9.641 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.5475, allocations: 154.4 kB / 0.6051 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.5476, allocations: 31.8 kB / 0.6051 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.549, allocations: 0.9415 MB / 0.606 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.549, allocations: 7.984 kB / 0.606 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5491, allocations: 8.219 kB / 0.606 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.5491, allocations: 0 / 0.606 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.5507, allocations: 1.422 MB / 0.6074 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.5507, allocations: 8 kB / 0.6074 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.5518, allocations: 147.9 kB / 0.6076 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.5518, allocations: 4 kB / 0.6076 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.5518, allocations: 4 kB / 0.6076 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003218/0.5521, allocations: 0.5938 MB / 0.6082 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.5522, allocations: 7.938 kB / 0.6082 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.5528, allocations: 0.5112 MB / 0.6087 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.553, allocations: 227.9 kB / 0.6089 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.5531, allocations: 11.94 kB / 0.6089 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.5534, allocations: 19.98 kB / 0.6089 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.5534, allocations: 15.98 kB / 0.6089 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.5534, allocations: 15.98 kB / 0.6089 GB, free: 5.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000323/0.5538, allocations: 271.1 kB / 0.6092 GB, free: 4.977 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5538, allocations: 0 / 0.6092 GB, free: 4.977 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002172/0.5559, allocations: 459.6 kB / 0.6096 GB, free: 4.527 MB / 426.7 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002796/0.5588, allocations: 0.6973 MB / 0.6103 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.5606, allocations: 393.8 kB / 0.6107 GB, free: 3.434 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.026e-06/0.5606, allocations: 4 kB / 0.6107 GB, free: 3.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008095/0.5614, allocations: 225.4 kB / 0.6109 GB, free: 3.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5626, allocations: 113.9 kB / 0.611 GB, free: 3.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.441/2.003, allocations: 0.5351 GB / 1.146 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/2.003, allocations: 0.8313 MB / 1.147 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004817/2.004, allocations: 165.3 kB / 1.147 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/2.004, allocations: 39.42 kB / 1.147 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/2.004, allocations: 0 / 1.147 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.0193/2.023, allocations: 15.44 MB / 1.162 GB, free: 103.8 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches