Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 172.3 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007758/0.0007758, allocations: 92.31 kB / 270.8 MB, free: 8.125 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3575/0.3575, allocations: 43.67 MB / 362.7 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 8 kB / 432.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1139, allocations: 58.85 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3785/0.4925, allocations: 139.5 MB / 0.6159 GB, free: 10.5 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007094/0.4996, allocations: 7.538 MB / 0.6233 GB, free: 2.25 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.4999, allocations: 4 kB / 0.6233 GB, free: 2.246 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.5003, allocations: 43.73 kB / 0.6233 GB, free: 2.203 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.5052, allocations: 1.357 MB / 0.6246 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.5057, allocations: 139.8 kB / 0.6248 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008583/0.5066, allocations: 466.9 kB / 0.6252 GB, free: 264 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.926e-05/0.5067, allocations: 9.688 kB / 0.6252 GB, free: 256 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.5071, allocations: 171.3 kB / 0.6254 GB, free: 84 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004768/0.5076, allocations: 179.4 kB / 0.6255 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.5077, allocations: 8 kB / 0.6256 GB, free: 15.9 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.5108, allocations: 1.174 MB / 0.6267 GB, free: 14.72 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.5109, allocations: 39.83 kB / 0.6267 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.5111, allocations: 133.2 kB / 0.6269 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.5134, allocations: 0.9861 MB / 0.6278 GB, free: 13.56 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5134, allocations: 4 kB / 0.6278 GB, free: 13.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5134, allocations: 0 / 0.6278 GB, free: 13.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.5134, allocations: 0 / 0.6278 GB, free: 13.55 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00135/0.5148, allocations: 0.6551 MB / 0.6285 GB, free: 12.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5148, allocations: 15.97 kB / 0.6285 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00699/0.5218, allocations: 0.5918 MB / 0.6291 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.5224, allocations: 260.3 kB / 0.6293 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.5226, allocations: 127.2 kB / 0.6294 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.5227, allocations: 20 kB / 0.6295 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.5239, allocations: 0.5673 MB / 0.63 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.524, allocations: 0 / 0.63 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.683e-05/0.5241, allocations: 12 kB / 0.63 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.5241, allocations: 7.938 kB / 0.63 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.5255, allocations: 0.626 MB / 0.6306 GB, free: 10.55 MB / 458.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.00206/0.5276, allocations: 1.63 MB / 0.6322 GB, free: 8.801 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.5279, allocations: 154.5 kB / 0.6324 GB, free: 8.633 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.5281, allocations: 72.88 kB / 0.6324 GB, free: 8.559 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001938/0.5301, allocations: 2.097 MB / 0.6345 GB, free: 6.113 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.5301, allocations: 34.56 kB / 0.6345 GB, free: 6.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/0.5301, allocations: 0 / 0.6345 GB, free: 6.07 MB / 458.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.0009553/0.5311, allocations: 339.2 kB / 0.6349 GB, free: 5.734 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.5311, allocations: 55.41 kB / 0.6349 GB, free: 5.668 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.5313, allocations: 178.2 kB / 0.6351 GB, free: 5.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.5313, allocations: 29.7 kB / 0.6351 GB, free: 5.445 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.5314, allocations: 183.3 kB / 0.6353 GB, free: 5.262 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.5315, allocations: 78.98 kB / 0.6354 GB, free: 5.184 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.5315, allocations: 7.938 kB / 0.6354 GB, free: 5.176 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.5316, allocations: 330.8 kB / 0.6357 GB, free: 4.844 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.5317, allocations: 64.7 kB / 0.6357 GB, free: 4.781 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.532, allocations: 259.8 kB / 0.636 GB, free: 4.434 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.5325, allocations: 370.1 kB / 0.6363 GB, free: 3.977 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.5325, allocations: 8 kB / 0.6363 GB, free: 3.969 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005896/0.5331, allocations: 358.2 kB / 0.6367 GB, free: 3.613 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5331, allocations: 8 kB / 0.6367 GB, free: 3.605 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.5332, allocations: 8 kB / 0.6367 GB, free: 3.598 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.5332, allocations: 8 kB / 0.6367 GB, free: 3.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.5336, allocations: 123.8 kB / 0.6368 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003843/0.534, allocations: 0.6098 MB / 0.6374 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.5343, allocations: 48.03 kB / 0.6375 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/0.5344, allocations: 39.98 kB / 0.6375 GB, free: 2.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001784/0.5345, allocations: 145.7 kB / 0.6376 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.5346, allocations: 15.81 kB / 0.6377 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.5358, allocations: 332.6 kB / 0.638 GB, free: 2.242 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5359, allocations: 7.938 kB / 0.638 GB, free: 2.234 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5359, allocations: 0 / 0.638 GB, free: 2.234 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.5359, allocations: 0 / 0.638 GB, free: 2.234 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.5369, allocations: 0.5219 MB / 0.6385 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5369, allocations: 0 / 0.6385 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.5373, allocations: 59.91 kB / 0.6386 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.5373, allocations: 4 kB / 0.6386 GB, free: 1.578 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.5373, allocations: 4 kB / 0.6386 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003927/0.5377, allocations: 0.59 MB / 0.6391 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5378, allocations: 8.094 kB / 0.6391 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.5383, allocations: 276.9 kB / 0.6394 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.5385, allocations: 112.8 kB / 0.6395 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.5385, allocations: 8 kB / 0.6395 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.5389, allocations: 12 kB / 0.6395 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.539, allocations: 19.84 kB / 0.6396 GB, free: 496 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.539, allocations: 23.5 kB / 0.6396 GB, free: 476 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.5392, allocations: 138.9 kB / 0.6397 GB, free: 336 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5392, allocations: 0 / 0.6397 GB, free: 336 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.001168/0.5404, allocations: 207.8 kB / 0.6399 GB, free: 128 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001341/0.5418, allocations: 375.1 kB / 0.6403 GB, free: 15.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007027/0.5425, allocations: 217.1 kB / 0.6405 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5425, allocations: 0 / 0.6405 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.5428, allocations: 88.33 kB / 0.6406 GB, free: 15.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.5437, allocations: 67.92 kB / 0.6406 GB, free: 15.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/0.5488, allocations: 2.072 MB / 0.6426 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.5492, allocations: 0.7287 MB / 0.6434 GB, free: 12.53 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009346/0.5501, allocations: 102.3 kB / 0.6435 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.5504, allocations: 39.42 kB / 0.6435 GB, free: 12.39 MB / 474.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5504, allocations: 4 kB / 0.6435 GB, free: 12.39 MB / 474.7 MB Notification: Performance of Templates: time 0.01775/0.5681, allocations: 6.428 MB / 0.6498 GB, free: 6.004 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches