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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009748/0.0009747, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.3 MB / 236 MB, free: 2.918 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008765, allocations: 94.47 kB / 287 MB, free: 196 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1808/0.1808, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.882e-05, allocations: 0 / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.123, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.548/7.671, allocations: 3.511 GB / 4.013 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/7.671, allocations: 73.25 kB / 4.013 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5147/8.186, allocations: 88.32 MB / 4.1 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/8.186, allocations: 1.188 kB / 4.1 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.915e-05/8.186, allocations: 3.688 kB / 4.1 GB, free: 158.5 MB / 0.5261 GB 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.003785/8.19, allocations: 1.025 MB / 4.101 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/8.19, allocations: 12 kB / 4.101 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/8.19, allocations: 37.53 kB / 4.101 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/8.19, allocations: 248 kB / 4.101 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/8.19, allocations: 131.3 kB / 4.101 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/8.19, allocations: 30.03 kB / 4.101 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009429/8.191, allocations: 0.5472 MB / 4.101 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/8.191, allocations: 0 / 4.101 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/8.191, allocations: 23.53 kB / 4.102 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-05/8.192, allocations: 28.86 kB / 4.102 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/8.193, allocations: 1.239 MB / 4.103 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/8.195, allocations: 1.908 MB / 4.105 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/8.196, allocations: 262 kB / 4.105 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/8.196, allocations: 116 kB / 4.105 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00311/8.199, allocations: 3.515 MB / 4.108 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/8.199, allocations: 45.69 kB / 4.108 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.845e-06/8.199, allocations: 0 / 4.108 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.001576/8.201, allocations: 0.654 MB / 4.109 GB, free: 153 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/8.201, allocations: 55.19 kB / 4.109 GB, free: 153 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/8.201, allocations: 187.7 kB / 4.109 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/8.201, allocations: 29.45 kB / 4.109 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/8.201, allocations: 196.4 kB / 4.11 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/8.201, allocations: 158.2 kB / 4.11 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/8.201, allocations: 15.41 kB / 4.11 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/8.201, allocations: 330 kB / 4.11 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/8.202, allocations: 107.8 kB / 4.11 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/8.202, allocations: 402.1 kB / 4.111 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/8.202, allocations: 173.2 kB / 4.111 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/8.202, allocations: 6.062 kB / 4.111 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007822/8.203, allocations: 0.5506 MB / 4.111 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/8.203, allocations: 11.59 kB / 4.111 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/8.203, allocations: 7.75 kB / 4.111 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/8.203, allocations: 15.53 kB / 4.111 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/8.204, allocations: 209.5 kB / 4.111 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003973/8.204, allocations: 1.193 MB / 4.113 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/8.204, allocations: 33.8 kB / 4.113 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/8.205, allocations: 59.69 kB / 4.113 GB, free: 150.7 MB / 0.5261 GB 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 () * 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.0001137/8.205, allocations: 154.5 kB / 4.113 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/8.205, allocations: 27.75 kB / 4.113 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/8.206, allocations: 0.69 MB / 4.114 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/8.206, allocations: 7.781 kB / 4.114 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/8.206, allocations: 3.969 kB / 4.114 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/8.206, allocations: 7.125 kB / 4.114 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/8.207, allocations: 0.6283 MB / 4.114 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/8.207, allocations: 0 / 4.114 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/8.207, allocations: 93.78 kB / 4.114 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/8.207, allocations: 0 / 4.114 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/8.207, allocations: 14.25 kB / 4.114 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003294/8.207, allocations: 1.171 MB / 4.115 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/8.207, allocations: 0 / 4.115 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/8.208, allocations: 344 kB / 4.116 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/8.208, allocations: 151.3 kB / 4.116 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/8.208, allocations: 7.469 kB / 4.116 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/8.208, allocations: 19.78 kB / 4.116 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/8.208, allocations: 17.72 kB / 4.116 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/8.208, allocations: 21.39 kB / 4.116 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001463/8.209, allocations: 179.6 kB / 4.116 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/8.209, allocations: 2.688 kB / 4.116 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00237/8.211, allocations: 0.5515 MB / 4.117 GB, free: 148.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.002204/8.213, allocations: 1.16 MB / 4.118 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000748/8.214, allocations: 362.1 kB / 4.118 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/8.214, allocations: 2.75 kB / 4.118 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/8.214, allocations: 127.6 kB / 4.118 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/8.215, allocations: 82.66 kB / 4.118 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1047/8.319, allocations: 53.23 MB / 4.17 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/8.32, allocations: 0.7776 MB / 4.171 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008981/8.321, allocations: 202.9 kB / 4.171 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/8.321, allocations: 75.33 kB / 4.171 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.173e-06/8.321, allocations: 0 / 4.171 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.02543/8.346, allocations: 22.19 MB / 4.193 GB, free: 98.59 MB / 0.5261 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches