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_dT.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_dT,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_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_dT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000929/0.0009291, allocations: 173.2 kB / 17.41 MB, free: 4.387 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.386/1.386, allocations: 225.7 MB / 243.9 MB, free: 8.465 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.0008468/0.0008468, allocations: 93.38 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.3578/0.3578, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003639, allocations: 15.98 kB / 463.2 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3632, allocations: 61.89 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.009371/0.3726, allocations: 12.82 MB / 0.5253 GB, free: 27.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.3835, allocations: 18.13 MB / 0.543 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.3838, allocations: 0 / 0.543 GB, free: 11.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.3843, allocations: 74.33 kB / 0.543 GB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008928/0.3932, allocations: 2.617 MB / 0.5456 GB, free: 9.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.3936, allocations: 150.3 kB / 0.5457 GB, free: 9.598 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005553/0.3991, allocations: 4.156 MB / 0.5498 GB, free: 8.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.42e-05/0.3992, allocations: 13.03 kB / 0.5498 GB, free: 8.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.3994, allocations: 146.8 kB / 0.5499 GB, free: 8.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.4105, allocations: 7.566 MB / 0.5573 GB, free: 6.539 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.4107, allocations: 10.66 kB / 0.5573 GB, free: 6.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006993/0.4177, allocations: 2.009 MB / 0.5593 GB, free: 5.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.4178, allocations: 51.16 kB / 0.5594 GB, free: 5.945 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.4181, allocations: 149.4 kB / 0.5595 GB, free: 5.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004212/0.4223, allocations: 1.529 MB / 0.561 GB, free: 5.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4223, allocations: 1.281 kB / 0.561 GB, free: 5.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4223, allocations: 0 / 0.561 GB, free: 5.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.4223, allocations: 0 / 0.561 GB, free: 5.355 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.001991/0.4243, allocations: 0.8567 MB / 0.5618 GB, free: 4.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4244, allocations: 9.969 kB / 0.5618 GB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005135/0.4249, allocations: 78.09 kB / 0.5619 GB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.4252, allocations: 247.7 kB / 0.5621 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4252, allocations: 20.28 kB / 0.5622 GB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.4252, allocations: 28.94 kB / 0.5622 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009053/0.4261, allocations: 485.7 kB / 0.5627 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4262, allocations: 3.938 kB / 0.5627 GB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.4262, allocations: 12.12 kB / 0.5627 GB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.4262, allocations: 7.25 kB / 0.5627 GB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4273, allocations: 0.6826 MB / 0.5633 GB, free: 4.082 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.006231/0.4336, allocations: 3.097 MB / 0.5664 GB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.4342, allocations: 207.1 kB / 0.5666 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.4344, allocations: 76.77 kB / 0.5666 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07454/0.5089, allocations: 30.61 MB / 0.5965 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007771/0.5097, allocations: 341.8 kB / 0.5969 GB, free: 2.816 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.827e-06/0.5098, allocations: 0 / 0.5969 GB, free: 2.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.003213/0.513, allocations: 0.9599 MB / 0.5978 GB, free: 1.844 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/0.5132, allocations: 482.8 kB / 0.5983 GB, free: 1.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.5134, allocations: 154.3 kB / 0.5984 GB, free: 1.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.5135, allocations: 33.7 kB / 0.5984 GB, free: 1.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.5136, allocations: 171.9 kB / 0.5986 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.5137, allocations: 122.2 kB / 0.5987 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.5137, allocations: 12 kB / 0.5987 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5139, allocations: 334.8 kB / 0.599 GB, free: 432 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.514, allocations: 69.08 kB / 0.5991 GB, free: 364 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.5143, allocations: 319.7 kB / 0.5994 GB, free: 15.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.5149, allocations: 444 kB / 0.5998 GB, free: 15.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5149, allocations: 4 kB / 0.5998 GB, free: 15.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008059/0.5157, allocations: 446.6 kB / 0.6003 GB, free: 14.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.5157, allocations: 11.91 kB / 0.6003 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.5158, allocations: 8 kB / 0.6003 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.5176, allocations: 306 kB / 0.6006 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.5179, allocations: 103.9 kB / 0.6007 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007583/0.5187, allocations: 1.227 MB / 0.6019 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.519, allocations: 19.94 kB / 0.6019 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.5191, allocations: 35.98 kB / 0.6019 GB, free: 13.17 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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.5193, allocations: 158.1 kB / 0.6021 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.5194, allocations: 39.64 kB / 0.6021 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.5209, allocations: 1.045 MB / 0.6031 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.5209, allocations: 4 kB / 0.6031 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.521, allocations: 7.938 kB / 0.6031 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.521, allocations: 3.984 kB / 0.6032 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.5231, allocations: 1.546 MB / 0.6047 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.5232, allocations: 3.938 kB / 0.6047 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.5233, allocations: 47.91 kB / 0.6047 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.5245, allocations: 249.4 kB / 0.605 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.5246, allocations: 11.92 kB / 0.605 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007031/0.5253, allocations: 1.27 MB / 0.6062 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5253, allocations: 4 kB / 0.6062 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.526, allocations: 0.5986 MB / 0.6068 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.5263, allocations: 220 kB / 0.607 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.5263, allocations: 11.94 kB / 0.607 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.5266, allocations: 19.98 kB / 0.607 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.5266, allocations: 23.91 kB / 0.6071 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.5267, allocations: 19.94 kB / 0.6071 GB, free: 7.578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003357/0.527, allocations: 267.1 kB / 0.6073 GB, free: 7.312 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.527, allocations: 4 kB / 0.6073 GB, free: 7.309 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001988/0.529, allocations: 439.6 kB / 0.6077 GB, free: 6.879 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002585/0.5316, allocations: 0.6747 MB / 0.6084 GB, free: 6.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006642/0.5323, allocations: 352.1 kB / 0.6087 GB, free: 5.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.5323, allocations: 4.688 kB / 0.6087 GB, free: 5.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.5326, allocations: 229.5 kB / 0.609 GB, free: 5.609 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.5336, allocations: 123.5 kB / 0.6091 GB, free: 5.492 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.386/1.92, allocations: 0.4901 GB / 1.099 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/1.92, allocations: 0.825 MB / 1.1 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004688/1.92, allocations: 169 kB / 1.1 GB, free: 159 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/1.921, allocations: 39.42 kB / 1.1 GB, free: 159 MB / 0.5105 GB Notification: Performance of SimCode: time 9.11e-07/1.921, allocations: 0 / 1.1 GB, free: 159 MB / 0.5105 GB Notification: Performance of Templates: time 0.02003/1.941, allocations: 15.21 MB / 1.115 GB, free: 151.3 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches