Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009175/0.0009176, allocations: 100.9 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3443/0.3443, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001026, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1201, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.381/0.5012, allocations: 149.1 MB / 0.6212 GB, free: 10.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008675/0.5099, allocations: 7.161 MB / 0.6282 GB, free: 4.766 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.5101, allocations: 6.219 kB / 0.6282 GB, free: 4.762 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.5104, allocations: 43.75 kB / 0.6283 GB, free: 4.727 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003731/0.5142, allocations: 1.244 MB / 0.6295 GB, free: 3.832 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.5145, allocations: 139.8 kB / 0.6296 GB, free: 3.746 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000628/0.5152, allocations: 470.2 kB / 0.6301 GB, free: 3.496 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.188e-05/0.5152, allocations: 16.09 kB / 0.6301 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.5155, allocations: 163.8 kB / 0.6302 GB, free: 3.418 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.5158, allocations: 185.8 kB / 0.6304 GB, free: 3.324 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.5158, allocations: 7.156 kB / 0.6304 GB, free: 3.324 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.5182, allocations: 1.169 MB / 0.6316 GB, free: 2.164 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.5183, allocations: 39.83 kB / 0.6316 GB, free: 2.125 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.5184, allocations: 107.5 kB / 0.6317 GB, free: 2.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.52, allocations: 0.9745 MB / 0.6326 GB, free: 1.043 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.52, allocations: 3.938 kB / 0.6327 GB, free: 1.039 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.52, allocations: 4 kB / 0.6327 GB, free: 1.035 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.5201, allocations: 0 / 0.6327 GB, free: 1.035 MB / 442.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.001389/0.5215, allocations: 0.7098 MB / 0.6333 GB, free: 288 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5215, allocations: 12.03 kB / 0.6334 GB, free: 276 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007383/0.5289, allocations: 0.598 MB / 0.6339 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.5295, allocations: 260.3 kB / 0.6342 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.5296, allocations: 127.3 kB / 0.6343 GB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.264e-05/0.5297, allocations: 24 kB / 0.6343 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.531, allocations: 0.5595 MB / 0.6349 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.531, allocations: 4 kB / 0.6349 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.716e-05/0.5311, allocations: 8 kB / 0.6349 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.5311, allocations: 11.94 kB / 0.6349 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.5326, allocations: 0.626 MB / 0.6355 GB, free: 13.98 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.002125/0.5347, allocations: 1.634 MB / 0.6371 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.5351, allocations: 170.2 kB / 0.6373 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.5352, allocations: 76.81 kB / 0.6373 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/0.5366, allocations: 1.315 MB / 0.6386 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.5366, allocations: 34.56 kB / 0.6387 GB, free: 10.42 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 2.053e-06/0.5366, allocations: 4 kB / 0.6387 GB, free: 10.42 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=18): time 0.001018/0.5377, allocations: 335.8 kB / 0.639 GB, free: 10.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.5377, allocations: 55.34 kB / 0.639 GB, free: 10.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.5379, allocations: 191.3 kB / 0.6392 GB, free: 9.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.5379, allocations: 25.7 kB / 0.6393 GB, free: 9.789 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.538, allocations: 187.2 kB / 0.6394 GB, free: 9.602 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.5381, allocations: 63.19 kB / 0.6395 GB, free: 9.539 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.5382, allocations: 101.9 kB / 0.6396 GB, free: 9.434 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5383, allocations: 322.8 kB / 0.6399 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.5385, allocations: 64.7 kB / 0.64 GB, free: 9.047 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.5388, allocations: 267.8 kB / 0.6402 GB, free: 8.691 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.5392, allocations: 367.1 kB / 0.6406 GB, free: 8.238 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5392, allocations: 4 kB / 0.6406 GB, free: 8.234 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005762/0.5398, allocations: 372.1 kB / 0.6409 GB, free: 7.867 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5398, allocations: 8 kB / 0.6409 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5398, allocations: 8 kB / 0.6409 GB, free: 7.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5399, allocations: 8 kB / 0.6409 GB, free: 7.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.5403, allocations: 132.6 kB / 0.6411 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003529/0.5406, allocations: 0.6067 MB / 0.6417 GB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.5409, allocations: 43.53 kB / 0.6417 GB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.5409, allocations: 40 kB / 0.6417 GB, free: 7.004 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.0001385/0.5411, allocations: 153.6 kB / 0.6419 GB, free: 6.844 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.5411, allocations: 23.69 kB / 0.6419 GB, free: 6.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000723/0.5419, allocations: 296.3 kB / 0.6422 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5419, allocations: 0 / 0.6422 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5419, allocations: 4 kB / 0.6422 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5419, allocations: 3.984 kB / 0.6422 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.5426, allocations: 0.5152 MB / 0.6427 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5426, allocations: 0 / 0.6427 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.5428, allocations: 59.91 kB / 0.6428 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5428, allocations: 0 / 0.6428 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.5428, allocations: 7.984 kB / 0.6428 GB, free: 5.867 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003278/0.5432, allocations: 0.5978 MB / 0.6434 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5432, allocations: 4.031 kB / 0.6434 GB, free: 5.242 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000705/0.5439, allocations: 0.8808 MB / 0.6442 GB, free: 4.293 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.544, allocations: 112.8 kB / 0.6443 GB, free: 4.164 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.5441, allocations: 8 kB / 0.6443 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.5443, allocations: 12.55 kB / 0.6443 GB, free: 4.145 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.5443, allocations: 11.98 kB / 0.6444 GB, free: 4.133 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.5444, allocations: 16 kB / 0.6444 GB, free: 4.117 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.5445, allocations: 152.1 kB / 0.6445 GB, free: 3.969 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5445, allocations: 0 / 0.6445 GB, free: 3.969 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007822/0.5453, allocations: 187.9 kB / 0.6447 GB, free: 3.785 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0007707/0.5461, allocations: 316.8 kB / 0.645 GB, free: 3.477 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004571/0.5465, allocations: 227.2 kB / 0.6452 GB, free: 3.258 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5466, allocations: 0 / 0.6452 GB, free: 3.258 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.5467, allocations: 83.83 kB / 0.6453 GB, free: 3.176 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.5473, allocations: 72.58 kB / 0.6454 GB, free: 3.105 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.5504, allocations: 2.134 MB / 0.6474 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.5507, allocations: 0.7323 MB / 0.6482 GB, free: 172 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005527/0.5513, allocations: 106.2 kB / 0.6483 GB, free: 64 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.5514, allocations: 47.41 kB / 0.6483 GB, free: 16 kB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5514, allocations: 0 / 0.6483 GB, free: 16 kB / 458.7 MB Notification: Performance of Templates: time 0.01041/0.5619, allocations: 6.073 MB / 0.6542 GB, free: 9.977 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches