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.00135/0.00135, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.651/1.651, allocations: 226.5 MB / 245.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008611/0.000861, allocations: 103.8 kB / 297.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4596/0.4596, allocations: 44.83 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004142, allocations: 11.98 kB / 467.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4381, allocations: 62.95 MB / 0.5184 GB, free: 37.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.162/9.6, allocations: 3.513 GB / 4.031 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/9.601, allocations: 71.95 kB / 4.031 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.195/9.796, allocations: 87.72 MB / 4.117 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.555e-06/9.796, allocations: 4 kB / 4.117 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.035e-05/9.796, allocations: 12 kB / 4.117 GB, free: 10.32 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.00361/9.799, allocations: 1.037 MB / 4.118 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/9.799, allocations: 8.031 kB / 4.118 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/9.8, allocations: 44.55 kB / 4.118 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/9.8, allocations: 252 kB / 4.118 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/9.8, allocations: 128 kB / 4.118 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/9.8, allocations: 24.38 kB / 4.118 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/9.801, allocations: 0.5648 MB / 4.119 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/9.801, allocations: 7.875 kB / 4.119 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.27e-05/9.801, allocations: 12 kB / 4.119 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/9.801, allocations: 24.55 kB / 4.119 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/9.802, allocations: 1.255 MB / 4.12 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/9.804, allocations: 1.843 MB / 4.122 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/9.805, allocations: 265.2 kB / 4.122 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/9.805, allocations: 118 kB / 4.122 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003351/9.809, allocations: 3.319 MB / 4.125 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/9.809, allocations: 42.56 kB / 4.125 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.286e-06/9.809, allocations: 0 / 4.125 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.3146/10.12, allocations: 0.7324 MB / 4.126 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/10.12, allocations: 56.5 kB / 4.126 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/10.12, allocations: 196.7 kB / 4.126 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/10.12, allocations: 35.89 kB / 4.126 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/10.12, allocations: 193.9 kB / 4.127 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/10.12, allocations: 155.2 kB / 4.127 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/10.12, allocations: 9.406 kB / 4.127 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/10.12, allocations: 340.3 kB / 4.127 GB, free: 133 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/10.12, allocations: 107.3 kB / 4.127 GB, free: 133 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/10.12, allocations: 418.2 kB / 4.128 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/10.13, allocations: 0.5686 MB / 4.128 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/10.13, allocations: 7.875 kB / 4.128 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001081/10.13, allocations: 0.5639 MB / 4.129 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/10.13, allocations: 9.562 kB / 4.129 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/10.13, allocations: 11.09 kB / 4.129 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/10.13, allocations: 15.19 kB / 4.129 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/10.13, allocations: 199.2 kB / 4.129 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004231/10.13, allocations: 1.201 MB / 4.13 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/10.13, allocations: 27.94 kB / 4.13 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/10.13, allocations: 64.23 kB / 4.13 GB, free: 131 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 () * 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.0001652/10.13, allocations: 170.8 kB / 4.13 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/10.13, allocations: 33.89 kB / 4.13 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/10.13, allocations: 0.6823 MB / 4.131 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/10.13, allocations: 6.109 kB / 4.131 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/10.13, allocations: 0 / 4.131 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/10.13, allocations: 1.453 kB / 4.131 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007887/10.13, allocations: 0.634 MB / 4.132 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/10.13, allocations: 0 / 4.132 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/10.13, allocations: 95.69 kB / 4.132 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/10.13, allocations: 3 kB / 4.132 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/10.13, allocations: 10.69 kB / 4.132 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003053/10.13, allocations: 1.172 MB / 4.133 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/10.13, allocations: 6.734 kB / 4.133 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/10.13, allocations: 326.9 kB / 4.133 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/10.13, allocations: 139.8 kB / 4.133 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/10.13, allocations: 13.16 kB / 4.133 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/10.13, allocations: 13 kB / 4.133 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/10.13, allocations: 18.55 kB / 4.133 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/10.13, allocations: 15.78 kB / 4.133 GB, free: 129 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001536/10.13, allocations: 180.5 kB / 4.134 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/10.13, allocations: 0 / 4.134 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002424/10.13, allocations: 0.5776 MB / 4.134 GB, free: 128.9 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 () * 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.002715/10.14, allocations: 1.179 MB / 4.135 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009492/10.14, allocations: 373.7 kB / 4.136 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/10.14, allocations: 3 kB / 4.136 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003273/10.14, allocations: 134.5 kB / 4.136 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/10.14, allocations: 94.62 kB / 4.136 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08442/10.22, allocations: 39.66 MB / 4.175 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/10.22, allocations: 0.7691 MB / 4.175 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001067/10.23, allocations: 198.8 kB / 4.176 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/10.23, allocations: 79.42 kB / 4.176 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of SimCode: time 9.91e-07/10.23, allocations: 0 / 4.176 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.03145/10.26, allocations: 21.17 MB / 4.196 GB, free: 122 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/jenkins1/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