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.001357/0.001357, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001104/0.001104, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.04/1.04, allocations: 177 MB / 205.2 MB, free: 5.047 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.2934/0.2934, allocations: 34.85 MB / 296.6 MB, free: 420 kB / 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.282e-06/1.282e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.264e-05, allocations: 5.125 kB / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3396/0.3396, allocations: 146.3 MB / 472.2 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.3411, allocations: 1.46 MB / 473.7 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.3412, allocations: 3.312 kB / 473.7 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.3415, allocations: 39.2 kB / 473.7 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.344, allocations: 1.043 MB / 474.8 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.302e-06/0.344, allocations: 0 / 474.8 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.3441, allocations: 67.81 kB / 474.9 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.3441, allocations: 10.81 kB / 474.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.3442, allocations: 35.64 kB / 474.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.3443, allocations: 26.81 kB / 474.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.3443, allocations: 3.156 kB / 474.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.3471, allocations: 1.684 MB / 476.6 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.3472, allocations: 17.67 kB / 476.6 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.3472, allocations: 16.08 kB / 476.6 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.3489, allocations: 1.035 MB / 477.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3489, allocations: 0 / 477.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3489, allocations: 4 kB / 477.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.3489, allocations: 0 / 477.7 MB, free: 12.11 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.0006505/0.3496, allocations: 414.4 kB / 478.1 MB, free: 11.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3496, allocations: 10.02 kB / 478.1 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.3497, allocations: 8.219 kB / 478.1 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.452e-05/0.3497, allocations: 115.7 kB / 478.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3497, allocations: 3.188 kB / 478.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.3497, allocations: 9.812 kB / 478.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.3498, allocations: 56.98 kB / 478.3 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3498, allocations: 0 / 478.3 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.3498, allocations: 0 / 478.3 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.3499, allocations: 11.95 kB / 478.3 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.3499, allocations: 25.08 kB / 478.3 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.3502, allocations: 203.1 kB / 478.5 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.3502, allocations: 78.62 kB / 478.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.3503, allocations: 10 kB / 478.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.3504, allocations: 56.39 kB / 478.7 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3504, allocations: 30.56 kB / 478.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.3504, allocations: 2.531 kB / 478.7 MB, free: 11.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001225/0.3506, allocations: 47.44 kB / 478.7 MB, free: 11.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.3506, allocations: 54.31 kB / 478.8 MB, free: 11.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.906e-05/0.3506, allocations: 120.4 kB / 478.9 MB, free: 11.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.3506, allocations: 29.27 kB / 478.9 MB, free: 11.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.3507, allocations: 91.33 kB / 479 MB, free: 10.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.3507, allocations: 20.09 kB / 479.1 MB, free: 10.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.3507, allocations: 27.83 kB / 479.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.3507, allocations: 317 kB / 479.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.3508, allocations: 14.53 kB / 479.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/0.3508, allocations: 34.22 kB / 479.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/0.3508, allocations: 48.8 kB / 479.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3508, allocations: 2.938 kB / 479.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.604e-05/0.3509, allocations: 64.84 kB / 479.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3509, allocations: 8.5 kB / 479.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3509, allocations: 2.719 kB / 479.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3509, allocations: 0 / 479.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.351, allocations: 17.97 kB / 479.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.351, allocations: 4.906 kB / 479.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.351, allocations: 13.42 kB / 479.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3511, allocations: 8.125 kB / 479.6 MB, free: 10.5 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.3e-05/0.3511, allocations: 114.8 kB / 479.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.3511, allocations: 5.375 kB / 479.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.671e-05/0.3512, allocations: 51.47 kB / 479.8 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3512, allocations: 2.578 kB / 479.8 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3512, allocations: 2.062 kB / 479.8 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3512, allocations: 3.938 kB / 479.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3513, allocations: 85.81 kB / 479.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3513, allocations: 0 / 479.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.3514, allocations: 11.28 kB / 479.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3514, allocations: 1.203 kB / 479.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.3514, allocations: 2.438 kB / 479.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3514, allocations: 0 / 479.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3514, allocations: 0 / 479.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.925e-05/0.3514, allocations: 194 kB / 480.1 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.3515, allocations: 6.891 kB / 480.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.3515, allocations: 2.391 kB / 480.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.3515, allocations: 0 / 480.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.3515, allocations: 12.14 kB / 480.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.3515, allocations: 3.031 kB / 480.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.334e-05/0.3515, allocations: 11.08 kB / 480.1 MB, free: 10.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3515, allocations: 1.094 kB / 480.1 MB, free: 10.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000425/0.352, allocations: 157.2 kB / 480.3 MB, free: 10.02 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.0005195/0.3525, allocations: 328.8 kB / 480.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.101e-05/0.3526, allocations: 37.33 kB / 480.6 MB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3526, allocations: 2.094 kB / 480.6 MB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-05/0.3526, allocations: 15.72 kB / 480.6 MB, free: 9.895 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.3528, allocations: 16.62 kB / 480.6 MB, free: 9.891 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.3534, allocations: 183.6 kB / 480.8 MB, free: 9.746 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.3534, allocations: 59.36 kB / 480.9 MB, free: 9.676 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.354e-05/0.3534, allocations: 19.55 kB / 480.9 MB, free: 9.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.3535, allocations: 70.77 kB / 481 MB, free: 9.621 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3535, allocations: 0 / 481 MB, free: 9.621 MB / 410.7 MB Notification: Performance of Templates: time 0.006249/0.3597, allocations: 4.443 MB / 485.4 MB, free: 8.887 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 -s gbode -gbm=radauIIA3 -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.3497342420741916]