Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0007981/0.0007981, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009752/0.001773, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006714/0.0006714, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009099/0.001581, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.8451/0.8451, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1404/0.9855, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 221.9 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.543e-05, allocations: 2.312 kB / 221.9 MB, free: 144 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03123/0.03126, allocations: 25.27 MB / 247.1 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.03404, allocations: 2.459 MB / 249.6 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.03424, allocations: 7.938 kB / 249.6 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.03456, allocations: 123.1 kB / 249.7 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004764/0.03504, allocations: 397.5 kB / 250.1 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01187/0.04691, allocations: 5.897 MB / 256 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.04813, allocations: 1.146 MB / 257.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.04834, allocations: 105.7 kB / 257.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004158/0.0525, allocations: 3.259 MB / 260.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.05295, allocations: 363 kB / 260.9 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.05302, allocations: 56 kB / 260.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01222/0.06524, allocations: 9.33 MB / 270.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.06548, allocations: 203.6 kB / 270.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.06578, allocations: 191.8 kB / 270.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009095/0.07487, allocations: 4.736 MB / 275.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.07489, allocations: 0 / 275.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.07489, allocations: 0 / 275.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.0749, allocations: 0 / 275.4 MB, free: 10.46 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002548/0.07745, allocations: 1.701 MB / 277.1 MB, free: 8.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.07748, allocations: 16.03 kB / 277.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/0.07775, allocations: 176.8 kB / 277.3 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.07812, allocations: 256.3 kB / 277.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.07815, allocations: 33 kB / 277.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.07822, allocations: 48 kB / 277.6 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007286/0.07894, allocations: 0.6265 MB / 278.2 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.07896, allocations: 0 / 278.2 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.079, allocations: 20 kB / 278.2 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.07901, allocations: 12 kB / 278.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.07947, allocations: 262.7 kB / 278.5 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.08531, allocations: 3.11 MB / 281.6 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.08584, allocations: 301.3 kB / 281.9 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.08594, allocations: 105.1 kB / 282 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004186/0.09013, allocations: 2.398 MB / 284.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.09017, allocations: 43.06 kB / 284.5 MB, free: 1.172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 2.806e-06/0.09017, allocations: 0 / 284.5 MB, free: 1.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.1076/0.1978, allocations: 1.245 MB / 285.7 MB, free: 25.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.1978, allocations: 59.72 kB / 285.8 MB, free: 25.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.198, allocations: 221.4 kB / 286 MB, free: 25.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.1981, allocations: 35.89 kB / 286 MB, free: 25.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.1981, allocations: 195.7 kB / 286.2 MB, free: 25.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/0.1982, allocations: 202.5 kB / 286.4 MB, free: 25.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1984, allocations: 110.3 kB / 286.5 MB, free: 25.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.1984, allocations: 345.7 kB / 286.8 MB, free: 25.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.1985, allocations: 71.17 kB / 286.9 MB, free: 25.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.1987, allocations: 173.5 kB / 287.1 MB, free: 25.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.1992, allocations: 314.7 kB / 287.4 MB, free: 24.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1992, allocations: 2.625 kB / 287.4 MB, free: 24.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007518/0.1999, allocations: 420.8 kB / 287.8 MB, free: 24.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1999, allocations: 7.156 kB / 287.8 MB, free: 24.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1999, allocations: 2.156 kB / 287.8 MB, free: 24.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/0.2002, allocations: 79.36 kB / 287.9 MB, free: 24.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.2006, allocations: 156.5 kB / 288 MB, free: 24.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009818/0.2016, allocations: 2.952 MB / 291 MB, free: 21.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.2018, allocations: 15.86 kB / 291 MB, free: 21.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.2018, allocations: 24.23 kB / 291 MB, free: 21.91 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.2019, allocations: 152.3 kB / 291.2 MB, free: 21.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.2021, allocations: 84.34 kB / 291.3 MB, free: 21.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.2028, allocations: 0.5085 MB / 291.8 MB, free: 21.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2028, allocations: 5 kB / 291.8 MB, free: 21.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.2028, allocations: 1.812 kB / 291.8 MB, free: 21.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003632/0.2032, allocations: 475.9 kB / 292.2 MB, free: 21.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/0.204, allocations: 0.7423 MB / 293 MB, free: 20.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.204, allocations: 3.5 kB / 293 MB, free: 20.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.2043, allocations: 119.8 kB / 293.1 MB, free: 20.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.2044, allocations: 31.25 kB / 293.1 MB, free: 20.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.2048, allocations: 148.4 kB / 293.3 MB, free: 20.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.2048, allocations: 22.56 kB / 293.3 MB, free: 20.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001433/0.205, allocations: 0.6036 MB / 293.9 MB, free: 20.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.205, allocations: 2.5 kB / 293.9 MB, free: 20.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.2056, allocations: 0.5588 MB / 294.5 MB, free: 20.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.2057, allocations: 15.67 kB / 294.5 MB, free: 20.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2059, allocations: 20.42 kB / 294.5 MB, free: 20.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.2059, allocations: 32.66 kB / 294.5 MB, free: 20.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.206, allocations: 24.11 kB / 294.6 MB, free: 20.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2061, allocations: 84.06 kB / 294.6 MB, free: 20.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2061, allocations: 1.781 kB / 294.6 MB, free: 20.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00297/0.2091, allocations: 1.31 MB / 296 MB, free: 20.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003546/0.2126, allocations: 1.952 MB / 297.9 MB, free: 19.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000698/0.2133, allocations: 0.5093 MB / 298.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/0.2133, allocations: 7.844 kB / 298.4 MB, free: 19.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.2135, allocations: 164.5 kB / 298.6 MB, free: 19.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.2141, allocations: 301.6 kB / 298.9 MB, free: 19.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/0.2195, allocations: 0.8803 MB / 299.8 MB, free: 19.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.81e-05/0.2195, allocations: 135.3 kB / 299.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.2199, allocations: 100.8 kB / 300 MB, free: 19.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.2204, allocations: 260.8 kB / 300.2 MB, free: 18.99 MB / 282.7 MB Notification: Performance of SimCode: time 1.644e-06/0.2204, allocations: 0 / 300.2 MB, free: 18.99 MB / 282.7 MB Notification: Performance of Templates: time 0.04826/0.2686, allocations: 53.63 MB / 353.9 MB, free: 10.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 6.547103217802942]