Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0008953/0.0008953, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001687/0.002583, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007191/0.0007191, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001773, allocations: 483.5 kB / 11.83 MB, free: 2.336 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 1.043/1.043, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1882/1.232, allocations: 49.5 MB / 220.7 MB, free: 1.367 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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.767e-05, allocations: 9.406 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.02876/0.02879, allocations: 26.26 MB / 248.3 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00298/0.03177, allocations: 2.748 MB / 251 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.03198, allocations: 11.94 kB / 251 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.03242, allocations: 162.9 kB / 251.2 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.033, allocations: 0.5434 MB / 251.7 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01166/0.04466, allocations: 6.029 MB / 257.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.04599, allocations: 1.617 MB / 259.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.04623, allocations: 150.1 kB / 259.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007583/0.04699, allocations: 0.8576 MB / 260.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.04756, allocations: 0.5064 MB / 260.9 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.517e-05/0.04765, allocations: 84 kB / 261 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.06055, allocations: 9.357 MB / 270.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.06082, allocations: 291.3 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.0611, allocations: 267.7 kB / 270.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007605/0.0687, allocations: 4.896 MB / 275.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.06872, allocations: 0 / 275.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.06872, allocations: 0 / 275.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.06874, allocations: 0 / 275.8 MB, free: 10.11 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002612/0.07135, allocations: 1.93 MB / 277.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.07139, allocations: 12.02 kB / 277.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.07175, allocations: 221 kB / 277.9 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.07213, allocations: 315.7 kB / 278.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.07217, allocations: 53.3 kB / 278.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/0.07225, allocations: 68 kB / 278.4 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000841/0.07309, allocations: 0.8479 MB / 279.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.07311, allocations: 3.984 kB / 279.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.07316, allocations: 28 kB / 279.2 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.07317, allocations: 16 kB / 279.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.07376, allocations: 358.1 kB / 279.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005794/0.07956, allocations: 3.443 MB / 283 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/0.08028, allocations: 440.7 kB / 283.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.08044, allocations: 161.6 kB / 283.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.142/0.2224, allocations: 2.414 MB / 286 MB, free: 25.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.2225, allocations: 48.06 kB / 286.1 MB, free: 25.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/0.2225, allocations: 0 / 286.1 MB, free: 25.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.005618/0.2281, allocations: 2.209 MB / 288.3 MB, free: 24.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.2282, allocations: 63.66 kB / 288.4 MB, free: 24.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.2284, allocations: 257.5 kB / 288.6 MB, free: 24.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.2284, allocations: 43.02 kB / 288.7 MB, free: 24.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2285, allocations: 225.4 kB / 288.9 MB, free: 24.56 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.2287, allocations: 321 kB / 289.2 MB, free: 24.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.2289, allocations: 156.6 kB / 289.3 MB, free: 24.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.229, allocations: 362.4 kB / 289.7 MB, free: 24.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.2292, allocations: 111 kB / 289.8 MB, free: 24.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.2295, allocations: 232.2 kB / 290 MB, free: 23.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007453/0.2303, allocations: 449.7 kB / 290.5 MB, free: 23.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2303, allocations: 0 / 290.5 MB, free: 23.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00114/0.2314, allocations: 0.5919 MB / 291.1 MB, free: 23.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2314, allocations: 6.297 kB / 291.1 MB, free: 23.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2314, allocations: 3.344 kB / 291.1 MB, free: 23.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.2318, allocations: 137.7 kB / 291.2 MB, free: 23.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.2324, allocations: 235.7 kB / 291.4 MB, free: 23.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.2336, allocations: 3.546 MB / 295 MB, free: 20.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.2338, allocations: 29.94 kB / 295 MB, free: 20.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.2338, allocations: 37.22 kB / 295.1 MB, free: 20.16 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0001496/0.234, allocations: 161.7 kB / 295.2 MB, free: 20.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.2342, allocations: 136.5 kB / 295.3 MB, free: 20.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009952/0.2352, allocations: 0.7695 MB / 296.1 MB, free: 19.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2352, allocations: 9.203 kB / 296.1 MB, free: 19.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2352, allocations: 2.625 kB / 296.1 MB, free: 19.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005898/0.2358, allocations: 0.8275 MB / 297 MB, free: 19.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.2372, allocations: 1.047 MB / 298 MB, free: 18.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2372, allocations: 0 / 298 MB, free: 18.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.2377, allocations: 205.4 kB / 298.2 MB, free: 18.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.2378, allocations: 40.61 kB / 298.2 MB, free: 18.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008981/0.2386, allocations: 284.6 kB / 298.5 MB, free: 18.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/0.2387, allocations: 29.5 kB / 298.5 MB, free: 18.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00026/0.239, allocations: 1.207 MB / 299.8 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.239, allocations: 2.281 kB / 299.8 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.24, allocations: 0.8142 MB / 300.6 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.24, allocations: 28.34 kB / 300.6 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.2403, allocations: 28.69 kB / 300.6 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.2403, allocations: 54.81 kB / 300.7 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.2404, allocations: 37.69 kB / 300.7 MB, free: 17.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.849e-05/0.2405, allocations: 95.7 kB / 300.8 MB, free: 17.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2405, allocations: 0 / 300.8 MB, free: 17.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003257/0.2437, allocations: 1.377 MB / 302.2 MB, free: 17.28 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003421/0.2471, allocations: 1.969 MB / 304.2 MB, free: 16.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007929/0.2479, allocations: 0.6889 MB / 304.8 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.902e-05/0.2479, allocations: 9.188 kB / 304.9 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.2483, allocations: 327.1 kB / 305.2 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.2493, allocations: 1.308 MB / 306.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/0.255, allocations: 1.269 MB / 307.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.33e-05/0.2551, allocations: 172.1 kB / 307.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003624/0.2555, allocations: 148.6 kB / 308.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/0.2561, allocations: 343.7 kB / 308.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2561, allocations: 0 / 308.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of Templates: time 0.05287/0.309, allocations: 58.14 MB / 366.5 MB, free: 14.2 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.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: 9.27002708800137]