Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.002012/0.002012, allocations: 194 kB / 18.12 MB, free: 5.363 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.495/1.495, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2271/0.2271, allocations: 44.17 MB / 336.1 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 54.44 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1358, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4583/0.5941, allocations: 150 MB / 0.604 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.6109, allocations: 10.77 MB / 0.6146 GB, free: 440 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.6111, allocations: 4 kB / 0.6146 GB, free: 436 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.6117, allocations: 79.61 kB / 0.6146 GB, free: 356 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.6226, allocations: 2.671 MB / 0.6173 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.6232, allocations: 163.4 kB / 0.6174 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.6244, allocations: 0.7675 MB / 0.6182 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.6245, allocations: 12.41 kB / 0.6182 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.6249, allocations: 219.1 kB / 0.6184 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009615/0.6259, allocations: 402.9 kB / 0.6188 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.626, allocations: 8 kB / 0.6188 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/0.639, allocations: 5.119 MB / 0.6238 GB, free: 6.988 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.6392, allocations: 95.73 kB / 0.6239 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000412/0.6397, allocations: 155.2 kB / 0.624 GB, free: 6.742 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007618/0.6473, allocations: 2.557 MB / 0.6265 GB, free: 4.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6473, allocations: 0 / 0.6265 GB, free: 4.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6473, allocations: 7.938 kB / 0.6265 GB, free: 4.172 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.6474, allocations: 3.938 kB / 0.6265 GB, free: 4.168 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002579/0.6499, allocations: 1.049 MB / 0.6275 GB, free: 3.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.65, allocations: 12.03 kB / 0.6276 GB, free: 3.059 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.6502, allocations: 36.41 kB / 0.6276 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.6506, allocations: 246.6 kB / 0.6278 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.6507, allocations: 127.5 kB / 0.6279 GB, free: 2.594 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.6508, allocations: 28 kB / 0.628 GB, free: 2.566 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008452/0.6516, allocations: 0.5681 MB / 0.6285 GB, free: 1.969 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.6517, allocations: 7.938 kB / 0.6285 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.6517, allocations: 15.98 kB / 0.6286 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/0.6518, allocations: 32.55 kB / 0.6286 GB, free: 1.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.6531, allocations: 1.255 MB / 0.6298 GB, free: 0.6562 MB / 462.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.002404/0.6556, allocations: 1.968 MB / 0.6317 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.6563, allocations: 264 kB / 0.632 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.6565, allocations: 118 kB / 0.6321 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003163/0.6597, allocations: 3.103 MB / 0.6351 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.6597, allocations: 38.56 kB / 0.6352 GB, free: 10.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 3.476e-06/0.6597, allocations: 0 / 0.6352 GB, free: 10.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.002069/0.6618, allocations: 0.7181 MB / 0.6359 GB, free: 9.734 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.6619, allocations: 59.41 kB / 0.6359 GB, free: 9.664 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.6621, allocations: 194.3 kB / 0.6361 GB, free: 9.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.6621, allocations: 33.7 kB / 0.6361 GB, free: 9.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.6622, allocations: 191.8 kB / 0.6363 GB, free: 9.234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.6624, allocations: 149.8 kB / 0.6365 GB, free: 9.086 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.6626, allocations: 138.1 kB / 0.6366 GB, free: 8.945 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6627, allocations: 334.8 kB / 0.6369 GB, free: 8.609 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.6629, allocations: 105.2 kB / 0.637 GB, free: 8.508 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.6633, allocations: 417.3 kB / 0.6374 GB, free: 7.953 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.664, allocations: 0.5717 MB / 0.638 GB, free: 7.234 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.664, allocations: 11.88 kB / 0.638 GB, free: 7.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001013/0.665, allocations: 0.5461 MB / 0.6385 GB, free: 6.672 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.6651, allocations: 14.34 kB / 0.6385 GB, free: 6.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.6651, allocations: 8 kB / 0.6385 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.6651, allocations: 16 kB / 0.6386 GB, free: 6.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/0.6659, allocations: 211.7 kB / 0.6388 GB, free: 6.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007071/0.6666, allocations: 1.188 MB / 0.6399 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.667, allocations: 23.91 kB / 0.6399 GB, free: 5.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.6671, allocations: 55.98 kB / 0.64 GB, free: 5.117 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.6673, allocations: 185.6 kB / 0.6402 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/0.6674, allocations: 27.72 kB / 0.6402 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.6686, allocations: 0.6274 MB / 0.6408 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.6686, allocations: 4 kB / 0.6408 GB, free: 4.234 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.6686, allocations: 3.984 kB / 0.6408 GB, free: 4.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6686, allocations: 3.984 kB / 0.6408 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.6697, allocations: 0.8246 MB / 0.6416 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6697, allocations: 0 / 0.6416 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.6702, allocations: 103.8 kB / 0.6417 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6702, allocations: 4.094 kB / 0.6417 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.6702, allocations: 8 kB / 0.6417 GB, free: 3.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005886/0.6708, allocations: 1.176 MB / 0.6429 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6708, allocations: 0 / 0.6429 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.6713, allocations: 354 kB / 0.6432 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.6715, allocations: 120.8 kB / 0.6433 GB, free: 1.457 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.6716, allocations: 15.92 kB / 0.6433 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.6718, allocations: 15.92 kB / 0.6434 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.6719, allocations: 31.91 kB / 0.6434 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.6719, allocations: 16 kB / 0.6434 GB, free: 1.379 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.6721, allocations: 168.5 kB / 0.6436 GB, free: 1.215 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6721, allocations: 0 / 0.6436 GB, free: 1.215 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001755/0.6739, allocations: 495.6 kB / 0.644 GB, free: 0.7305 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/0.6758, allocations: 0.7408 MB / 0.6448 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009317/0.6767, allocations: 367.4 kB / 0.6451 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6767, allocations: 0 / 0.6451 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.6771, allocations: 145.2 kB / 0.6453 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/0.678, allocations: 128.9 kB / 0.6454 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008491/0.6865, allocations: 5.527 MB / 0.6508 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.6869, allocations: 0.7699 MB / 0.6515 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008479/0.6877, allocations: 198.8 kB / 0.6517 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.6879, allocations: 63.41 kB / 0.6518 GB, free: 8.742 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6879, allocations: 0 / 0.6518 GB, free: 8.742 MB / 494.1 MB Notification: Performance of Templates: time 0.02425/0.7122, allocations: 14.8 MB / 0.6662 GB, free: 10.03 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches