Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 63.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5402/0.5425, allocations: 60.81 MB / 0.5189 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1932/0.7357, allocations: 150.1 MB / 0.6655 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007198/0.743, allocations: 5.147 MB / 0.6706 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.7433, allocations: 4 kB / 0.6706 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.7439, allocations: 55.66 kB / 0.6706 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005221/0.7492, allocations: 1.201 MB / 0.6718 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.7496, allocations: 139.5 kB / 0.6719 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007058/0.7503, allocations: 398 kB / 0.6723 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.7504, allocations: 11.52 kB / 0.6723 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.7508, allocations: 171.4 kB / 0.6725 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.7511, allocations: 167.5 kB / 0.6726 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.7512, allocations: 8 kB / 0.6727 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.7543, allocations: 1.022 MB / 0.6737 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.7544, allocations: 47.7 kB / 0.6737 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.7546, allocations: 107.5 kB / 0.6738 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.7561, allocations: 0.842 MB / 0.6746 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7561, allocations: 4 kB / 0.6746 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7561, allocations: 0 / 0.6746 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7562, allocations: 0 / 0.6746 GB, free: 12.17 MB / 0.5294 GB 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.001335/0.7575, allocations: 0.6866 MB / 0.6753 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.7575, allocations: 8.031 kB / 0.6753 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007763/0.7653, allocations: 0.5858 MB / 0.6759 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.7658, allocations: 267.3 kB / 0.6761 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.7659, allocations: 127.4 kB / 0.6763 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.818e-05/0.766, allocations: 20 kB / 0.6763 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.7673, allocations: 0.5634 MB / 0.6768 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.7673, allocations: 3.938 kB / 0.6768 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.7674, allocations: 12 kB / 0.6768 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.7674, allocations: 8 kB / 0.6768 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.7688, allocations: 0.626 MB / 0.6775 GB, free: 9.121 MB / 0.5294 GB 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.002385/0.7712, allocations: 1.713 MB / 0.6791 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.7716, allocations: 158.4 kB / 0.6793 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.7718, allocations: 72.88 kB / 0.6794 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007281/0.7725, allocations: 0.7123 MB / 0.68 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.7725, allocations: 34.56 kB / 0.6801 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/0.7726, allocations: 0 / 0.6801 GB, free: 6.164 MB / 0.5294 GB 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.001116/0.7737, allocations: 320 kB / 0.6804 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.7737, allocations: 55.41 kB / 0.6804 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.7739, allocations: 198.9 kB / 0.6806 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.774, allocations: 29.7 kB / 0.6807 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.7742, allocations: 187.3 kB / 0.6808 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.7742, allocations: 59.11 kB / 0.6809 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.7743, allocations: 97.95 kB / 0.681 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.7745, allocations: 326.8 kB / 0.6813 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.7747, allocations: 68.7 kB / 0.6814 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.7751, allocations: 264 kB / 0.6816 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.7756, allocations: 369.2 kB / 0.682 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.7756, allocations: 4 kB / 0.682 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006052/0.7762, allocations: 369.7 kB / 0.6823 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.7763, allocations: 8 kB / 0.6823 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.7763, allocations: 11.94 kB / 0.6823 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.7763, allocations: 8 kB / 0.6823 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.7767, allocations: 131.8 kB / 0.6825 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000503/0.7773, allocations: 0.6055 MB / 0.6831 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.7775, allocations: 43.53 kB / 0.6831 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.7776, allocations: 48.12 kB / 0.6832 GB, free: 2.75 MB / 0.5294 GB 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.0002066/0.7778, allocations: 149.6 kB / 0.6833 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.7779, allocations: 15.81 kB / 0.6833 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/0.7788, allocations: 429 kB / 0.6837 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7788, allocations: 7.984 kB / 0.6837 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7788, allocations: 0 / 0.6837 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7788, allocations: 4 kB / 0.6837 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.7798, allocations: 0.6226 MB / 0.6843 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.7798, allocations: 4 kB / 0.6843 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.78, allocations: 60.19 kB / 0.6844 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.78, allocations: 0 / 0.6844 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.7801, allocations: 15.92 kB / 0.6844 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004205/0.7805, allocations: 0.5977 MB / 0.685 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.7805, allocations: 0 / 0.685 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.7809, allocations: 297.2 kB / 0.6853 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.7811, allocations: 108.8 kB / 0.6854 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.7811, allocations: 12 kB / 0.6854 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.7814, allocations: 11.98 kB / 0.6854 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.7814, allocations: 15.98 kB / 0.6854 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.7815, allocations: 23.94 kB / 0.6854 GB, free: 204 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001571/0.7817, allocations: 140.2 kB / 0.6856 GB, free: 64 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.805e-06/0.7817, allocations: 0 / 0.6856 GB, free: 64 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008156/0.7825, allocations: 159.8 kB / 0.6857 GB, free: 15.9 MB / 0.545 GB 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.0008033/0.7833, allocations: 236.6 kB / 0.686 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006839/0.784, allocations: 236.5 kB / 0.6862 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.784, allocations: 4 kB / 0.6862 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.7842, allocations: 75.89 kB / 0.6863 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.7848, allocations: 64.61 kB / 0.6863 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.7866, allocations: 0.6854 MB / 0.687 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.787, allocations: 0.7285 MB / 0.6877 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006342/0.7876, allocations: 377.1 kB / 0.6881 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.7878, allocations: 71.31 kB / 0.6881 GB, free: 13.39 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.7878, allocations: 0 / 0.6881 GB, free: 13.39 MB / 0.545 GB Notification: Performance of Templates: time 0.01263/0.8004, allocations: 5.196 MB / 0.6932 GB, free: 8.223 MB / 0.545 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches