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.002475/0.002475, allocations: 91.61 kB / 20.96 MB, free: 3.312 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.002785/0.002785, allocations: 156.9 kB / 24.27 MB, free: 12 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.655/1.655, allocations: 177 MB / 204.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 178] 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.3965/0.3965, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.874e-06/1.874e-06, allocations: 0 / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.275e-05, allocations: 8.422 kB / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3785/0.3786, allocations: 146.6 MB / 0.5115 GB, free: 17.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3804, allocations: 1.469 MB / 0.5129 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.3804, allocations: 0 / 0.5129 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.3808, allocations: 40.12 kB / 0.513 GB, free: 16.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.3836, allocations: 1.101 MB / 0.514 GB, free: 16.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.621e-06/0.3836, allocations: 0 / 0.514 GB, free: 16.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.3838, allocations: 69.34 kB / 0.5141 GB, free: 16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.3838, allocations: 7.844 kB / 0.5141 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.3839, allocations: 33.52 kB / 0.5141 GB, free: 15.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.384, allocations: 32.08 kB / 0.5142 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.384, allocations: 0 / 0.5142 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.3866, allocations: 1.619 MB / 0.5157 GB, free: 15.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.3867, allocations: 16.97 kB / 0.5158 GB, free: 15.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.3867, allocations: 17.61 kB / 0.5158 GB, free: 15.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3881, allocations: 1.031 MB / 0.5168 GB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3882, allocations: 3.438 kB / 0.5168 GB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3882, allocations: 4 kB / 0.5168 GB, free: 15.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3882, allocations: 0 / 0.5168 GB, free: 15.21 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.0005965/0.3888, allocations: 0.5293 MB / 0.5173 GB, free: 14.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3888, allocations: 8.969 kB / 0.5173 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.3888, allocations: 5.156 kB / 0.5173 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.762e-05/0.3889, allocations: 119.5 kB / 0.5174 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3889, allocations: 5.906 kB / 0.5174 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.3889, allocations: 9.859 kB / 0.5175 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.389, allocations: 53.22 kB / 0.5175 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3891, allocations: 0 / 0.5175 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3891, allocations: 4 kB / 0.5175 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.3891, allocations: 7.141 kB / 0.5175 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.3892, allocations: 37.69 kB / 0.5176 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.3895, allocations: 311.9 kB / 0.5178 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.3896, allocations: 40.28 kB / 0.5179 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.3897, allocations: 19.5 kB / 0.5179 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.3898, allocations: 32.66 kB / 0.5179 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.3898, allocations: 33.39 kB / 0.518 GB, free: 14.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.3898, allocations: 0 / 0.518 GB, free: 14.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001913/0.39, allocations: 63.5 kB / 0.518 GB, free: 14.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.39, allocations: 55.41 kB / 0.5181 GB, free: 14.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.603e-05/0.3901, allocations: 175 kB / 0.5182 GB, free: 13.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.3901, allocations: 27.39 kB / 0.5183 GB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.3901, allocations: 149.7 kB / 0.5184 GB, free: 13.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-06/0.3901, allocations: 7.906 kB / 0.5184 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.3901, allocations: 35.62 kB / 0.5185 GB, free: 13.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.3902, allocations: 492.1 kB / 0.5189 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.3902, allocations: 13.28 kB / 0.5189 GB, free: 13.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.3903, allocations: 47.86 kB / 0.519 GB, free: 13.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.021e-05/0.3903, allocations: 68.16 kB / 0.5191 GB, free: 13.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3903, allocations: 2.562 kB / 0.5191 GB, free: 13.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.3904, allocations: 77.14 kB / 0.5191 GB, free: 12.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3904, allocations: 7.859 kB / 0.5191 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3904, allocations: 0 / 0.5191 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.3905, allocations: 1.812 kB / 0.5191 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.3905, allocations: 10.38 kB / 0.5191 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3906, allocations: 10.91 kB / 0.5192 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.3906, allocations: 8.031 kB / 0.5192 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.3906, allocations: 12.22 kB / 0.5192 GB, free: 12.96 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.582e-05/0.3906, allocations: 154.8 kB / 0.5193 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3907, allocations: 13.12 kB / 0.5193 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.3908, allocations: 70.45 kB / 0.5194 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3908, allocations: 7.094 kB / 0.5194 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3908, allocations: 0 / 0.5194 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3908, allocations: 10.23 kB / 0.5194 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.3909, allocations: 128.9 kB / 0.5195 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3909, allocations: 0 / 0.5195 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.391, allocations: 10.5 kB / 0.5196 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.391, allocations: 0 / 0.5196 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.391, allocations: 4.844 kB / 0.5196 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.391, allocations: 0 / 0.5196 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.391, allocations: 0 / 0.5196 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.3911, allocations: 208.7 kB / 0.5198 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.3911, allocations: 3.953 kB / 0.5198 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3911, allocations: 2.719 kB / 0.5198 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.773e-05/0.3912, allocations: 4 kB / 0.5198 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.3912, allocations: 8.844 kB / 0.5198 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3912, allocations: 2.344 kB / 0.5198 GB, free: 12.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.608e-05/0.3912, allocations: 129 kB / 0.5199 GB, free: 12.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3912, allocations: 0 / 0.5199 GB, free: 12.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004705/0.3917, allocations: 156.7 kB / 0.5201 GB, free: 12.21 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.0005986/0.3923, allocations: 348.9 kB / 0.5204 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.3924, allocations: 47.28 kB / 0.5204 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3924, allocations: 0 / 0.5204 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.3924, allocations: 25.91 kB / 0.5205 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3927, allocations: 17.95 kB / 0.5205 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.3931, allocations: 160.5 kB / 0.5206 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.3931, allocations: 73.58 kB / 0.5207 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.3932, allocations: 19.23 kB / 0.5207 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.3932, allocations: 18.44 kB / 0.5207 GB, free: 11.78 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3932, allocations: 0 / 0.5207 GB, free: 11.78 MB / 410.7 MB Notification: Performance of Templates: time 0.007128/0.4003, allocations: 3.751 MB / 0.5244 GB, free: 11.4 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.665690792025998]