Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001392/0.001392, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001097/0.001097, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.587e-05, allocations: 7.016 kB / 323.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.361/0.361, allocations: 146.3 MB / 469.5 MB, free: 12.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3624, allocations: 1.346 MB / 470.9 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.3625, allocations: 0 / 470.9 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.3628, allocations: 40.66 kB / 470.9 MB, free: 12.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.3656, allocations: 0.9938 MB / 471.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.3656, allocations: 6.594 kB / 471.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.3658, allocations: 54.94 kB / 471.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.3658, allocations: 2.562 kB / 471.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.3659, allocations: 24.89 kB / 472 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.366, allocations: 23.42 kB / 472 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.366, allocations: 0 / 472 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.3686, allocations: 1.653 MB / 473.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.3686, allocations: 11.45 kB / 473.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.3687, allocations: 11.84 kB / 473.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.3701, allocations: 1.025 MB / 474.7 MB, free: 12.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3701, allocations: 0 / 474.7 MB, free: 12.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3701, allocations: 2.969 kB / 474.7 MB, free: 12.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3701, allocations: 0 / 474.7 MB, free: 12.38 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00064/0.3708, allocations: 406.2 kB / 475.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3708, allocations: 11.28 kB / 475.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.3708, allocations: 5.875 kB / 475.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.059e-05/0.3709, allocations: 104.9 kB / 475.2 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3709, allocations: 2.438 kB / 475.2 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.3709, allocations: 7 kB / 475.2 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.371, allocations: 54.47 kB / 475.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.371, allocations: 4 kB / 475.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3711, allocations: 7.25 kB / 475.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3711, allocations: 5.25 kB / 475.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.123e-05/0.3711, allocations: 19.78 kB / 475.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.3714, allocations: 198.2 kB / 475.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.663e-05/0.3715, allocations: 34.23 kB / 475.5 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.3715, allocations: 11.75 kB / 475.6 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.3717, allocations: 51.58 kB / 475.6 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3717, allocations: 33.41 kB / 475.6 MB, free: 11.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.995e-06/0.3717, allocations: 3.984 kB / 475.6 MB, free: 11.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001398/0.3719, allocations: 48.94 kB / 475.7 MB, free: 11.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.3719, allocations: 60.28 kB / 475.7 MB, free: 11.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.982e-05/0.3719, allocations: 97.78 kB / 475.8 MB, free: 11.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.3719, allocations: 28.08 kB / 475.9 MB, free: 11.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.372, allocations: 99.81 kB / 476 MB, free: 11.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.372, allocations: 11.22 kB / 476 MB, free: 11.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.372, allocations: 23.11 kB / 476 MB, free: 11.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.3721, allocations: 323.5 kB / 476.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.3721, allocations: 2.281 kB / 476.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.3721, allocations: 33.7 kB / 476.4 MB, free: 10.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.669e-05/0.3721, allocations: 49.06 kB / 476.4 MB, free: 10.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3721, allocations: 0 / 476.4 MB, free: 10.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.343e-05/0.3722, allocations: 57.28 kB / 476.5 MB, free: 10.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3722, allocations: 5.125 kB / 476.5 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3722, allocations: 1.953 kB / 476.5 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3722, allocations: 3.219 kB / 476.5 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.3723, allocations: 16.95 kB / 476.5 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3723, allocations: 7.922 kB / 476.5 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.3723, allocations: 18.33 kB / 476.5 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.3723, allocations: 2.25 kB / 476.5 MB, free: 10.83 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 (7): * Single equations (assignments): 7 * 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 4.57e-05/0.3724, allocations: 111.6 kB / 476.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.3724, allocations: 2.375 kB / 476.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.3725, allocations: 60.66 kB / 476.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3725, allocations: 0 / 476.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.3725, allocations: 6.969 kB / 476.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3725, allocations: 2.531 kB / 476.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.441e-05/0.3726, allocations: 69.39 kB / 476.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3726, allocations: 0 / 476.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.3726, allocations: 9.266 kB / 476.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3726, allocations: 2.969 kB / 476.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.3726, allocations: 3.188 kB / 476.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3726, allocations: 0 / 476.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3726, allocations: 0 / 476.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.41e-05/0.3727, allocations: 140.1 kB / 476.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-06/0.3727, allocations: 5.094 kB / 476.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.3727, allocations: 7.938 kB / 476.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.3728, allocations: 0 / 476.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.3728, allocations: 9.344 kB / 476.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3728, allocations: 0 / 476.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.093e-05/0.3728, allocations: 12.72 kB / 476.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3728, allocations: 0 / 476.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000428/0.3732, allocations: 144.6 kB / 477.1 MB, free: 10.41 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 (4): * Single equations (assignments): 4 * 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.0005279/0.3737, allocations: 324.9 kB / 477.4 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.096e-05/0.3738, allocations: 33.94 kB / 477.4 MB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3738, allocations: 0 / 477.4 MB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.3738, allocations: 12.14 kB / 477.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.374, allocations: 16.67 kB / 477.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.3745, allocations: 159 kB / 477.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.846e-05/0.3745, allocations: 59.25 kB / 477.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.093e-05/0.3745, allocations: 3.125 kB / 477.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.3746, allocations: 65.89 kB / 477.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3746, allocations: 0 / 477.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of Templates: time 0.006568/0.3812, allocations: 4.094 MB / 481.8 MB, free: 9.547 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",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.385596315842122]