Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009875/0.0009875, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8467/0.8467, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1392/0.1392, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.791e-05, allocations: 2.312 kB / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2589/0.2589, allocations: 144.6 MB / 443.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2606, allocations: 1.211 MB / 444.9 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.2606, allocations: 0 / 444.9 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.2609, allocations: 31.77 kB / 444.9 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.2629, allocations: 0.8668 MB / 445.8 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.267e-06/0.2629, allocations: 0 / 445.8 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.86e-05/0.263, allocations: 47.72 kB / 445.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.263, allocations: 0 / 445.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.263, allocations: 27.92 kB / 445.8 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.2631, allocations: 23.91 kB / 445.9 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-06/0.2631, allocations: 3.938 kB / 445.9 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.2647, allocations: 1.423 MB / 447.3 MB, free: 9.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.2647, allocations: 15.92 kB / 447.3 MB, free: 9.574 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.2647, allocations: 11.98 kB / 447.3 MB, free: 9.562 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008257/0.2656, allocations: 0.8493 MB / 448.2 MB, free: 8.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2656, allocations: 0 / 448.2 MB, free: 8.711 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.2656, allocations: 0 / 448.2 MB, free: 8.711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2656, allocations: 0 / 448.2 MB, free: 8.711 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004248/0.266, allocations: 384.3 kB / 448.5 MB, free: 8.312 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.266, allocations: 8.031 kB / 448.5 MB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.2661, allocations: 4.938 kB / 448.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.192e-05/0.2661, allocations: 109.8 kB / 448.7 MB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2661, allocations: 4.375 kB / 448.7 MB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.2661, allocations: 12.11 kB / 448.7 MB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/0.2662, allocations: 41.06 kB / 448.7 MB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.2662, allocations: 0 / 448.7 MB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.2662, allocations: 8 kB / 448.7 MB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.2662, allocations: 7.938 kB / 448.7 MB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.2663, allocations: 19.98 kB / 448.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.2665, allocations: 185.8 kB / 448.9 MB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.7e-05/0.2665, allocations: 30.59 kB / 449 MB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.2665, allocations: 16.84 kB / 449 MB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.2666, allocations: 8 kB / 449 MB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.2666, allocations: 34.56 kB / 449 MB, free: 7.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.2666, allocations: 0 / 449 MB, free: 7.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.166e-05/0.2667, allocations: 45.62 kB / 449.1 MB, free: 7.711 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.2668, allocations: 55.41 kB / 449.1 MB, free: 7.645 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.453e-05/0.2668, allocations: 106.6 kB / 449.2 MB, free: 7.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.2668, allocations: 29.7 kB / 449.3 MB, free: 7.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.2669, allocations: 92.03 kB / 449.3 MB, free: 7.398 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.2669, allocations: 19.83 kB / 449.4 MB, free: 7.379 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.2669, allocations: 17.72 kB / 449.4 MB, free: 7.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.267, allocations: 314.8 kB / 449.7 MB, free: 7.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-06/0.267, allocations: 7.938 kB / 449.7 MB, free: 7.031 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.267, allocations: 35.41 kB / 449.7 MB, free: 6.984 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.267, allocations: 46.56 kB / 449.8 MB, free: 6.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.267, allocations: 5.312 kB / 449.8 MB, free: 6.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.109e-05/0.2671, allocations: 53.66 kB / 449.8 MB, free: 6.863 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.2671, allocations: 4 kB / 449.8 MB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2671, allocations: 4 kB / 449.8 MB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.2671, allocations: 0 / 449.8 MB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.2672, allocations: 15.92 kB / 449.9 MB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.2672, allocations: 4 kB / 449.9 MB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.2672, allocations: 4 kB / 449.9 MB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.2672, allocations: 4 kB / 449.9 MB, free: 6.828 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 (6): * Single equations (assignments): 6 * Array equations: 0 * 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 5.286e-05/0.2673, allocations: 120.7 kB / 450 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.2673, allocations: 0 / 450 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/0.2673, allocations: 55.25 kB / 450 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2673, allocations: 4 kB / 450 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2673, allocations: 0.8125 kB / 450 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2673, allocations: 0 / 450 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.2676, allocations: 69.83 kB / 450.1 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2676, allocations: 0 / 450.1 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.2676, allocations: 19.98 kB / 450.1 MB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2676, allocations: 0 / 450.1 MB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.2676, allocations: 1.25 kB / 450.1 MB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.2676, allocations: 0 / 450.1 MB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2676, allocations: 0 / 450.1 MB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.792e-05/0.2677, allocations: 135.5 kB / 450.3 MB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.2677, allocations: 3.953 kB / 450.3 MB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-06/0.2677, allocations: 0 / 450.3 MB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/0.2677, allocations: 7.938 kB / 450.3 MB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.2678, allocations: 3.984 kB / 450.3 MB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2678, allocations: 4 kB / 450.3 MB, free: 6.363 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.185e-06/0.2678, allocations: 12.86 kB / 450.3 MB, free: 6.348 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2678, allocations: 0 / 450.3 MB, free: 6.348 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.268, allocations: 95.61 kB / 450.4 MB, free: 6.254 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0003349/0.2683, allocations: 245.2 kB / 450.6 MB, free: 6.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.096e-05/0.2684, allocations: 24.78 kB / 450.7 MB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2684, allocations: 0 / 450.7 MB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.2684, allocations: 17.36 kB / 450.7 MB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.2685, allocations: 11.94 kB / 450.7 MB, free: 5.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.2689, allocations: 155.9 kB / 450.8 MB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.2689, allocations: 59.34 kB / 450.9 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.269, allocations: 11.25 kB / 450.9 MB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.269, allocations: 55.38 kB / 451 MB, free: 5.629 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.269, allocations: 0 / 451 MB, free: 5.629 MB / 410.7 MB Notification: Performance of Templates: time 0.004501/0.2735, allocations: 3.233 MB / 454.2 MB, free: 2.414 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.33429153310135]