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.001454/0.001454, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001961/0.003415, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001207/0.001207, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00175/0.002957, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9491/0.9491, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08303/1.032, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.2813/0.2813, allocations: 34.89 MB / 279.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0372/0.3185, allocations: 13.24 MB / 292.8 MB, free: 6.387 MB / 282.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.453e-06/1.453e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.394e-05, allocations: 4.234 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1475/0.1475, allocations: 146.7 MB / 440.8 MB, free: 1.805 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1489, allocations: 1.472 MB / 442.3 MB, free: 336 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.1489, allocations: 0 / 442.3 MB, free: 336 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.1491, allocations: 39.75 kB / 442.3 MB, free: 296 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1856/0.3347, allocations: 1.02 MB / 443.4 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.244e-06/0.3347, allocations: 3.5 kB / 443.4 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3349, allocations: 76.39 kB / 443.4 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.3349, allocations: 2.75 kB / 443.4 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.335, allocations: 34.44 kB / 443.5 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.3351, allocations: 32.31 kB / 443.5 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.3351, allocations: 0 / 443.5 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.3374, allocations: 1.685 MB / 445.2 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.3375, allocations: 15.69 kB / 445.2 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.3375, allocations: 17.72 kB / 445.2 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.3387, allocations: 0.856 MB / 446.1 MB, free: 3.699 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.3387, allocations: 0 / 446.1 MB, free: 3.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3387, allocations: 0 / 446.1 MB, free: 3.699 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3388, allocations: 0 / 446.1 MB, free: 3.699 MB / 426.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.0009453/0.3397, allocations: 0.5825 MB / 446.7 MB, free: 19.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.3397, allocations: 10.42 kB / 446.7 MB, free: 19.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.3398, allocations: 5.156 kB / 446.7 MB, free: 19.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.828e-05/0.3398, allocations: 112.2 kB / 446.8 MB, free: 19.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3398, allocations: 3.125 kB / 446.8 MB, free: 19.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.3399, allocations: 7.375 kB / 446.8 MB, free: 19.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.486e-05/0.3399, allocations: 64.27 kB / 446.9 MB, free: 19.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3399, allocations: 0.6094 kB / 446.9 MB, free: 19.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.34, allocations: 0 / 446.9 MB, free: 19.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.34, allocations: 7.5 kB / 446.9 MB, free: 19.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.966e-05/0.34, allocations: 23.47 kB / 446.9 MB, free: 19.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.3403, allocations: 208.7 kB / 447.1 MB, free: 18.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.052e-05/0.3403, allocations: 83.3 kB / 447.2 MB, free: 18.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.247e-05/0.3403, allocations: 11.98 kB / 447.2 MB, free: 18.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.3405, allocations: 54.44 kB / 447.2 MB, free: 18.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.3405, allocations: 34.38 kB / 447.3 MB, free: 18.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.3405, allocations: 3.188 kB / 447.3 MB, free: 18.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 9.423e-05/0.3406, allocations: 47.84 kB / 447.3 MB, free: 18.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.3406, allocations: 55.06 kB / 447.4 MB, free: 18.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.91e-05/0.3407, allocations: 110.9 kB / 447.5 MB, free: 18.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3407, allocations: 30.33 kB / 447.5 MB, free: 18.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.3407, allocations: 100.8 kB / 447.6 MB, free: 18.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.053e-06/0.3407, allocations: 15.84 kB / 447.6 MB, free: 18.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.3407, allocations: 21.81 kB / 447.6 MB, free: 18.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.3408, allocations: 324.2 kB / 448 MB, free: 18.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.3408, allocations: 5.828 kB / 448 MB, free: 18.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.3408, allocations: 37.77 kB / 448 MB, free: 18.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.3409, allocations: 56.78 kB / 448.1 MB, free: 18.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3409, allocations: 0 / 448.1 MB, free: 18.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.93e-05/0.3409, allocations: 66.88 kB / 448.1 MB, free: 18.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.3409, allocations: 6.531 kB / 448.1 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.341, allocations: 3.062 kB / 448.1 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.341, allocations: 2.219 kB / 448.1 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.341, allocations: 17.11 kB / 448.2 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.341, allocations: 2.75 kB / 448.2 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.341, allocations: 12.27 kB / 448.2 MB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3411, allocations: 7.469 kB / 448.2 MB, free: 18.05 MB / 442.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 5.538e-05/0.3411, allocations: 116.4 kB / 448.3 MB, free: 17.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.3411, allocations: 6.094 kB / 448.3 MB, free: 17.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-05/0.3412, allocations: 62.69 kB / 448.4 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3412, allocations: 0 / 448.4 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.3412, allocations: 3.578 kB / 448.4 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.3412, allocations: 3.734 kB / 448.4 MB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.825e-05/0.3413, allocations: 74.59 kB / 448.4 MB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3413, allocations: 6.719 kB / 448.4 MB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.3413, allocations: 6.531 kB / 448.4 MB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.3413, allocations: 6.719 kB / 448.5 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.3414, allocations: 3.828 kB / 448.5 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.3414, allocations: 6.531 kB / 448.5 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3414, allocations: 0.8438 kB / 448.5 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3414, allocations: 0 / 448.5 MB, free: 17.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.118e-05/0.3414, allocations: 192.6 kB / 448.7 MB, free: 17.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-06/0.3414, allocations: 0.6875 kB / 448.7 MB, free: 17.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/0.3415, allocations: 7.734 kB / 448.7 MB, free: 17.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.3415, allocations: 3.906 kB / 448.7 MB, free: 17.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3415, allocations: 6.391 kB / 448.7 MB, free: 17.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.06e-05/0.3415, allocations: 8.641 kB / 448.7 MB, free: 17.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3415, allocations: 0 / 448.7 MB, free: 17.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.3419, allocations: 157.7 kB / 448.8 MB, free: 17.58 MB / 442.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.0004756/0.3423, allocations: 333.2 kB / 449.2 MB, free: 17.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.197e-05/0.3424, allocations: 36.42 kB / 449.2 MB, free: 17.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.3424, allocations: 3.125 kB / 449.2 MB, free: 17.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.701e-05/0.3424, allocations: 18.23 kB / 449.2 MB, free: 17.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3426, allocations: 50.78 kB / 449.3 MB, free: 17.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.344, allocations: 183.6 kB / 449.4 MB, free: 17.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.66e-05/0.344, allocations: 59.97 kB / 449.5 MB, free: 17.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.82e-05/0.3441, allocations: 19.83 kB / 449.5 MB, free: 17.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.3441, allocations: 66.83 kB / 449.6 MB, free: 17.18 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3441, allocations: 0 / 449.6 MB, free: 17.18 MB / 442.7 MB Notification: Performance of Templates: time 0.005601/0.3497, allocations: 4.285 MB / 453.9 MB, free: 17.01 MB / 442.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.335360087454319]