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.0009098/0.0009099, allocations: 95.03 kB / 17.35 MB, free: 6.375 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.0009413/0.0009414, allocations: 179.9 kB / 18.26 MB, free: 5.52 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.384/1.384, allocations: 223.3 MB / 242.3 MB, free: 14.52 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.2583/0.2583, allocations: 44.24 MB / 337.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004687, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1587, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.5233/0.682, allocations: 148.1 MB / 0.6058 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.6943, allocations: 10.62 MB / 0.6162 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.6946, allocations: 4 kB / 0.6162 GB, free: 3.895 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.695, allocations: 71.61 kB / 0.6162 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007579/0.7026, allocations: 2.677 MB / 0.6188 GB, free: 1.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.7031, allocations: 160.9 kB / 0.619 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009132/0.704, allocations: 0.7597 MB / 0.6197 GB, free: 236 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.7041, allocations: 20.39 kB / 0.6198 GB, free: 212 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.7044, allocations: 211.1 kB / 0.62 GB, free: 0 / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007977/0.7052, allocations: 407 kB / 0.6204 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.7053, allocations: 12 kB / 0.6204 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009927/0.7152, allocations: 5.115 MB / 0.6254 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.7154, allocations: 99.72 kB / 0.6255 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.7157, allocations: 177 kB / 0.6256 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007681/0.7234, allocations: 2.565 MB / 0.6281 GB, free: 7.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7234, allocations: 0 / 0.6281 GB, free: 7.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7235, allocations: 0 / 0.6281 GB, free: 7.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.7235, allocations: 0 / 0.6281 GB, free: 7.613 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.002921/0.7264, allocations: 0.9756 MB / 0.6291 GB, free: 6.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.7264, allocations: 8.031 kB / 0.6291 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.7266, allocations: 40.39 kB / 0.6291 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.7269, allocations: 254.6 kB / 0.6294 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.7271, allocations: 131.4 kB / 0.6295 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.7271, allocations: 28 kB / 0.6295 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/0.728, allocations: 0.572 MB / 0.6301 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.728, allocations: 0 / 0.6301 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.728, allocations: 12 kB / 0.6301 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.915e-05/0.7281, allocations: 32.55 kB / 0.6301 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.7294, allocations: 1.263 MB / 0.6314 GB, free: 4.164 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.002352/0.7318, allocations: 1.965 MB / 0.6333 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.7324, allocations: 256 kB / 0.6335 GB, free: 1.797 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.7326, allocations: 118 kB / 0.6336 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003257/0.7359, allocations: 3.106 MB / 0.6367 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.736, allocations: 42.5 kB / 0.6367 GB, free: 13.99 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.736, allocations: 0 / 0.6367 GB, free: 13.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001782/0.7378, allocations: 0.7111 MB / 0.6374 GB, free: 13.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.7378, allocations: 55.41 kB / 0.6375 GB, free: 13.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.738, allocations: 202.2 kB / 0.6376 GB, free: 12.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.7381, allocations: 37.64 kB / 0.6377 GB, free: 12.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.7382, allocations: 191.8 kB / 0.6379 GB, free: 12.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.7383, allocations: 153.8 kB / 0.638 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.7384, allocations: 49.7 kB / 0.6381 GB, free: 12.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7385, allocations: 334.8 kB / 0.6384 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.7387, allocations: 105.2 kB / 0.6385 GB, free: 12.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.7392, allocations: 421.3 kB / 0.6389 GB, free: 11.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.7399, allocations: 0.5763 MB / 0.6394 GB, free: 10.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7399, allocations: 0 / 0.6394 GB, free: 10.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001007/0.7409, allocations: 0.5502 MB / 0.64 GB, free: 10.26 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.7409, allocations: 15.94 kB / 0.64 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.741, allocations: 12 kB / 0.64 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/0.741, allocations: 12 kB / 0.64 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.7417, allocations: 199.7 kB / 0.6402 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000851/0.7426, allocations: 1.2 MB / 0.6414 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.7429, allocations: 28.05 kB / 0.6414 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.743, allocations: 59.98 kB / 0.6415 GB, free: 8.695 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.0002075/0.7432, allocations: 177.6 kB / 0.6416 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.7433, allocations: 27.72 kB / 0.6417 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.7445, allocations: 0.6313 MB / 0.6423 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.7446, allocations: 8 kB / 0.6423 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7446, allocations: 0 / 0.6423 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.7446, allocations: 3.984 kB / 0.6423 GB, free: 7.809 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.7457, allocations: 0.8207 MB / 0.6431 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7457, allocations: 0 / 0.6431 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.7462, allocations: 99.86 kB / 0.6432 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.7462, allocations: 8.094 kB / 0.6432 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.7462, allocations: 11.98 kB / 0.6432 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007934/0.747, allocations: 1.164 MB / 0.6443 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.747, allocations: 0 / 0.6443 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.7475, allocations: 369.8 kB / 0.6447 GB, free: 5.172 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.7477, allocations: 136.7 kB / 0.6448 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.7477, allocations: 8 kB / 0.6448 GB, free: 5.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.748, allocations: 15.98 kB / 0.6448 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.7481, allocations: 35.84 kB / 0.6449 GB, free: 4.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.7481, allocations: 16 kB / 0.6449 GB, free: 4.945 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.7483, allocations: 172.4 kB / 0.6451 GB, free: 4.777 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7483, allocations: 0 / 0.6451 GB, free: 4.777 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002066/0.7504, allocations: 491.6 kB / 0.6455 GB, free: 4.297 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.002075/0.7525, allocations: 0.7352 MB / 0.6462 GB, free: 3.559 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008861/0.7534, allocations: 364.9 kB / 0.6466 GB, free: 3.203 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7534, allocations: 0 / 0.6466 GB, free: 3.203 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.7537, allocations: 145.2 kB / 0.6467 GB, free: 3.062 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008218/0.7546, allocations: 133.1 kB / 0.6469 GB, free: 2.934 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008295/0.7629, allocations: 5.568 MB / 0.6523 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.7633, allocations: 0.7659 MB / 0.653 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008118/0.7641, allocations: 194.8 kB / 0.6532 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.7644, allocations: 71.39 kB / 0.6533 GB, free: 12.27 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7644, allocations: 0 / 0.6533 GB, free: 12.27 MB / 494.1 MB Notification: Performance of Templates: time 0.02738/0.7917, allocations: 14.77 MB / 0.6677 GB, free: 13.59 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