Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 118.7 kB / 19.18 MB, free: 3.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 202.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 230.3 MB / 255.2 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2197/0.2197, allocations: 46.93 MB / 358.2 MB, free: 10.4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 79.86 kB / 0.4925 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1271, allocations: 66.01 MB / 0.557 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4253/0.5525, allocations: 154.4 MB / 0.7077 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.5545, allocations: 1.461 MB / 0.7091 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.5545, allocations: 4 kB / 0.7091 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.5548, allocations: 47.28 kB / 0.7092 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.5575, allocations: 1.085 MB / 0.7102 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.64e-06/0.5575, allocations: 0 / 0.7102 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.5577, allocations: 63.66 kB / 0.7103 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.5577, allocations: 4 kB / 0.7103 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.5578, allocations: 27.84 kB / 0.7103 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.5579, allocations: 35.84 kB / 0.7103 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.5579, allocations: 0 / 0.7103 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.5611, allocations: 1.926 MB / 0.7122 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.5611, allocations: 15.92 kB / 0.7122 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.5612, allocations: 19.94 kB / 0.7123 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.5627, allocations: 0.9282 MB / 0.7132 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5627, allocations: 0 / 0.7132 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5627, allocations: 0 / 0.7132 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.5627, allocations: 0 / 0.7132 GB, free: 1.328 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008066/0.5635, allocations: 0.5055 MB / 0.7137 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.5636, allocations: 12.03 kB / 0.7137 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.5636, allocations: 7.391 kB / 0.7137 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.5637, allocations: 179.8 kB / 0.7139 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.5637, allocations: 7.938 kB / 0.7139 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.5638, allocations: 8 kB / 0.7139 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.5639, allocations: 77.67 kB / 0.7139 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5639, allocations: 0 / 0.7139 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.5639, allocations: 0 / 0.7139 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.564, allocations: 15.98 kB / 0.714 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.5641, allocations: 63.91 kB / 0.714 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.5646, allocations: 312.7 kB / 0.7143 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.5647, allocations: 38.58 kB / 0.7144 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.5647, allocations: 20.91 kB / 0.7144 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.565, allocations: 251.3 kB / 0.7146 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.565, allocations: 38.55 kB / 0.7146 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.565, allocations: 0 / 0.7146 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002061/0.5652, allocations: 69.62 kB / 0.7147 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.5653, allocations: 51.41 kB / 0.7148 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.5653, allocations: 109.8 kB / 0.7149 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5654, allocations: 29.45 kB / 0.7149 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.5654, allocations: 99.98 kB / 0.715 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.5654, allocations: 15.83 kB / 0.715 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.5655, allocations: 29.66 kB / 0.715 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5656, allocations: 318.8 kB / 0.7153 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.049e-05/0.5657, allocations: 12.81 kB / 0.7154 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.85e-05/0.5657, allocations: 43.53 kB / 0.7154 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.172e-05/0.5658, allocations: 62.42 kB / 0.7155 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.5658, allocations: 4 kB / 0.7155 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001311/0.5659, allocations: 69.62 kB / 0.7155 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.566, allocations: 16.03 kB / 0.7155 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.566, allocations: 3.984 kB / 0.7155 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.566, allocations: 0 / 0.7155 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.5661, allocations: 12 kB / 0.7156 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5661, allocations: 1.562 kB / 0.7156 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.637e-05/0.5661, allocations: 8 kB / 0.7156 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.5661, allocations: 7.938 kB / 0.7156 GB, free: 14.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/0.5662, allocations: 113.8 kB / 0.7157 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.5662, allocations: 7.891 kB / 0.7157 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.5664, allocations: 77.23 kB / 0.7158 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5664, allocations: 0 / 0.7158 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5664, allocations: 4 kB / 0.7158 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5664, allocations: 0 / 0.7158 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.5666, allocations: 165.6 kB / 0.7159 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5666, allocations: 0 / 0.7159 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.5667, allocations: 15.92 kB / 0.7159 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.5667, allocations: 7.938 kB / 0.7159 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.5667, allocations: 0 / 0.7159 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5667, allocations: 4.75 kB / 0.7159 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5667, allocations: 1.562 kB / 0.716 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.5668, allocations: 171.1 kB / 0.7161 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.5669, allocations: 81.09 kB / 0.7162 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.5669, allocations: 7.938 kB / 0.7162 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.807e-05/0.5669, allocations: 0 / 0.7162 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.567, allocations: 4 kB / 0.7162 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.567, allocations: 4 kB / 0.7162 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.567, allocations: 87.27 kB / 0.7163 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.567, allocations: 0 / 0.7163 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005337/0.5676, allocations: 147.5 kB / 0.7164 GB, free: 13.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007422/0.5683, allocations: 330.4 kB / 0.7167 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.5684, allocations: 35.98 kB / 0.7168 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5684, allocations: 0 / 0.7168 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.5685, allocations: 23.92 kB / 0.7168 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.5687, allocations: 4 kB / 0.7168 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.5692, allocations: 194.5 kB / 0.717 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.5694, allocations: 0.6887 MB / 0.7177 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.5695, allocations: 19.42 kB / 0.7177 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.5695, allocations: 0 / 0.7177 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.005588/0.5751, allocations: 3.173 MB / 0.7208 GB, free: 9.082 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.571160248000524]