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.001032/0.001032, allocations: 89.02 kB / 18 MB, free: 5.34 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.001386/0.001386, allocations: 173.3 kB / 18.91 MB, free: 4.613 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.366/1.366, allocations: 223.3 MB / 243 MB, free: 14.45 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.1991/0.1991, allocations: 44.25 MB / 338.3 MB, free: 2.383 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 12.75 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 61.93 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4027/0.52, allocations: 146 MB / 0.6044 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006009/0.5261, allocations: 5.153 MB / 0.6094 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.5263, allocations: 4 kB / 0.6094 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.5266, allocations: 51.72 kB / 0.6095 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.5296, allocations: 1.034 MB / 0.6105 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.5299, allocations: 142.6 kB / 0.6106 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006225/0.5306, allocations: 466 kB / 0.6111 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.5306, allocations: 9.688 kB / 0.6111 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.531, allocations: 167.3 kB / 0.6112 GB, free: 9.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.5313, allocations: 187.3 kB / 0.6114 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.5313, allocations: 4 kB / 0.6114 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.5332, allocations: 0.9908 MB / 0.6124 GB, free: 8.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.5333, allocations: 39.88 kB / 0.6124 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.5334, allocations: 137.2 kB / 0.6126 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009658/0.5344, allocations: 0.5965 MB / 0.6131 GB, free: 7.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5344, allocations: 0 / 0.6131 GB, free: 7.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5345, allocations: 7.938 kB / 0.6131 GB, free: 7.727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.5345, allocations: 0 / 0.6131 GB, free: 7.727 MB / 446.1 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.001286/0.5358, allocations: 0.6153 MB / 0.6138 GB, free: 7.066 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5358, allocations: 8.031 kB / 0.6138 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007794/0.5436, allocations: 0.5902 MB / 0.6143 GB, free: 6.469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.544, allocations: 273.6 kB / 0.6146 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.5442, allocations: 123.4 kB / 0.6147 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5443, allocations: 16 kB / 0.6147 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.5455, allocations: 0.5595 MB / 0.6153 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5455, allocations: 4 kB / 0.6153 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.5456, allocations: 12 kB / 0.6153 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.5456, allocations: 8 kB / 0.6153 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.5471, allocations: 0.6299 MB / 0.6159 GB, free: 4.754 MB / 446.1 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.002119/0.5492, allocations: 1.719 MB / 0.6176 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.5496, allocations: 154.5 kB / 0.6177 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.5498, allocations: 76.83 kB / 0.6178 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/0.5506, allocations: 0.7003 MB / 0.6185 GB, free: 1.848 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.5507, allocations: 42.5 kB / 0.6185 GB, free: 1.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.5507, allocations: 0 / 0.6185 GB, free: 1.797 MB / 446.1 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.0009963/0.5517, allocations: 323.7 kB / 0.6188 GB, free: 1.477 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.5517, allocations: 55.41 kB / 0.6189 GB, free: 1.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.5519, allocations: 187 kB / 0.6191 GB, free: 1.219 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.552, allocations: 33.64 kB / 0.6191 GB, free: 1.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.5521, allocations: 191.2 kB / 0.6193 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.5521, allocations: 59.11 kB / 0.6193 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.5522, allocations: 41.69 kB / 0.6194 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5523, allocations: 330.8 kB / 0.6197 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.5525, allocations: 68.64 kB / 0.6198 GB, free: 492 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.5528, allocations: 264.1 kB / 0.62 GB, free: 132 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.5532, allocations: 362.9 kB / 0.6204 GB, free: 15.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5532, allocations: 4 kB / 0.6204 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000639/0.5539, allocations: 372.2 kB / 0.6207 GB, free: 15.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5539, allocations: 8 kB / 0.6207 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.5539, allocations: 8 kB / 0.6207 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.554, allocations: 11.94 kB / 0.6208 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.5544, allocations: 127.8 kB / 0.6209 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000382/0.5548, allocations: 0.5977 MB / 0.6215 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.5551, allocations: 51.81 kB / 0.6215 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/0.5551, allocations: 48.55 kB / 0.6216 GB, free: 14.43 MB / 462.1 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.0001631/0.5553, allocations: 142.2 kB / 0.6217 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.5554, allocations: 19.81 kB / 0.6217 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/0.5563, allocations: 436.8 kB / 0.6221 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5563, allocations: 7.938 kB / 0.6221 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5563, allocations: 0 / 0.6221 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.5563, allocations: 0 / 0.6221 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000881/0.5572, allocations: 0.631 MB / 0.6227 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5572, allocations: 0 / 0.6227 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.5575, allocations: 63.89 kB / 0.6228 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.5575, allocations: 4 kB / 0.6228 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.5575, allocations: 4 kB / 0.6228 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003166/0.5578, allocations: 0.5938 MB / 0.6234 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.5578, allocations: 8.219 kB / 0.6234 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.5582, allocations: 293.2 kB / 0.6237 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.5583, allocations: 116.8 kB / 0.6238 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.5584, allocations: 7.984 kB / 0.6238 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.5586, allocations: 8 kB / 0.6238 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.5587, allocations: 23.91 kB / 0.6238 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.5587, allocations: 16 kB / 0.6238 GB, free: 11.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.5589, allocations: 144.2 kB / 0.624 GB, free: 11.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5589, allocations: 0 / 0.624 GB, free: 11.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006401/0.5595, allocations: 156 kB / 0.6241 GB, free: 11.59 MB / 462.1 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.000614/0.5602, allocations: 245 kB / 0.6244 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004924/0.5607, allocations: 227 kB / 0.6246 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.5607, allocations: 7.938 kB / 0.6246 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.5609, allocations: 85.27 kB / 0.6247 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.5615, allocations: 71.62 kB / 0.6247 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.5629, allocations: 0.8183 MB / 0.6255 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.5632, allocations: 0.7209 MB / 0.6262 GB, free: 9.363 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.5635, allocations: 95.34 kB / 0.6263 GB, free: 9.27 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5635, allocations: 0 / 0.6263 GB, free: 9.27 MB / 462.1 MB Notification: Performance of Templates: time 0.009302/0.5728, allocations: 5.258 MB / 0.6315 GB, free: 4.016 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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