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.001114/0.001114, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.002666, allocations: 449.7 kB / 10.37 MB, free: 324 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.001092/0.001092, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002494, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.054/1.054, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1195/1.174, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.3078/0.3078, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02506/0.3329, allocations: 13.23 MB / 292.6 MB, free: 6.469 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.583e-06/1.583e-06, allocations: 0 / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.287e-05, allocations: 2.312 kB / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1384/0.1384, allocations: 146.7 MB / 440.6 MB, free: 1.918 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1399, allocations: 1.476 MB / 442 MB, free: 448 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.1399, allocations: 0 / 442 MB, free: 448 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.1402, allocations: 35.77 kB / 442.1 MB, free: 412 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1933/0.3335, allocations: 1.027 MB / 443.1 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.284e-05/0.3335, allocations: 0.5625 kB / 443.1 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.3337, allocations: 70.88 kB / 443.2 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.3337, allocations: 1.812 kB / 443.2 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.3338, allocations: 38.08 kB / 443.2 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.3339, allocations: 29.36 kB / 443.2 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.3339, allocations: 1.031 kB / 443.2 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.3362, allocations: 1.69 MB / 444.9 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.3362, allocations: 20.3 kB / 445 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.3363, allocations: 14.53 kB / 445 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.3375, allocations: 0.852 MB / 445.8 MB, free: 3.758 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.91e-05/0.3375, allocations: 4.547 kB / 445.8 MB, free: 3.758 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3375, allocations: 0.5625 kB / 445.8 MB, free: 3.758 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3375, allocations: 0.5938 kB / 445.8 MB, free: 3.758 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.001075/0.3386, allocations: 0.5725 MB / 446.4 MB, free: 19.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3386, allocations: 14.55 kB / 446.4 MB, free: 19.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.3387, allocations: 6.234 kB / 446.4 MB, free: 19.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.446e-05/0.3387, allocations: 116.2 kB / 446.5 MB, free: 19.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3387, allocations: 3.328 kB / 446.5 MB, free: 19.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.3388, allocations: 10.38 kB / 446.5 MB, free: 19.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.3388, allocations: 57.36 kB / 446.6 MB, free: 19.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3389, allocations: 0 / 446.6 MB, free: 19.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.3389, allocations: 0 / 446.6 MB, free: 19.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.3389, allocations: 10.44 kB / 446.6 MB, free: 19.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.3389, allocations: 25.89 kB / 446.6 MB, free: 19.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.3392, allocations: 205.5 kB / 446.8 MB, free: 19.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.313e-05/0.3392, allocations: 80.48 kB / 446.9 MB, free: 18.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.3393, allocations: 11.45 kB / 446.9 MB, free: 18.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.3394, allocations: 57.66 kB / 447 MB, free: 18.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.3395, allocations: 34.5 kB / 447 MB, free: 18.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.3395, allocations: 1.203 kB / 447 MB, free: 18.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 9.967e-05/0.3396, allocations: 52.78 kB / 447.1 MB, free: 18.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.3396, allocations: 52.11 kB / 447.1 MB, free: 18.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.9e-05/0.3396, allocations: 115 kB / 447.2 MB, free: 18.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.3396, allocations: 30.05 kB / 447.3 MB, free: 18.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.3397, allocations: 92.92 kB / 447.4 MB, free: 18.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.3397, allocations: 19.86 kB / 447.4 MB, free: 18.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.3397, allocations: 20.61 kB / 447.4 MB, free: 18.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.3398, allocations: 322.3 kB / 447.7 MB, free: 18.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.3398, allocations: 11.52 kB / 447.7 MB, free: 18.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.3398, allocations: 32.64 kB / 447.7 MB, free: 18.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.3398, allocations: 51.92 kB / 447.8 MB, free: 18.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3398, allocations: 5.219 kB / 447.8 MB, free: 18.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.296e-05/0.3399, allocations: 67.23 kB / 447.9 MB, free: 18.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3399, allocations: 3.609 kB / 447.9 MB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3399, allocations: 2.719 kB / 447.9 MB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.3399, allocations: 3.453 kB / 447.9 MB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.34, allocations: 17.56 kB / 447.9 MB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.34, allocations: 0.6875 kB / 447.9 MB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.34, allocations: 13.2 kB / 447.9 MB, free: 18.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.34, allocations: 4.906 kB / 447.9 MB, free: 18.1 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 4.828e-05/0.3401, allocations: 120.2 kB / 448 MB, free: 17.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.3401, allocations: 8.625 kB / 448 MB, free: 17.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.675e-05/0.3402, allocations: 63.19 kB / 448.1 MB, free: 17.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.3402, allocations: 9.656 kB / 448.1 MB, free: 17.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.3402, allocations: 0 / 448.1 MB, free: 17.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3402, allocations: 0.9688 kB / 448.1 MB, free: 17.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.3405, allocations: 76.72 kB / 448.2 MB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3405, allocations: 0 / 448.2 MB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.3405, allocations: 12.88 kB / 448.2 MB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.3405, allocations: 2.453 kB / 448.2 MB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3405, allocations: 6.984 kB / 448.2 MB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.3405, allocations: 3.625 kB / 448.2 MB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.3405, allocations: 0 / 448.2 MB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3405, allocations: 1.125 kB / 448.2 MB, free: 17.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.11e-05/0.3406, allocations: 199.5 kB / 448.4 MB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.3406, allocations: 0 / 448.4 MB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.516e-05/0.3407, allocations: 3.594 kB / 448.4 MB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.3407, allocations: 0 / 448.4 MB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3407, allocations: 5.688 kB / 448.4 MB, free: 17.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.088e-06/0.3407, allocations: 11.62 kB / 448.4 MB, free: 17.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3407, allocations: 0 / 448.4 MB, free: 17.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003676/0.341, allocations: 156.2 kB / 448.6 MB, free: 17.64 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.0005002/0.3415, allocations: 339.6 kB / 448.9 MB, free: 17.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.821e-05/0.3416, allocations: 30.34 kB / 448.9 MB, free: 17.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3416, allocations: 0 / 448.9 MB, free: 17.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.3416, allocations: 24.48 kB / 449 MB, free: 17.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.3418, allocations: 20.48 kB / 449 MB, free: 17.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3431, allocations: 185.6 kB / 449.2 MB, free: 17.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.841e-05/0.3431, allocations: 60.3 kB / 449.2 MB, free: 17.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.251e-05/0.3432, allocations: 20.78 kB / 449.2 MB, free: 17.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.3432, allocations: 64.09 kB / 449.3 MB, free: 17.26 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3432, allocations: 1.203 kB / 449.3 MB, free: 17.26 MB / 442.7 MB Notification: Performance of Templates: time 0.005476/0.3487, allocations: 4.472 MB / 453.8 MB, free: 17.09 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4253510795533657]