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.001035/0.001035, allocations: 96.78 kB / 17 MB, free: 6.418 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.001217/0.001217, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.407/1.407, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.215/0.215, allocations: 44.25 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004434, allocations: 12 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4601/0.6224, allocations: 138 MB / 0.5953 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.6358, allocations: 9.656 MB / 0.6048 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.636, allocations: 0 / 0.6048 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.6364, allocations: 51.72 kB / 0.6048 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00658/0.643, allocations: 2.117 MB / 0.6069 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.6434, allocations: 151.2 kB / 0.607 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008651/0.6442, allocations: 0.6465 MB / 0.6077 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.294e-05/0.6443, allocations: 12.41 kB / 0.6077 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.6447, allocations: 211.2 kB / 0.6079 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.6455, allocations: 410.9 kB / 0.6083 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.6455, allocations: 12 kB / 0.6083 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007439/0.653, allocations: 3.655 MB / 0.6119 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.6531, allocations: 95.66 kB / 0.6119 GB, free: 7.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.6533, allocations: 85.52 kB / 0.612 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.6561, allocations: 1.46 MB / 0.6135 GB, free: 6.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6561, allocations: 0 / 0.6135 GB, free: 6.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6561, allocations: 4 kB / 0.6135 GB, free: 6.422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.6561, allocations: 0 / 0.6135 GB, free: 6.422 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002547/0.6587, allocations: 0.9792 MB / 0.6144 GB, free: 5.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6587, allocations: 12.03 kB / 0.6144 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.6589, allocations: 35.7 kB / 0.6145 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.6592, allocations: 254.6 kB / 0.6147 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.6593, allocations: 127.4 kB / 0.6148 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.6594, allocations: 28 kB / 0.6148 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008495/0.6602, allocations: 0.5564 MB / 0.6154 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6602, allocations: 4 kB / 0.6154 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.6603, allocations: 15.98 kB / 0.6154 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/0.6603, allocations: 28.55 kB / 0.6154 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.6617, allocations: 1.247 MB / 0.6167 GB, free: 3 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.002598/0.6644, allocations: 1.98 MB / 0.6186 GB, free: 0.875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006664/0.665, allocations: 253.9 kB / 0.6188 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.6652, allocations: 122 kB / 0.6189 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003115/0.6683, allocations: 3.102 MB / 0.622 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.6684, allocations: 46.5 kB / 0.622 GB, free: 12.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.514e-06/0.6684, allocations: 0 / 0.622 GB, free: 12.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.002046/0.6705, allocations: 0.7068 MB / 0.6227 GB, free: 12.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.6705, allocations: 59.36 kB / 0.6228 GB, free: 12.01 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.6707, allocations: 198.3 kB / 0.623 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.6708, allocations: 33.7 kB / 0.623 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.6709, allocations: 203.7 kB / 0.6232 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.671, allocations: 149.8 kB / 0.6233 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.6711, allocations: 12 kB / 0.6233 GB, free: 11.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6712, allocations: 330.8 kB / 0.6237 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.6714, allocations: 105.2 kB / 0.6238 GB, free: 10.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.6718, allocations: 405.6 kB / 0.6241 GB, free: 10.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.672, allocations: 184.3 kB / 0.6243 GB, free: 10.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.672, allocations: 3.984 kB / 0.6243 GB, free: 10.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000851/0.6729, allocations: 0.5376 MB / 0.6248 GB, free: 9.699 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.6729, allocations: 12 kB / 0.6249 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.673, allocations: 8 kB / 0.6249 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.673, allocations: 16 kB / 0.6249 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.6736, allocations: 195.7 kB / 0.6251 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006724/0.6743, allocations: 1.196 MB / 0.6262 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.6746, allocations: 31.98 kB / 0.6263 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.615e-05/0.6747, allocations: 51.98 kB / 0.6263 GB, free: 8.148 MB / 462.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.6749, allocations: 182.2 kB / 0.6265 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.675, allocations: 27.72 kB / 0.6265 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.6762, allocations: 0.6428 MB / 0.6271 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.6763, allocations: 11.94 kB / 0.6272 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6763, allocations: 0 / 0.6272 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.6763, allocations: 3.984 kB / 0.6272 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.6774, allocations: 0.8124 MB / 0.628 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6774, allocations: 2.688 kB / 0.628 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.6779, allocations: 103.9 kB / 0.6281 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.6779, allocations: 4 kB / 0.6281 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.6779, allocations: 12 kB / 0.6281 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006073/0.6785, allocations: 1.172 MB / 0.6292 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6785, allocations: 192 / 0.6292 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.679, allocations: 357.8 kB / 0.6296 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.6791, allocations: 132.7 kB / 0.6297 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.6792, allocations: 12 kB / 0.6297 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.6795, allocations: 11.98 kB / 0.6297 GB, free: 4.445 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.6795, allocations: 23.97 kB / 0.6297 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.6795, allocations: 19.98 kB / 0.6297 GB, free: 4.402 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.6797, allocations: 168.5 kB / 0.6299 GB, free: 4.238 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6797, allocations: 0 / 0.6299 GB, free: 4.238 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001649/0.6814, allocations: 487.5 kB / 0.6304 GB, free: 3.762 MB / 462.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001998/0.6834, allocations: 0.7005 MB / 0.6311 GB, free: 3.059 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000885/0.6843, allocations: 370.2 kB / 0.6314 GB, free: 2.699 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6843, allocations: 320 / 0.6314 GB, free: 2.699 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.6847, allocations: 144 kB / 0.6315 GB, free: 2.559 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.6854, allocations: 97.05 kB / 0.6316 GB, free: 2.461 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008883/0.6943, allocations: 5.546 MB / 0.6371 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.6947, allocations: 0.7699 MB / 0.6378 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007876/0.6955, allocations: 198.8 kB / 0.638 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.6958, allocations: 67.41 kB / 0.6381 GB, free: 11.81 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6958, allocations: 0 / 0.6381 GB, free: 11.81 MB / 478.1 MB Notification: Performance of Templates: time 0.02438/0.7201, allocations: 14.07 MB / 0.6518 GB, free: 13.82 MB / 494.1 MB 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