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.001311/0.001311, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001573/0.001573, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.371/1.371, allocations: 230.3 MB / 257.9 MB, free: 8.219 MB / 206.1 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.2155/0.2155, allocations: 46.89 MB / 361.3 MB, free: 4.449 MB / 286.1 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 0.002225/0.002225, allocations: 79.88 kB / 0.497 GB, free: 7.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2993, allocations: 66.04 MB / 0.5615 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2019/0.5012, allocations: 154.4 MB / 0.7123 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.5032, allocations: 1.472 MB / 0.7137 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.5033, allocations: 4 kB / 0.7137 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.5036, allocations: 43.73 kB / 0.7138 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.5063, allocations: 1.095 MB / 0.7149 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.757e-06/0.5063, allocations: 0 / 0.7149 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.5064, allocations: 63.64 kB / 0.7149 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.5064, allocations: 8 kB / 0.7149 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.349e-05/0.5065, allocations: 23.91 kB / 0.715 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.5065, allocations: 35.84 kB / 0.715 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.256e-06/0.5066, allocations: 0 / 0.715 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00322/0.5098, allocations: 1.946 MB / 0.7169 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.5098, allocations: 19.92 kB / 0.7169 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.5099, allocations: 19.88 kB / 0.7169 GB, free: 4.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.512, allocations: 0.9351 MB / 0.7178 GB, free: 3.973 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.512, allocations: 0 / 0.7178 GB, free: 3.973 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.512, allocations: 0 / 0.7178 GB, free: 3.973 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.512, allocations: 0 / 0.7178 GB, free: 3.973 MB / 0.545 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.0009483/0.5129, allocations: 436.6 kB / 0.7183 GB, free: 3.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.513, allocations: 11.97 kB / 0.7183 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.513, allocations: 8.891 kB / 0.7183 GB, free: 3.496 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.5131, allocations: 117.7 kB / 0.7184 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.5132, allocations: 3.984 kB / 0.7184 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.5132, allocations: 7.984 kB / 0.7184 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.5134, allocations: 85.61 kB / 0.7185 GB, free: 3.254 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5134, allocations: 0 / 0.7185 GB, free: 3.254 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.5134, allocations: 0 / 0.7185 GB, free: 3.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.5134, allocations: 11.98 kB / 0.7185 GB, free: 3.242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.5136, allocations: 63.97 kB / 0.7186 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006238/0.5142, allocations: 291.7 kB / 0.7188 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.5143, allocations: 38.56 kB / 0.7189 GB, free: 2.805 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.5144, allocations: 12.86 kB / 0.7189 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.5145, allocations: 32.09 kB / 0.7189 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.5146, allocations: 34.5 kB / 0.7189 GB, free: 2.715 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.5146, allocations: 0 / 0.7189 GB, free: 2.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002838/0.5149, allocations: 73.62 kB / 0.719 GB, free: 2.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.5149, allocations: 55.41 kB / 0.7191 GB, free: 2.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.515, allocations: 109.8 kB / 0.7192 GB, free: 2.453 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.5151, allocations: 25.7 kB / 0.7192 GB, free: 2.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.5151, allocations: 92.03 kB / 0.7193 GB, free: 2.328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.5151, allocations: 19.84 kB / 0.7193 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.5152, allocations: 25.78 kB / 0.7193 GB, free: 2.277 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5154, allocations: 322.8 kB / 0.7196 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.5154, allocations: 12 kB / 0.7196 GB, free: 1.941 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.5155, allocations: 43.39 kB / 0.7197 GB, free: 1.887 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.5157, allocations: 55.86 kB / 0.7197 GB, free: 1.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5157, allocations: 0 / 0.7197 GB, free: 1.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001837/0.5159, allocations: 93.55 kB / 0.7198 GB, free: 1.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5159, allocations: 4 kB / 0.7198 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5159, allocations: 4 kB / 0.7198 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.5159, allocations: 7.922 kB / 0.7198 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.516, allocations: 12 kB / 0.7199 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.516, allocations: 0 / 0.7199 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.5161, allocations: 4 kB / 0.7199 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.5161, allocations: 15.92 kB / 0.7199 GB, free: 1.676 MB / 0.545 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 0.0001167/0.5162, allocations: 113.9 kB / 0.72 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.5162, allocations: 7.891 kB / 0.72 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.5165, allocations: 77.36 kB / 0.7201 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.5165, allocations: 0 / 0.7201 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5165, allocations: 0 / 0.7201 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5165, allocations: 0 / 0.7201 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.5167, allocations: 144.7 kB / 0.7202 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5167, allocations: 4 kB / 0.7202 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.5168, allocations: 11.94 kB / 0.7202 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5168, allocations: 0 / 0.7202 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.5168, allocations: 0 / 0.7202 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5168, allocations: 0 / 0.7202 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.5168, allocations: 0 / 0.7202 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.517, allocations: 163.4 kB / 0.7204 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.517, allocations: 7.938 kB / 0.7204 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.517, allocations: 4 kB / 0.7204 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.5171, allocations: 4 kB / 0.7204 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.5172, allocations: 0 / 0.7204 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.5172, allocations: 4.188 kB / 0.7204 GB, free: 1.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.573e-05/0.5172, allocations: 91.27 kB / 0.7205 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5172, allocations: 0 / 0.7205 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007726/0.518, allocations: 155.5 kB / 0.7206 GB, free: 0.8281 MB / 0.545 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.0009461/0.519, allocations: 318.5 kB / 0.7209 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.5191, allocations: 47.89 kB / 0.721 GB, free: 472 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5191, allocations: 0 / 0.721 GB, free: 472 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.5192, allocations: 12 kB / 0.721 GB, free: 460 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.5196, allocations: 14.33 kB / 0.721 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.5201, allocations: 172.8 kB / 0.7212 GB, free: 248 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.5205, allocations: 0.6885 MB / 0.7218 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.5206, allocations: 16.14 kB / 0.7219 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.5207, allocations: 11.44 kB / 0.7219 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.5207, allocations: 4 kB / 0.7219 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.01077/0.5314, allocations: 3.716 MB / 0.7255 GB, free: 11.79 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.356777066364884]