Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009787/0.0009787, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001099/0.001099, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2902/0.2902, allocations: 34.25 MB / 296.1 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.528e-05, allocations: 2.969 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3234/0.3234, allocations: 146.3 MB / 471.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3246, allocations: 1.459 MB / 473 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.3246, allocations: 0 / 473 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.3249, allocations: 41.34 kB / 473.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.3267, allocations: 1.043 MB / 474.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.317e-06/0.3267, allocations: 0 / 474.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.3268, allocations: 72.91 kB / 474.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.3268, allocations: 6.766 kB / 474.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.3268, allocations: 33.8 kB / 474.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.3269, allocations: 25.77 kB / 474.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.697e-06/0.3269, allocations: 6.531 kB / 474.3 MB, free: 12.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.3287, allocations: 1.68 MB / 475.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.3288, allocations: 15.86 kB / 476 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.3288, allocations: 13.22 kB / 476 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009817/0.3298, allocations: 1.044 MB / 477 MB, free: 12.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3298, allocations: 0 / 477 MB, free: 12.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3298, allocations: 0 / 477 MB, free: 12.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3298, allocations: 0 / 477 MB, free: 12.19 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.0004326/0.3302, allocations: 414.6 kB / 477.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.3302, allocations: 15.53 kB / 477.4 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.3303, allocations: 8.453 kB / 477.4 MB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.868e-05/0.3303, allocations: 116 kB / 477.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.3303, allocations: 0 / 477.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.3303, allocations: 6.469 kB / 477.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.253e-05/0.3304, allocations: 60.67 kB / 477.6 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.3304, allocations: 1.203 kB / 477.6 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.3304, allocations: 0 / 477.6 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.3304, allocations: 13.7 kB / 477.6 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.908e-05/0.3305, allocations: 18.84 kB / 477.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.3307, allocations: 212.3 kB / 477.9 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.038e-05/0.3307, allocations: 77.95 kB / 477.9 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.3307, allocations: 10.67 kB / 478 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.3309, allocations: 55.41 kB / 478 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.3309, allocations: 30.56 kB / 478 MB, free: 11.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3309, allocations: 1.094 kB / 478 MB, free: 11.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 9.089e-05/0.331, allocations: 54.53 kB / 478.1 MB, free: 11.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.182e-05/0.331, allocations: 51.41 kB / 478.1 MB, free: 11.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.486e-05/0.331, allocations: 116 kB / 478.3 MB, free: 11.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-06/0.331, allocations: 25.7 kB / 478.3 MB, free: 11.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.067e-05/0.331, allocations: 101.7 kB / 478.4 MB, free: 11.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.3311, allocations: 19.33 kB / 478.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.3311, allocations: 24.06 kB / 478.4 MB, free: 11.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.3311, allocations: 317.6 kB / 478.7 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.3312, allocations: 8.219 kB / 478.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.3312, allocations: 34.41 kB / 478.8 MB, free: 10.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.3313, allocations: 52.88 kB / 478.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3313, allocations: 0 / 478.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.908e-05/0.3313, allocations: 73.25 kB / 478.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3313, allocations: 5.5 kB / 478.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3314, allocations: 1.75 kB / 478.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3314, allocations: 2.812 kB / 478.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.3314, allocations: 12.64 kB / 478.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.3314, allocations: 5.656 kB / 478.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.3315, allocations: 7.891 kB / 478.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3315, allocations: 9.219 kB / 478.9 MB, free: 10.59 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.262e-05/0.3315, allocations: 109.9 kB / 479 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.3315, allocations: 10.78 kB / 479.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.3316, allocations: 59.47 kB / 479.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.3317, allocations: 2.297 kB / 479.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.3317, allocations: 0 / 479.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3317, allocations: 3.25 kB / 479.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.105e-05/0.3317, allocations: 79.56 kB / 479.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3318, allocations: 2.75 kB / 479.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.3318, allocations: 12.97 kB / 479.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3318, allocations: 1.875 kB / 479.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.3318, allocations: 2.938 kB / 479.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3318, allocations: 1.094 kB / 479.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3318, allocations: 0 / 479.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.385e-05/0.3318, allocations: 198.3 kB / 479.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.3319, allocations: 2.531 kB / 479.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.3319, allocations: 5.688 kB / 479.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.76e-05/0.3319, allocations: 0 / 479.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.3319, allocations: 5.516 kB / 479.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.3319, allocations: 3.984 kB / 479.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.789e-05/0.332, allocations: 14.27 kB / 479.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.332, allocations: 0 / 479.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.3323, allocations: 155.4 kB / 479.6 MB, free: 10.1 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.000466/0.3328, allocations: 329.1 kB / 479.9 MB, free: 9.996 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.926e-05/0.3329, allocations: 38.25 kB / 480 MB, free: 9.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3329, allocations: 0 / 480 MB, free: 9.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.3329, allocations: 15.8 kB / 480 MB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.3331, allocations: 23.75 kB / 480 MB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.3336, allocations: 182.7 kB / 480.2 MB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.476e-05/0.3336, allocations: 59.78 kB / 480.2 MB, free: 9.754 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.461e-05/0.3337, allocations: 23.83 kB / 480.3 MB, free: 9.742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.3337, allocations: 67.16 kB / 480.3 MB, free: 9.695 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3337, allocations: 0 / 480.3 MB, free: 9.695 MB / 410.7 MB Notification: Performance of Templates: time 0.005564/0.3393, allocations: 4.432 MB / 484.8 MB, free: 9.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.407293471042067]