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_ph.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_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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 175.2 kB / 17.41 MB, free: 4.293 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.344/1.344, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0007466/0.0007466, allocations: 92.81 kB / 295 MB, free: 9.508 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.3252/0.3252, allocations: 44.32 MB / 390.5 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003354, allocations: 8 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3591, allocations: 61.91 MB / 0.5127 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01184/0.371, allocations: 12.81 MB / 0.5253 GB, free: 27.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.3833, allocations: 18.13 MB / 0.543 GB, free: 11.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/0.3835, allocations: 3.094 kB / 0.543 GB, free: 11.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.3839, allocations: 65.95 kB / 0.543 GB, free: 11.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009191/0.3931, allocations: 2.624 MB / 0.5456 GB, free: 9.664 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.3935, allocations: 147.4 kB / 0.5457 GB, free: 9.582 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005856/0.3994, allocations: 4.153 MB / 0.5498 GB, free: 8.469 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.033e-05/0.3995, allocations: 19.12 kB / 0.5498 GB, free: 8.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.3997, allocations: 147.3 kB / 0.5499 GB, free: 8.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01088/0.4106, allocations: 7.564 MB / 0.5573 GB, free: 6.523 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.4107, allocations: 8.344 kB / 0.5573 GB, free: 6.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006487/0.4172, allocations: 2.038 MB / 0.5593 GB, free: 5.953 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.4173, allocations: 40.44 kB / 0.5594 GB, free: 5.934 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.4176, allocations: 154.8 kB / 0.5595 GB, free: 5.844 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.4225, allocations: 1.521 MB / 0.561 GB, free: 5.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4226, allocations: 5.312 kB / 0.561 GB, free: 5.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4226, allocations: 4 kB / 0.561 GB, free: 5.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.4226, allocations: 0 / 0.561 GB, free: 5.336 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.00191/0.4245, allocations: 0.8629 MB / 0.5619 GB, free: 4.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4246, allocations: 17.5 kB / 0.5619 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.4252, allocations: 78.95 kB / 0.5619 GB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.4255, allocations: 240.5 kB / 0.5622 GB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.4255, allocations: 19.88 kB / 0.5622 GB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.4255, allocations: 29.75 kB / 0.5622 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009481/0.4265, allocations: 487.6 kB / 0.5627 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4265, allocations: 2.344 kB / 0.5627 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.4266, allocations: 12.09 kB / 0.5627 GB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4266, allocations: 6.344 kB / 0.5627 GB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.4278, allocations: 0.6801 MB / 0.5634 GB, free: 4.059 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.007247/0.4351, allocations: 4.29 MB / 0.5676 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.4356, allocations: 172.7 kB / 0.5677 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.4358, allocations: 62.53 kB / 0.5678 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02689/0.4627, allocations: 16.37 MB / 0.5838 GB, free: 252 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006882/0.4634, allocations: 323.8 kB / 0.5841 GB, free: 15.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.4634, allocations: 0 / 0.5841 GB, free: 15.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001271/0.4647, allocations: 429.5 kB / 0.5845 GB, free: 15.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.4649, allocations: 479.8 kB / 0.5849 GB, free: 14.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.4651, allocations: 187.7 kB / 0.5851 GB, free: 14.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.4651, allocations: 29.7 kB / 0.5852 GB, free: 14.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4652, allocations: 179.6 kB / 0.5853 GB, free: 14.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.4653, allocations: 106.5 kB / 0.5854 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.4653, allocations: 11.94 kB / 0.5854 GB, free: 14.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4654, allocations: 330.8 kB / 0.5858 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.4656, allocations: 64.83 kB / 0.5858 GB, free: 13.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.4658, allocations: 306.8 kB / 0.5861 GB, free: 13.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.4663, allocations: 428.9 kB / 0.5865 GB, free: 12.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4663, allocations: 4 kB / 0.5865 GB, free: 12.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005789/0.4669, allocations: 397.5 kB / 0.5869 GB, free: 12.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4669, allocations: 11.91 kB / 0.5869 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4669, allocations: 11.94 kB / 0.5869 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.4669, allocations: 12 kB / 0.5869 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.4672, allocations: 103.8 kB / 0.587 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.4673, allocations: 19.92 kB / 0.5871 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.4675, allocations: 51.53 kB / 0.5871 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.4676, allocations: 28 kB / 0.5871 GB, free: 12.36 MB / 410.7 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.0001425/0.4677, allocations: 162.2 kB / 0.5873 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.4678, allocations: 27.81 kB / 0.5873 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009891/0.4688, allocations: 0.7863 MB / 0.5881 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.4688, allocations: 8 kB / 0.5881 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4688, allocations: 4 kB / 0.5881 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4689, allocations: 7.922 kB / 0.5881 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.4699, allocations: 1.208 MB / 0.5893 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.47, allocations: 4 kB / 0.5893 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4701, allocations: 35.92 kB / 0.5893 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4701, allocations: 7.938 kB / 0.5893 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.4701, allocations: 4 kB / 0.5893 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4701, allocations: 4 kB / 0.5893 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.4701, allocations: 4 kB / 0.5893 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.4705, allocations: 375.5 kB / 0.5897 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.4706, allocations: 220 kB / 0.5899 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.4707, allocations: 7.938 kB / 0.5899 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4709, allocations: 15.98 kB / 0.5899 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.471, allocations: 15.98 kB / 0.5899 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.471, allocations: 12 kB / 0.59 GB, free: 9.211 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000286/0.4713, allocations: 290.9 kB / 0.5902 GB, free: 8.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4713, allocations: 0 / 0.5902 GB, free: 8.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001553/0.4728, allocations: 423.6 kB / 0.5906 GB, free: 8.512 MB / 410.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 (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.001315/0.4742, allocations: 0.6396 MB / 0.5913 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003616/0.4745, allocations: 236.2 kB / 0.5915 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4745, allocations: 4 kB / 0.5915 GB, free: 7.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4747, allocations: 84.8 kB / 0.5916 GB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/0.4755, allocations: 114.1 kB / 0.5917 GB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.576/2.052, allocations: 0.577 GB / 1.169 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/2.052, allocations: 0.8145 MB / 1.169 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006885/2.053, allocations: 161.6 kB / 1.17 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/2.053, allocations: 39.42 kB / 1.17 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/2.053, allocations: 4 kB / 1.17 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.02617/2.079, allocations: 14.03 MB / 1.183 GB, free: 82.61 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches