Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 199.8 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008369/0.0008369, allocations: 100.8 kB / 299.9 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3043/0.3043, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002729/0.000273, allocations: 8 kB / 470.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2907, allocations: 63.09 MB / 0.5214 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1392/0.4299, allocations: 138.6 MB / 0.6568 GB, free: 11.87 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.007275/0.4372, allocations: 7.988 MB / 0.6646 GB, free: 3.137 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.4375, allocations: 0 / 0.6646 GB, free: 3.137 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.4379, allocations: 47.73 kB / 0.6646 GB, free: 3.09 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.4412, allocations: 1.048 MB / 0.6656 GB, free: 2.039 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.4416, allocations: 135.7 kB / 0.6658 GB, free: 1.906 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.4423, allocations: 470 kB / 0.6662 GB, free: 1.445 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.4424, allocations: 17.69 kB / 0.6662 GB, free: 1.43 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.4427, allocations: 171.3 kB / 0.6664 GB, free: 1.262 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.4431, allocations: 183.4 kB / 0.6666 GB, free: 1.082 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.4431, allocations: 4 kB / 0.6666 GB, free: 1.078 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.4451, allocations: 0.9517 MB / 0.6675 GB, free: 128 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.4452, allocations: 51.73 kB / 0.6675 GB, free: 76 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.4454, allocations: 137.2 kB / 0.6677 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.4471, allocations: 0.8497 MB / 0.6685 GB, free: 15.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4471, allocations: 0 / 0.6685 GB, free: 15.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4471, allocations: 0 / 0.6685 GB, free: 15.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.4472, allocations: 0 / 0.6685 GB, free: 15.08 MB / 490.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.00119/0.4484, allocations: 0.6208 MB / 0.6691 GB, free: 14.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.4484, allocations: 8.031 kB / 0.6691 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006868/0.4553, allocations: 0.613 MB / 0.6697 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.4557, allocations: 263.4 kB / 0.67 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.4558, allocations: 123.4 kB / 0.6701 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.4559, allocations: 16 kB / 0.6701 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.4571, allocations: 0.5673 MB / 0.6707 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4571, allocations: 0 / 0.6707 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.4572, allocations: 12 kB / 0.6707 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.4572, allocations: 12 kB / 0.6707 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.4587, allocations: 0.626 MB / 0.6713 GB, free: 12.08 MB / 490.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.002073/0.4607, allocations: 1.724 MB / 0.673 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.4611, allocations: 158.5 kB / 0.6731 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4612, allocations: 76.77 kB / 0.6732 GB, free: 9.969 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/0.4619, allocations: 0.6966 MB / 0.6739 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4619, allocations: 42.56 kB / 0.6739 GB, free: 9.121 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.4619, allocations: 0 / 0.6739 GB, free: 9.121 MB / 490.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.0009354/0.4628, allocations: 314.3 kB / 0.6742 GB, free: 8.809 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.4629, allocations: 55.34 kB / 0.6743 GB, free: 8.742 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.463, allocations: 196.1 kB / 0.6745 GB, free: 8.543 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.4631, allocations: 29.7 kB / 0.6745 GB, free: 8.508 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.4632, allocations: 187.2 kB / 0.6747 GB, free: 8.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.4632, allocations: 63.09 kB / 0.6747 GB, free: 8.258 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.4633, allocations: 12 kB / 0.6747 GB, free: 8.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4634, allocations: 322.8 kB / 0.675 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4635, allocations: 68.7 kB / 0.6751 GB, free: 7.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.4638, allocations: 260 kB / 0.6754 GB, free: 7.508 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.4642, allocations: 358.2 kB / 0.6757 GB, free: 7.062 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4642, allocations: 4 kB / 0.6757 GB, free: 7.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005904/0.4648, allocations: 369.4 kB / 0.6761 GB, free: 6.691 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4648, allocations: 8.125 kB / 0.6761 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4648, allocations: 19.88 kB / 0.6761 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4649, allocations: 8 kB / 0.6761 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.4653, allocations: 131.8 kB / 0.6762 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000313/0.4656, allocations: 0.5977 MB / 0.6768 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.4658, allocations: 47.52 kB / 0.6768 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.4659, allocations: 40.09 kB / 0.6769 GB, free: 5.82 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.0001516/0.4661, allocations: 149.6 kB / 0.677 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.4661, allocations: 23.8 kB / 0.677 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008332/0.4669, allocations: 425.2 kB / 0.6775 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.467, allocations: 0 / 0.6775 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.467, allocations: 3.984 kB / 0.6775 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.467, allocations: 8 kB / 0.6775 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/0.4678, allocations: 0.6225 MB / 0.6781 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4678, allocations: 4.219 kB / 0.6781 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.468, allocations: 67.84 kB / 0.6781 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.4681, allocations: 4 kB / 0.6781 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.4681, allocations: 15.86 kB / 0.6782 GB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000275/0.4684, allocations: 0.5938 MB / 0.6787 GB, free: 3.773 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4684, allocations: 4 kB / 0.6787 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.4687, allocations: 289.4 kB / 0.679 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4688, allocations: 120.7 kB / 0.6791 GB, free: 3.312 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.4689, allocations: 12 kB / 0.6791 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.4691, allocations: 11.98 kB / 0.6792 GB, free: 3.289 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.4692, allocations: 11.98 kB / 0.6792 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.4692, allocations: 27.92 kB / 0.6792 GB, free: 3.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.4693, allocations: 136.2 kB / 0.6793 GB, free: 3.117 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4693, allocations: 0 / 0.6793 GB, free: 3.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005556/0.4699, allocations: 152 kB / 0.6795 GB, free: 2.969 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.000536/0.4704, allocations: 260.9 kB / 0.6797 GB, free: 2.715 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004725/0.4709, allocations: 225.3 kB / 0.6799 GB, free: 2.496 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4709, allocations: 0 / 0.6799 GB, free: 2.496 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.4711, allocations: 79.83 kB / 0.68 GB, free: 2.418 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.4716, allocations: 65.84 kB / 0.6801 GB, free: 2.355 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.4729, allocations: 0.8062 MB / 0.6809 GB, free: 1.504 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.4732, allocations: 0.7287 MB / 0.6816 GB, free: 0.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008059/0.474, allocations: 385 kB / 0.6819 GB, free: 384 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.4742, allocations: 63.33 kB / 0.682 GB, free: 320 kB / 490.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4742, allocations: 0 / 0.682 GB, free: 320 kB / 490.7 MB Notification: Performance of Templates: time 0.2185/0.6928, allocations: 5.056 MB / 0.6869 GB, free: 144.7 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches