Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.2 MB / 245 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008367/0.0008367, allocations: 100.3 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2974/0.2974, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002498/0.0002498, allocations: 4 kB / 468.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3328, allocations: 63.24 MB / 0.5192 GB, free: 43.66 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.783/7.116, allocations: 3.505 GB / 4.024 GB, free: 75.94 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/7.116, allocations: 77.16 kB / 4.024 GB, free: 75.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4438/7.56, allocations: 87.64 MB / 4.11 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.142e-06/7.56, allocations: 0 / 4.11 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.258e-05/7.56, allocations: 4 kB / 4.11 GB, free: 145.1 MB / 0.5417 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.002677/7.563, allocations: 1.048 MB / 4.111 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/7.563, allocations: 8.812 kB / 4.111 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/7.563, allocations: 34.72 kB / 4.111 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/7.563, allocations: 252.8 kB / 4.111 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.331e-05/7.563, allocations: 127.6 kB / 4.111 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/7.563, allocations: 30.19 kB / 4.111 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/7.564, allocations: 0.5575 MB / 4.112 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/7.564, allocations: 1.547 kB / 4.112 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/7.564, allocations: 17.69 kB / 4.112 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.633e-05/7.564, allocations: 25.3 kB / 4.112 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/7.565, allocations: 1.254 MB / 4.113 GB, free: 144.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/7.567, allocations: 1.92 MB / 4.115 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/7.567, allocations: 264.8 kB / 4.115 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002646/7.57, allocations: 3.38 MB / 4.119 GB, free: 140 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/7.57, allocations: 41.75 kB / 4.119 GB, free: 140 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/7.57, allocations: 0 / 4.119 GB, free: 140 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.001562/7.572, allocations: 0.8096 MB / 4.119 GB, free: 139.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/7.572, allocations: 59.69 kB / 4.119 GB, free: 139.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/7.572, allocations: 189.6 kB / 4.12 GB, free: 139.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/7.572, allocations: 36.39 kB / 4.12 GB, free: 139.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/7.572, allocations: 193.7 kB / 4.12 GB, free: 139.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/7.572, allocations: 155 kB / 4.12 GB, free: 139.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/7.572, allocations: 12.94 kB / 4.12 GB, free: 139.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.001e-05/7.572, allocations: 332.8 kB / 4.12 GB, free: 139 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/7.572, allocations: 107.7 kB / 4.12 GB, free: 139 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/7.572, allocations: 410.2 kB / 4.121 GB, free: 138.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/7.573, allocations: 172 kB / 4.121 GB, free: 138.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/7.573, allocations: 6.188 kB / 4.121 GB, free: 138.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007551/7.573, allocations: 0.5609 MB / 4.122 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/7.573, allocations: 11.94 kB / 4.122 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/7.573, allocations: 11.56 kB / 4.122 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/7.573, allocations: 14.72 kB / 4.122 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/7.574, allocations: 205.1 kB / 4.122 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003552/7.574, allocations: 1.194 MB / 4.123 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/7.575, allocations: 29.44 kB / 4.123 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/7.575, allocations: 65.88 kB / 4.123 GB, free: 137.3 MB / 0.5417 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 () * 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.0001434/7.575, allocations: 168.4 kB / 4.123 GB, free: 137.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/7.575, allocations: 26.06 kB / 4.123 GB, free: 137.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/7.576, allocations: 0.6905 MB / 4.124 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/7.576, allocations: 4.438 kB / 4.124 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/7.576, allocations: 2.594 kB / 4.124 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/7.576, allocations: 9.656 kB / 4.124 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/7.577, allocations: 0.63 MB / 4.125 GB, free: 136.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/7.577, allocations: 0 / 4.125 GB, free: 136.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/7.577, allocations: 100.3 kB / 4.125 GB, free: 136.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/7.577, allocations: 4.656 kB / 4.125 GB, free: 136.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/7.577, allocations: 15.58 kB / 4.125 GB, free: 136.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002914/7.578, allocations: 1.16 MB / 4.126 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/7.578, allocations: 5.094 kB / 4.126 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/7.578, allocations: 355.6 kB / 4.126 GB, free: 135.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/7.578, allocations: 145.8 kB / 4.126 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/7.578, allocations: 11.97 kB / 4.126 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/7.578, allocations: 18.91 kB / 4.126 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/7.579, allocations: 20.89 kB / 4.126 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/7.579, allocations: 13.91 kB / 4.126 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001299/7.579, allocations: 183.9 kB / 4.126 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/7.579, allocations: 0 / 4.126 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001873/7.581, allocations: 0.567 MB / 4.127 GB, free: 135.1 MB / 0.5417 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 () * Number of clocked 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.002023/7.583, allocations: 1.179 MB / 4.128 GB, free: 134.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007528/7.583, allocations: 359.2 kB / 4.129 GB, free: 134.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/7.583, allocations: 4.75 kB / 4.129 GB, free: 134.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/7.584, allocations: 135.2 kB / 4.129 GB, free: 134.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/7.584, allocations: 78.83 kB / 4.129 GB, free: 134.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1201/7.704, allocations: 54.02 MB / 4.182 GB, free: 126.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/7.704, allocations: 0.7783 MB / 4.182 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008822/7.705, allocations: 202.5 kB / 4.182 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/7.706, allocations: 72.12 kB / 4.183 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/7.706, allocations: 0 / 4.183 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.02592/7.732, allocations: 20.59 MB / 4.203 GB, free: 120.2 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches