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.001249/0.001249, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007647/0.0007648, allocations: 103.6 kB / 286.7 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.198/0.198, allocations: 45.15 MB / 383.8 MB, free: 224 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.562e-05, allocations: 7.938 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.763/7.882, allocations: 3.504 GB / 4.009 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/7.882, allocations: 75.95 kB / 4.009 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5279/8.41, allocations: 86.45 MB / 4.093 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/8.41, allocations: 0 / 4.093 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.636e-05/8.41, allocations: 3.938 kB / 4.093 GB, free: 159.7 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.003692/8.414, allocations: 1.028 MB / 4.094 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/8.414, allocations: 13.31 kB / 4.094 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/8.414, allocations: 38.86 kB / 4.094 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/8.415, allocations: 250.6 kB / 4.094 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/8.415, allocations: 121 kB / 4.095 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/8.415, allocations: 15.62 kB / 4.095 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001263/8.416, allocations: 1.183 MB / 4.096 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/8.417, allocations: 0.5125 MB / 4.096 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/8.417, allocations: 2.969 kB / 4.096 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/8.417, allocations: 3.234 kB / 4.096 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/8.417, allocations: 25.92 kB / 4.096 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/8.421, allocations: 4.53 MB / 4.101 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/8.421, allocations: 125.7 kB / 4.101 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/8.421, allocations: 49.41 kB / 4.101 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/8.422, allocations: 350.9 kB / 4.101 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/8.422, allocations: 39.44 kB / 4.101 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.715e-06/8.422, allocations: 0 / 4.101 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001095/8.423, allocations: 313.5 kB / 4.102 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/8.423, allocations: 55.56 kB / 4.102 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/8.423, allocations: 250.4 kB / 4.102 GB, free: 154 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/8.423, allocations: 29.64 kB / 4.102 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/8.423, allocations: 269.4 kB / 4.102 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/8.423, allocations: 70.38 kB / 4.102 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/8.423, allocations: 1.594 kB / 4.102 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/8.423, allocations: 335.2 kB / 4.103 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/8.424, allocations: 88.69 kB / 4.103 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/8.424, allocations: 398.1 kB / 4.103 GB, free: 153 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/8.425, allocations: 304.7 kB / 4.103 GB, free: 153 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/8.425, allocations: 3.938 kB / 4.103 GB, free: 153 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001733/8.427, allocations: 0.6251 MB / 4.104 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/8.427, allocations: 10.09 kB / 4.104 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/8.427, allocations: 11.09 kB / 4.104 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/8.427, allocations: 15.94 kB / 4.104 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/8.428, allocations: 207.9 kB / 4.104 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005272/8.428, allocations: 1.215 MB / 4.105 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/8.429, allocations: 15.22 kB / 4.105 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/8.429, allocations: 69.53 kB / 4.105 GB, free: 151.8 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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 (72): * Single equations (assignments): 69 * 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.0002077/8.429, allocations: 134.9 kB / 4.106 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/8.429, allocations: 31 kB / 4.106 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005076/8.43, allocations: 209.1 kB / 4.106 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/8.43, allocations: 3.625 kB / 4.106 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/8.43, allocations: 0 / 4.106 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/8.43, allocations: 3.75 kB / 4.106 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000705/8.43, allocations: 0.5095 MB / 4.106 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/8.43, allocations: 6.484 kB / 4.106 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/8.431, allocations: 76.98 kB / 4.106 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/8.431, allocations: 0 / 4.106 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/8.431, allocations: 3.156 kB / 4.106 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000406/8.431, allocations: 1.186 MB / 4.107 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/8.431, allocations: 0 / 4.107 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/8.431, allocations: 298.3 kB / 4.108 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/8.432, allocations: 162.7 kB / 4.108 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/8.432, allocations: 0 / 4.108 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/8.432, allocations: 8.656 kB / 4.108 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/8.432, allocations: 15.56 kB / 4.108 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/8.432, allocations: 12.3 kB / 4.108 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001435/8.432, allocations: 177.9 kB / 4.108 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/8.432, allocations: 0 / 4.108 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002271/8.434, allocations: 0.5458 MB / 4.109 GB, free: 149.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * 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.003676/8.438, allocations: 1.273 MB / 4.11 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008365/8.439, allocations: 300.8 kB / 4.11 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/8.439, allocations: 0 / 4.11 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/8.439, allocations: 92.41 kB / 4.11 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/8.44, allocations: 59.22 kB / 4.11 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1061/8.546, allocations: 50.72 MB / 4.16 GB, free: 119 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/8.546, allocations: 0.761 MB / 4.161 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001037/8.547, allocations: 230.8 kB / 4.161 GB, free: 118 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/8.547, allocations: 71.38 kB / 4.161 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/8.547, allocations: 0 / 4.161 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.02128/8.569, allocations: 15.5 MB / 4.176 GB, free: 102.5 MB / 0.5261 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