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.001093/0.001093, allocations: 88.73 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.001037/0.001037, allocations: 165.1 kB / 24.91 MB, free: 8.715 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 0.96/0.96, allocations: 177 MB / 205.2 MB, free: 5.07 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.2454/0.2454, allocations: 34.87 MB / 296.6 MB, free: 468 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.473e-06/1.473e-06, allocations: 0 / 325.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.62e-05, allocations: 9.406 kB / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3129/0.3129, allocations: 146.3 MB / 472.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3142, allocations: 1.465 MB / 473.6 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.3142, allocations: 0 / 473.6 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.3145, allocations: 38.78 kB / 473.7 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.3164, allocations: 1.115 MB / 474.8 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.3164, allocations: 0 / 474.8 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.666e-05/0.3165, allocations: 71.47 kB / 474.8 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.3166, allocations: 3.438 kB / 474.8 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.3166, allocations: 34.38 kB / 474.9 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.3167, allocations: 33.42 kB / 474.9 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.709e-06/0.3167, allocations: 2.562 kB / 474.9 MB, free: 12.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.3184, allocations: 1.616 MB / 476.5 MB, free: 12.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.3184, allocations: 15.56 kB / 476.5 MB, free: 12.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.3185, allocations: 15.19 kB / 476.6 MB, free: 12.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.3198, allocations: 1.033 MB / 477.6 MB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3198, allocations: 0 / 477.6 MB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3198, allocations: 0 / 477.6 MB, free: 12.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.3198, allocations: 0 / 477.6 MB, free: 12.17 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.0006556/0.3205, allocations: 419.7 kB / 478 MB, free: 11.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3205, allocations: 12.52 kB / 478 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.3206, allocations: 6.969 kB / 478 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.966e-05/0.3206, allocations: 114.2 kB / 478.1 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3206, allocations: 2.406 kB / 478.1 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-06/0.3206, allocations: 7.812 kB / 478.1 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.639e-05/0.3207, allocations: 59.77 kB / 478.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.3207, allocations: 0 / 478.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.3207, allocations: 3.312 kB / 478.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.3207, allocations: 10.16 kB / 478.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.3208, allocations: 18.34 kB / 478.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.321, allocations: 209.9 kB / 478.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.08e-05/0.321, allocations: 78.3 kB / 478.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.309e-05/0.321, allocations: 13.44 kB / 478.5 MB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.3212, allocations: 51.75 kB / 478.6 MB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.3212, allocations: 37.66 kB / 478.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3212, allocations: 0 / 478.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 8.588e-05/0.3213, allocations: 50.08 kB / 478.7 MB, free: 11.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.292e-05/0.3213, allocations: 51.41 kB / 478.7 MB, free: 11.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.357e-05/0.3213, allocations: 113.9 kB / 478.8 MB, free: 11.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.3213, allocations: 29.7 kB / 478.9 MB, free: 11.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.3214, allocations: 99.83 kB / 479 MB, free: 11.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.3214, allocations: 19.5 kB / 479 MB, free: 11.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.3214, allocations: 23.84 kB / 479 MB, free: 11.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.484e-05/0.3214, allocations: 316 kB / 479.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.3214, allocations: 10.14 kB / 479.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.778e-05/0.3214, allocations: 37.16 kB / 479.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.3215, allocations: 52.56 kB / 479.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3215, allocations: 0 / 479.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.219e-05/0.3215, allocations: 70.95 kB / 479.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.3215, allocations: 5.688 kB / 479.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3215, allocations: 2.156 kB / 479.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.3216, allocations: 2.281 kB / 479.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.3216, allocations: 8.5 kB / 479.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.3216, allocations: 5.578 kB / 479.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.3216, allocations: 13.55 kB / 479.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3216, allocations: 6.844 kB / 479.5 MB, free: 10.57 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 3.224e-05/0.3217, allocations: 119.5 kB / 479.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.3217, allocations: 8.641 kB / 479.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.887e-05/0.3218, allocations: 57.39 kB / 479.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3218, allocations: 0 / 479.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.3218, allocations: 2.656 kB / 479.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3218, allocations: 2.312 kB / 479.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.374e-05/0.3218, allocations: 78.78 kB / 479.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3218, allocations: 0 / 479.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.3218, allocations: 14.52 kB / 479.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-07/0.3218, allocations: 0 / 479.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.3219, allocations: 5 kB / 479.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.3219, allocations: 3.938 kB / 479.8 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3219, allocations: 0 / 479.8 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.367e-05/0.3219, allocations: 192.2 kB / 480 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.3219, allocations: 5.703 kB / 480 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-06/0.3219, allocations: 0 / 480 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.3219, allocations: 0 / 480 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.322, allocations: 5.312 kB / 480 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.322, allocations: 0.6875 kB / 480 MB, free: 10.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.785e-06/0.322, allocations: 16.06 kB / 480 MB, free: 10.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.322, allocations: 0 / 480 MB, free: 10.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.3222, allocations: 157.6 kB / 480.2 MB, free: 10.09 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.0004043/0.3226, allocations: 325.2 kB / 480.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.466e-05/0.3227, allocations: 39.36 kB / 480.5 MB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3227, allocations: 3 kB / 480.5 MB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.3227, allocations: 18.25 kB / 480.5 MB, free: 9.949 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.3228, allocations: 17.34 kB / 480.6 MB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.3233, allocations: 191.4 kB / 480.7 MB, free: 9.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.154e-05/0.3233, allocations: 58.88 kB / 480.8 MB, free: 9.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.699e-05/0.3234, allocations: 19.36 kB / 480.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.3234, allocations: 63.84 kB / 480.9 MB, free: 9.676 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3234, allocations: 0 / 480.9 MB, free: 9.676 MB / 410.7 MB Notification: Performance of Templates: time 0.004904/0.3283, allocations: 4.445 MB / 485.3 MB, free: 8.953 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 -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.2347399070858955]