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.001039/0.001039, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.0009882/0.0009882, allocations: 156.5 kB / 24.56 MB, free: 8 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 1.039/1.039, allocations: 177 MB / 204.8 MB, free: 5.57 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.2739/0.2739, allocations: 34.85 MB / 296.3 MB, free: 0.5234 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 2.174e-06/2.174e-06, allocations: 0 / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.57e-05, allocations: 4.703 kB / 378.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2776/0.2776, allocations: 146.9 MB / 0.5133 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2789, allocations: 1.467 MB / 0.5147 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.279, allocations: 3.938 kB / 0.5148 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.2793, allocations: 43.08 kB / 0.5148 GB, free: 15.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.2816, allocations: 1.103 MB / 0.5159 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.888e-06/0.2816, allocations: 0 / 0.5159 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.2817, allocations: 69.59 kB / 0.5159 GB, free: 15.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.463e-05/0.2817, allocations: 7.625 kB / 0.5159 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.2818, allocations: 29.33 kB / 0.516 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.2819, allocations: 39.59 kB / 0.516 GB, free: 15.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.2819, allocations: 0 / 0.516 GB, free: 15.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.2839, allocations: 1.616 MB / 0.5176 GB, free: 14.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.284, allocations: 17.78 kB / 0.5176 GB, free: 14.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.284, allocations: 16.5 kB / 0.5176 GB, free: 14.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.2853, allocations: 1.032 MB / 0.5186 GB, free: 14.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2853, allocations: 0 / 0.5186 GB, free: 14.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2853, allocations: 0 / 0.5186 GB, free: 14.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.2853, allocations: 0 / 0.5186 GB, free: 14.53 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.0006583/0.286, allocations: 0.5346 MB / 0.5191 GB, free: 14.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.286, allocations: 8.969 kB / 0.5192 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.2861, allocations: 12.5 kB / 0.5192 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.801e-05/0.2862, allocations: 119.8 kB / 0.5193 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2862, allocations: 0 / 0.5193 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.2862, allocations: 7.25 kB / 0.5193 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2863, allocations: 57.52 kB / 0.5193 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2863, allocations: 0 / 0.5193 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.2863, allocations: 4 kB / 0.5193 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.2863, allocations: 10.27 kB / 0.5194 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.2864, allocations: 29.86 kB / 0.5194 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.2867, allocations: 309.3 kB / 0.5197 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.333e-05/0.2868, allocations: 41.5 kB / 0.5197 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.2868, allocations: 15.67 kB / 0.5197 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.844e-05/0.2869, allocations: 28.72 kB / 0.5198 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.2869, allocations: 39.45 kB / 0.5198 GB, free: 13.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.2869, allocations: 0 / 0.5198 GB, free: 13.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001452/0.287, allocations: 60.55 kB / 0.5199 GB, free: 13.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.2871, allocations: 54.19 kB / 0.5199 GB, free: 13.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.33e-05/0.2871, allocations: 170.2 kB / 0.5201 GB, free: 13.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.2871, allocations: 33.7 kB / 0.5201 GB, free: 13.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.2871, allocations: 144.2 kB / 0.5202 GB, free: 13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.446e-06/0.2871, allocations: 17.09 kB / 0.5203 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.2872, allocations: 27.31 kB / 0.5203 GB, free: 12.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.2872, allocations: 495.2 kB / 0.5208 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.2872, allocations: 17.2 kB / 0.5208 GB, free: 12.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.2872, allocations: 43.66 kB / 0.5208 GB, free: 12.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.2873, allocations: 65.86 kB / 0.5209 GB, free: 12.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2873, allocations: 4.109 kB / 0.5209 GB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.267e-05/0.2874, allocations: 87.7 kB / 0.521 GB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2874, allocations: 3.344 kB / 0.521 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2874, allocations: 1.406 kB / 0.521 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2874, allocations: 4.609 kB / 0.521 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.2875, allocations: 11.88 kB / 0.521 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2875, allocations: 6.844 kB / 0.521 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.2875, allocations: 6.875 kB / 0.521 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2875, allocations: 8.719 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.158e-05/0.2875, allocations: 160.7 kB / 0.5212 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.2876, allocations: 8.641 kB / 0.5212 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.2877, allocations: 65.06 kB / 0.5212 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2877, allocations: 0 / 0.5212 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2877, allocations: 2.562 kB / 0.5212 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2877, allocations: 3.938 kB / 0.5212 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.749e-05/0.2878, allocations: 125.2 kB / 0.5214 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2878, allocations: 4 kB / 0.5214 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.2878, allocations: 9.938 kB / 0.5214 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2878, allocations: 5.781 kB / 0.5214 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.2878, allocations: 0 / 0.5214 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2878, allocations: 3.25 kB / 0.5214 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2878, allocations: 0 / 0.5214 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.472e-05/0.2879, allocations: 207.9 kB / 0.5216 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.2879, allocations: 3.953 kB / 0.5216 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.2879, allocations: 6.922 kB / 0.5216 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.573e-05/0.2879, allocations: 3.984 kB / 0.5216 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.2879, allocations: 2.391 kB / 0.5216 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.288, allocations: 10.91 kB / 0.5216 GB, free: 11.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2e-05/0.288, allocations: 130.5 kB / 0.5217 GB, free: 11.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.288, allocations: 0 / 0.5217 GB, free: 11.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003597/0.2883, allocations: 154.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.0004679/0.2888, allocations: 347.9 kB / 0.5222 GB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.2889, allocations: 31.58 kB / 0.5222 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2889, allocations: 6.969 kB / 0.5222 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.2889, allocations: 27.12 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.0002018/0.2891, allocations: 15.23 kB / 0.5223 GB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.2897, allocations: 168.6 kB / 0.5224 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.652e-05/0.2897, allocations: 64.36 kB / 0.5225 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.2898, allocations: 22.34 kB / 0.5225 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.2898, allocations: 18.47 kB / 0.5225 GB, free: 11.11 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2898, allocations: 0 / 0.5225 GB, free: 11.11 MB / 410.7 MB Notification: Performance of Templates: time 0.005642/0.2955, allocations: 4.432 MB / 0.5269 GB, free: 10.57 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.4927377179265022]