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.002313/0.002313, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002903/0.002903, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 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 1.511/1.511, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2003/0.2003, allocations: 32.37 MB / 270 MB, free: 14.77 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.392e-06/1.392e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.567e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.35/0.35, allocations: 144.8 MB / 491.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.3514, allocations: 1.213 MB / 493 MB, free: 8.988 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.3515, allocations: 0 / 493 MB, free: 8.988 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.3518, allocations: 31.8 kB / 493 MB, free: 8.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.3538, allocations: 0.9011 MB / 493.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.64e-06/0.3538, allocations: 3.938 kB / 493.9 MB, free: 8.566 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.354, allocations: 44.92 kB / 493.9 MB, free: 8.551 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.354, allocations: 3.984 kB / 493.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/0.3541, allocations: 28.64 kB / 494 MB, free: 8.535 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.3541, allocations: 18.41 kB / 494 MB, free: 8.531 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3541, allocations: 3.062 kB / 494 MB, free: 8.531 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.3561, allocations: 1.381 MB / 495.4 MB, free: 8.105 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.3561, allocations: 13.45 kB / 495.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.3562, allocations: 12.5 kB / 495.4 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.3573, allocations: 0.8518 MB / 496.2 MB, free: 7.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3573, allocations: 3.938 kB / 496.2 MB, free: 7.785 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3573, allocations: 2.438 kB / 496.3 MB, free: 7.785 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3573, allocations: 4 kB / 496.3 MB, free: 7.781 MB / 362.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.0005527/0.3578, allocations: 491.6 kB / 496.7 MB, free: 7.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3579, allocations: 8.719 kB / 496.7 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.3579, allocations: 13 kB / 496.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.122e-05/0.358, allocations: 112.6 kB / 496.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.358, allocations: 3.312 kB / 496.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.358, allocations: 7.047 kB / 496.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3581, allocations: 55.59 kB / 496.9 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3581, allocations: 2.312 kB / 496.9 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3581, allocations: 3.562 kB / 496.9 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.3582, allocations: 9.969 kB / 496.9 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.239e-05/0.3582, allocations: 21.36 kB / 497 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.3586, allocations: 292.8 kB / 497.3 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.3587, allocations: 45.08 kB / 497.3 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.3587, allocations: 10.31 kB / 497.3 MB, free: 6.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.3588, allocations: 16.02 kB / 497.3 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.3588, allocations: 36.39 kB / 497.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3588, allocations: 0 / 497.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001672/0.359, allocations: 59.28 kB / 497.4 MB, free: 6.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.359, allocations: 51.41 kB / 497.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.783e-05/0.3591, allocations: 166.5 kB / 497.6 MB, free: 6.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.3591, allocations: 25.7 kB / 497.7 MB, free: 6.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.3591, allocations: 145.5 kB / 497.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.633e-06/0.3591, allocations: 3.953 kB / 497.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3591, allocations: 31.83 kB / 497.8 MB, free: 6.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.3592, allocations: 498.4 kB / 498.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.3592, allocations: 3.031 kB / 498.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.3593, allocations: 47.33 kB / 498.4 MB, free: 5.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.3593, allocations: 56.16 kB / 498.4 MB, free: 5.664 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3593, allocations: 0 / 498.4 MB, free: 5.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.396e-05/0.3594, allocations: 75.44 kB / 498.5 MB, free: 5.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3594, allocations: 5.719 kB / 498.5 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3594, allocations: 0 / 498.5 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3594, allocations: 2.344 kB / 498.5 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.3595, allocations: 9.062 kB / 498.5 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3595, allocations: 2.469 kB / 498.5 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.3595, allocations: 11.03 kB / 498.5 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3595, allocations: 9.594 kB / 498.5 MB, free: 5.605 MB / 362.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.1e-05/0.3596, allocations: 163.2 kB / 498.7 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.3596, allocations: 3.938 kB / 498.7 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.3597, allocations: 54.66 kB / 498.8 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3597, allocations: 0 / 498.8 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3597, allocations: 3.938 kB / 498.8 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3598, allocations: 2.938 kB / 498.8 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.946e-05/0.3599, allocations: 131.3 kB / 498.9 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3599, allocations: 4 kB / 498.9 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.3599, allocations: 5.406 kB / 498.9 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3599, allocations: 0 / 498.9 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.3599, allocations: 0 / 498.9 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3599, allocations: 3.984 kB / 498.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3599, allocations: 3.156 kB / 498.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.242e-05/0.36, allocations: 198 kB / 499.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.36, allocations: 2.344 kB / 499.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.36, allocations: 0.5156 kB / 499.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.36, allocations: 3.406 kB / 499.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.3601, allocations: 0 / 499.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3601, allocations: 6.906 kB / 499.1 MB, free: 5.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.569e-05/0.3601, allocations: 130.3 kB / 499.2 MB, free: 4.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3601, allocations: 2.656 kB / 499.2 MB, free: 4.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.3605, allocations: 94.11 kB / 499.3 MB, free: 4.883 MB / 362.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.0004622/0.361, allocations: 255.4 kB / 499.6 MB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.3611, allocations: 37.02 kB / 499.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3611, allocations: 0 / 499.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.485e-05/0.3611, allocations: 13.25 kB / 499.6 MB, free: 4.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.3613, allocations: 13.58 kB / 499.6 MB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.3616, allocations: 144 kB / 499.8 MB, free: 4.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.3616, allocations: 63.69 kB / 499.8 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.524e-05/0.3616, allocations: 14.19 kB / 499.9 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.3617, allocations: 14.22 kB / 499.9 MB, free: 4.477 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.3617, allocations: 0 / 499.9 MB, free: 4.477 MB / 362.7 MB Notification: Performance of Templates: time 0.005689/0.3674, allocations: 2.72 MB / 0.4908 GB, free: 3.117 MB / 362.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.3700427040457726]