Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.000952/0.000952, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.0009482/0.0009482, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9578/0.9578, allocations: 177 MB / 204.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2698/0.2698, allocations: 34.87 MB / 296.3 MB, free: 0.5312 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.95e-05, allocations: 2.312 kB / 378.7 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3549/0.355, allocations: 146.9 MB / 0.5133 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3564, allocations: 1.472 MB / 0.5148 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.3565, allocations: 0 / 0.5148 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.3568, allocations: 46.33 kB / 0.5148 GB, free: 15.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.3601, allocations: 1.099 MB / 0.5159 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.715e-06/0.3601, allocations: 0 / 0.5159 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3602, allocations: 69.69 kB / 0.5159 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.3603, allocations: 4.078 kB / 0.5159 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.3603, allocations: 31.58 kB / 0.516 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.055e-05/0.3604, allocations: 32.47 kB / 0.516 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3604, allocations: 3.062 kB / 0.516 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.3628, allocations: 1.623 MB / 0.5176 GB, free: 14.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.3629, allocations: 12.83 kB / 0.5176 GB, free: 14.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.3629, allocations: 13.75 kB / 0.5176 GB, free: 14.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.3641, allocations: 1.037 MB / 0.5186 GB, free: 14.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3641, allocations: 0 / 0.5186 GB, free: 14.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3641, allocations: 2.781 kB / 0.5186 GB, free: 14.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3641, allocations: 0 / 0.5186 GB, free: 14.52 MB / 410.7 MB 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.0006678/0.3648, allocations: 0.5284 MB / 0.5191 GB, free: 14.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3648, allocations: 16.12 kB / 0.5192 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.3649, allocations: 12.03 kB / 0.5192 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.665e-05/0.3649, allocations: 111.6 kB / 0.5193 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.365, allocations: 2.594 kB / 0.5193 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.365, allocations: 7.5 kB / 0.5193 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.3651, allocations: 59.75 kB / 0.5193 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3651, allocations: 0 / 0.5193 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3651, allocations: 2.578 kB / 0.5193 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.3651, allocations: 13.62 kB / 0.5194 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.3652, allocations: 24.45 kB / 0.5194 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.3655, allocations: 304.6 kB / 0.5197 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.017e-05/0.3656, allocations: 50.78 kB / 0.5197 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.3656, allocations: 16.05 kB / 0.5197 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.3657, allocations: 26.64 kB / 0.5198 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.3657, allocations: 38.36 kB / 0.5198 GB, free: 13.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3657, allocations: 0 / 0.5198 GB, free: 13.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001573/0.3659, allocations: 62.09 kB / 0.5199 GB, free: 13.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.3659, allocations: 57.75 kB / 0.5199 GB, free: 13.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.555e-05/0.366, allocations: 169.9 kB / 0.5201 GB, free: 13.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.366, allocations: 28.67 kB / 0.5201 GB, free: 13.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.366, allocations: 145.6 kB / 0.5202 GB, free: 12.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.366, allocations: 19.28 kB / 0.5203 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.3661, allocations: 29.94 kB / 0.5203 GB, free: 12.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.3661, allocations: 494.7 kB / 0.5208 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.3661, allocations: 9.625 kB / 0.5208 GB, free: 12.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.3661, allocations: 47.95 kB / 0.5208 GB, free: 12.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.3662, allocations: 69.69 kB / 0.5209 GB, free: 12.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3662, allocations: 0 / 0.5209 GB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.084e-05/0.3663, allocations: 79.42 kB / 0.521 GB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3663, allocations: 5.688 kB / 0.521 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3663, allocations: 2.688 kB / 0.521 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3663, allocations: 0 / 0.521 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/0.3664, allocations: 22.08 kB / 0.521 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3664, allocations: 3.938 kB / 0.521 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.3664, allocations: 6.719 kB / 0.521 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3664, allocations: 5.656 kB / 0.521 GB, free: 12.27 MB / 410.7 MB 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 4.893e-05/0.3665, allocations: 156.6 kB / 0.5212 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.3665, allocations: 7.359 kB / 0.5212 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.3666, allocations: 78.17 kB / 0.5212 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3666, allocations: 2.875 kB / 0.5212 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3666, allocations: 0 / 0.5212 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3666, allocations: 7.922 kB / 0.5212 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.095e-05/0.3667, allocations: 127.7 kB / 0.5214 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3667, allocations: 3 kB / 0.5214 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.3667, allocations: 8.438 kB / 0.5214 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.3667, allocations: 4 kB / 0.5214 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.3668, allocations: 0 / 0.5214 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3668, allocations: 3.25 kB / 0.5214 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3668, allocations: 3.406 kB / 0.5214 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.163e-05/0.3668, allocations: 204.3 kB / 0.5216 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.3668, allocations: 6.953 kB / 0.5216 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.3668, allocations: 3.938 kB / 0.5216 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.3669, allocations: 2.656 kB / 0.5216 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.3669, allocations: 2.906 kB / 0.5216 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3669, allocations: 5.281 kB / 0.5216 GB, free: 11.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.031e-05/0.3669, allocations: 128.4 kB / 0.5217 GB, free: 11.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3669, allocations: 4 kB / 0.5217 GB, free: 11.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003367/0.3672, allocations: 152.2 kB / 0.5219 GB, free: 11.53 MB / 410.7 MB 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.0004908/0.3677, allocations: 348.1 kB / 0.5222 GB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.3678, allocations: 36.88 kB / 0.5222 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3678, allocations: 0 / 0.5222 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.3679, allocations: 22.73 kB / 0.5223 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.3681, allocations: 18.8 kB / 0.5223 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.3687, allocations: 175.6 kB / 0.5224 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.743e-05/0.3687, allocations: 60.28 kB / 0.5225 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.173e-05/0.3688, allocations: 23.86 kB / 0.5225 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.3688, allocations: 20.55 kB / 0.5225 GB, free: 11.11 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3688, allocations: 0 / 0.5225 GB, free: 11.11 MB / 410.7 MB Notification: Performance of Templates: time 0.005398/0.3742, allocations: 3.748 MB / 0.5262 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.604143312666565]