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.001163/0.001163, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001401/0.001401, allocations: 163.5 kB / 25.61 MB, free: 8.441 MB / 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 1.06/1.06, allocations: 177 MB / 205.9 MB, free: 4.457 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.1758/0.1758, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.573e-06/1.573e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.007e-05, allocations: 2.312 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3892/0.3893, allocations: 144.1 MB / 0.5118 GB, free: 13.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3909, allocations: 1.453 MB / 0.5132 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.391, allocations: 0 / 0.5132 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.3914, allocations: 45.38 kB / 0.5133 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.3945, allocations: 1.099 MB / 0.5144 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.46e-06/0.3945, allocations: 0 / 0.5144 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.3947, allocations: 75.94 kB / 0.5144 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.3947, allocations: 3.969 kB / 0.5144 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3948, allocations: 32.3 kB / 0.5145 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.395, allocations: 33.14 kB / 0.5145 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.395, allocations: 2.531 kB / 0.5145 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.3978, allocations: 1.612 MB / 0.5161 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.3978, allocations: 13.94 kB / 0.5161 GB, free: 13.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.3978, allocations: 19.38 kB / 0.5161 GB, free: 13.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.3993, allocations: 1.039 MB / 0.5171 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3993, allocations: 2.578 kB / 0.5171 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3993, allocations: 0 / 0.5171 GB, free: 13.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3993, allocations: 1.094 kB / 0.5171 GB, free: 13.43 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.0006323/0.3999, allocations: 0.5286 MB / 0.5176 GB, free: 12.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.4, allocations: 11.12 kB / 0.5177 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.4, allocations: 9.688 kB / 0.5177 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.73e-05/0.4001, allocations: 114.2 kB / 0.5178 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4001, allocations: 0.875 kB / 0.5178 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.4001, allocations: 10.88 kB / 0.5178 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.707e-05/0.4002, allocations: 54.73 kB / 0.5178 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4002, allocations: 0 / 0.5178 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.4002, allocations: 3.625 kB / 0.5178 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.4002, allocations: 11.7 kB / 0.5179 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.4003, allocations: 18.83 kB / 0.5179 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.4006, allocations: 295.7 kB / 0.5182 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.904e-05/0.4006, allocations: 41.62 kB / 0.5182 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.4006, allocations: 14.44 kB / 0.5182 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.24e-05/0.4007, allocations: 27.36 kB / 0.5182 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.4007, allocations: 36.11 kB / 0.5183 GB, free: 12.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.4007, allocations: 4 kB / 0.5183 GB, free: 12.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001306/0.4009, allocations: 61.83 kB / 0.5183 GB, free: 12.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.4009, allocations: 51.41 kB / 0.5184 GB, free: 12.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.066e-05/0.4009, allocations: 171.7 kB / 0.5185 GB, free: 12.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-06/0.4009, allocations: 29.2 kB / 0.5186 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.401, allocations: 143.2 kB / 0.5187 GB, free: 12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-06/0.401, allocations: 14.67 kB / 0.5187 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.401, allocations: 29.83 kB / 0.5187 GB, free: 11.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.4011, allocations: 0.49 MB / 0.5192 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.4011, allocations: 8.359 kB / 0.5192 GB, free: 11.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.4011, allocations: 48.88 kB / 0.5193 GB, free: 11.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.4012, allocations: 56.81 kB / 0.5193 GB, free: 11.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4012, allocations: 2.188 kB / 0.5193 GB, free: 11.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.016e-05/0.4012, allocations: 83.33 kB / 0.5194 GB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.4012, allocations: 5.5 kB / 0.5194 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4012, allocations: 4.141 kB / 0.5194 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.4013, allocations: 0 / 0.5194 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.4013, allocations: 17.11 kB / 0.5194 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4013, allocations: 2.625 kB / 0.5194 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.4013, allocations: 7.875 kB / 0.5195 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4014, allocations: 8.438 kB / 0.5195 GB, free: 11.31 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.589e-05/0.4014, allocations: 158.8 kB / 0.5196 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.4014, allocations: 7.016 kB / 0.5196 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.4015, allocations: 69.89 kB / 0.5197 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4015, allocations: 6.781 kB / 0.5197 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.4015, allocations: 0 / 0.5197 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.4016, allocations: 1.094 kB / 0.5197 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.41e-05/0.4016, allocations: 107.8 kB / 0.5198 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.4016, allocations: 0 / 0.5198 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.4017, allocations: 10.92 kB / 0.5198 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.4017, allocations: 0 / 0.5198 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.4017, allocations: 3.312 kB / 0.5198 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4017, allocations: 2.5 kB / 0.5198 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4017, allocations: 2.812 kB / 0.5198 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.925e-05/0.4018, allocations: 210.5 kB / 0.52 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.4018, allocations: 9.984 kB / 0.52 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.4018, allocations: 4.219 kB / 0.52 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.4018, allocations: 0 / 0.52 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.4018, allocations: 4.797 kB / 0.52 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.4018, allocations: 0 / 0.52 GB, free: 10.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.048e-05/0.4018, allocations: 127 kB / 0.5202 GB, free: 10.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4018, allocations: 0 / 0.5202 GB, free: 10.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003653/0.4022, allocations: 148.4 kB / 0.5203 GB, free: 10.64 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.0005608/0.4028, allocations: 354.4 kB / 0.5206 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.4029, allocations: 36.36 kB / 0.5207 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.4029, allocations: 0 / 0.5207 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.4029, allocations: 22.47 kB / 0.5207 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.4031, allocations: 21.92 kB / 0.5207 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.4037, allocations: 181 kB / 0.5209 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.4037, allocations: 58.91 kB / 0.5209 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.723e-05/0.4038, allocations: 15.67 kB / 0.521 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.4038, allocations: 80.31 kB / 0.521 GB, free: 10.19 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.4038, allocations: 6.719 kB / 0.521 GB, free: 10.19 MB / 410.7 MB Notification: Performance of Templates: time 0.005434/0.4093, allocations: 4.476 MB / 0.5254 GB, free: 9.359 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: 4.089174268301576]