Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,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_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,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_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008143/0.0008144, allocations: 174.1 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.359/1.359, allocations: 225.7 MB / 243.9 MB, free: 8.426 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.0007664/0.0007666, allocations: 93.48 kB / 295.1 MB, free: 9.469 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.3584/0.3584, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3584, allocations: 61.91 MB / 0.5127 GB, free: 38.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1707/0.5291, allocations: 138.4 MB / 0.6479 GB, free: 3.059 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008754/0.538, allocations: 7.984 MB / 0.6557 GB, free: 10.32 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.5383, allocations: 0 / 0.6557 GB, free: 10.32 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.5387, allocations: 47.72 kB / 0.6557 GB, free: 10.27 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003765/0.5424, allocations: 1.056 MB / 0.6567 GB, free: 9.215 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.5428, allocations: 127.8 kB / 0.6569 GB, free: 9.09 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.5435, allocations: 466.1 kB / 0.6573 GB, free: 8.633 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.602e-05/0.5435, allocations: 13.69 kB / 0.6573 GB, free: 8.621 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.5438, allocations: 175.3 kB / 0.6575 GB, free: 8.449 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.5441, allocations: 175.5 kB / 0.6576 GB, free: 8.277 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.5441, allocations: 8 kB / 0.6577 GB, free: 8.27 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.5461, allocations: 0.9556 MB / 0.6586 GB, free: 7.312 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.5462, allocations: 47.75 kB / 0.6586 GB, free: 7.266 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.5463, allocations: 133.2 kB / 0.6588 GB, free: 7.129 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.5477, allocations: 0.8576 MB / 0.6596 GB, free: 6.27 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5477, allocations: 0 / 0.6596 GB, free: 6.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5477, allocations: 0 / 0.6596 GB, free: 6.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.5477, allocations: 0 / 0.6596 GB, free: 6.27 MB / 474.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.00115/0.5489, allocations: 0.6165 MB / 0.6602 GB, free: 5.605 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5489, allocations: 8.031 kB / 0.6602 GB, free: 5.598 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006466/0.5554, allocations: 0.5896 MB / 0.6608 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.5558, allocations: 267.3 kB / 0.661 GB, free: 4.707 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.556, allocations: 123.4 kB / 0.6612 GB, free: 4.559 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-05/0.5561, allocations: 24 kB / 0.6612 GB, free: 4.535 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.5572, allocations: 0.5556 MB / 0.6617 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5572, allocations: 0 / 0.6617 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/0.5573, allocations: 12 kB / 0.6617 GB, free: 3.934 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.5573, allocations: 4 kB / 0.6617 GB, free: 3.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.5588, allocations: 0.6338 MB / 0.6624 GB, free: 3.293 MB / 474.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.002086/0.5609, allocations: 1.718 MB / 0.664 GB, free: 1.434 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.5612, allocations: 154.6 kB / 0.6642 GB, free: 1.273 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.5614, allocations: 76.72 kB / 0.6643 GB, free: 1.195 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000658/0.562, allocations: 0.6889 MB / 0.6649 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.5621, allocations: 42.56 kB / 0.665 GB, free: 364 kB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 2.885e-06/0.5621, allocations: 7.984 kB / 0.665 GB, free: 356 kB / 474.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=17): time 0.0009685/0.5631, allocations: 313.6 kB / 0.6653 GB, free: 36 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.5631, allocations: 63.34 kB / 0.6653 GB, free: 15.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.5633, allocations: 196 kB / 0.6655 GB, free: 15.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.5633, allocations: 33.64 kB / 0.6656 GB, free: 15.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5634, allocations: 191.2 kB / 0.6657 GB, free: 15.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.5635, allocations: 59.11 kB / 0.6658 GB, free: 15.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.5635, allocations: 8 kB / 0.6658 GB, free: 15.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5637, allocations: 326.8 kB / 0.6661 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.5638, allocations: 64.7 kB / 0.6662 GB, free: 15.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.5641, allocations: 260.5 kB / 0.6664 GB, free: 14.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.5645, allocations: 362.2 kB / 0.6668 GB, free: 14.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5645, allocations: 0 / 0.6668 GB, free: 14.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005714/0.5651, allocations: 370.5 kB / 0.6671 GB, free: 13.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5651, allocations: 8 kB / 0.6671 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5651, allocations: 11.94 kB / 0.6671 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5652, allocations: 16.02 kB / 0.6672 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.5656, allocations: 131.8 kB / 0.6673 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003425/0.5659, allocations: 0.6055 MB / 0.6679 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.5662, allocations: 43.53 kB / 0.6679 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.5662, allocations: 40 kB / 0.668 GB, free: 13.04 MB / 490.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.0001428/0.5664, allocations: 153.7 kB / 0.6681 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.5664, allocations: 15.81 kB / 0.6681 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008857/0.5673, allocations: 426 kB / 0.6685 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5673, allocations: 0 / 0.6685 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5673, allocations: 0 / 0.6685 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5673, allocations: 3.984 kB / 0.6685 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.5682, allocations: 0.6343 MB / 0.6691 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5682, allocations: 0 / 0.6691 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.5684, allocations: 56.12 kB / 0.6692 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5684, allocations: 8 kB / 0.6692 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.5684, allocations: 19.92 kB / 0.6692 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002817/0.5687, allocations: 0.5899 MB / 0.6698 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5687, allocations: 3.938 kB / 0.6698 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.5691, allocations: 301.5 kB / 0.6701 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/0.5692, allocations: 116.7 kB / 0.6702 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.5692, allocations: 8 kB / 0.6702 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.5695, allocations: 19.98 kB / 0.6702 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.5695, allocations: 15.92 kB / 0.6702 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.5696, allocations: 27.92 kB / 0.6703 GB, free: 10.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.5697, allocations: 136.2 kB / 0.6704 GB, free: 10.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5697, allocations: 0 / 0.6704 GB, free: 10.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005616/0.5702, allocations: 148 kB / 0.6705 GB, free: 10.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.000548/0.5708, allocations: 257.4 kB / 0.6708 GB, free: 9.938 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004543/0.5713, allocations: 221.3 kB / 0.671 GB, free: 9.723 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5713, allocations: 0 / 0.671 GB, free: 9.723 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.5715, allocations: 79.83 kB / 0.6711 GB, free: 9.645 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.572, allocations: 76.16 kB / 0.6711 GB, free: 9.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.5733, allocations: 0.7931 MB / 0.6719 GB, free: 8.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.5736, allocations: 0.7287 MB / 0.6726 GB, free: 7.973 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008783/0.5745, allocations: 385.2 kB / 0.673 GB, free: 7.598 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.5747, allocations: 67.38 kB / 0.6731 GB, free: 7.531 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5747, allocations: 0 / 0.6731 GB, free: 7.531 MB / 490.7 MB Notification: Performance of Templates: time 0.008562/0.5833, allocations: 5.025 MB / 0.678 GB, free: 2.535 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches