Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009422/0.0009422, allocations: 81.97 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001025/0.001025, allocations: 164.8 kB / 25.61 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.904/0.904, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.774e-05, allocations: 5.266 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0243/0.02433, allocations: 24.78 MB / 299 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.02675, allocations: 2.393 MB / 301.4 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.02692, allocations: 7.938 kB / 301.4 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.02732, allocations: 123.2 kB / 301.5 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.0278, allocations: 393.5 kB / 301.9 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01163/0.03943, allocations: 6.774 MB / 308.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.04049, allocations: 1.146 MB / 309.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.04068, allocations: 93.81 kB / 309.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004125/0.0448, allocations: 3.545 MB / 313.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004323/0.04523, allocations: 379 kB / 313.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.414e-05/0.0453, allocations: 56 kB / 313.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.05671, allocations: 8.966 MB / 322.8 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.05698, allocations: 239.4 kB / 323.1 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.05729, allocations: 239.5 kB / 323.3 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.06747, allocations: 6.158 MB / 329.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.06747, allocations: 0 / 329.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.06748, allocations: 0 / 329.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.06748, allocations: 4 kB / 329.5 MB, free: 12.98 MB / 314.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.002871/0.07036, allocations: 1.384 MB / 330.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.07039, allocations: 8.031 kB / 330.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.07076, allocations: 116.1 kB / 331 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.07116, allocations: 291.9 kB / 331.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.07119, allocations: 37 kB / 331.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.531e-05/0.07126, allocations: 47.94 kB / 331.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008508/0.07211, allocations: 0.616 MB / 331.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.07213, allocations: 0 / 331.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.07218, allocations: 16 kB / 332 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.07219, allocations: 12 kB / 332 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.07284, allocations: 298.6 kB / 332.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007492/0.08034, allocations: 3.204 MB / 335.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/0.08102, allocations: 285.9 kB / 335.8 MB, free: 6.504 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.08117, allocations: 111.1 kB / 335.9 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0058/0.08697, allocations: 2.293 MB / 338.2 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.08701, allocations: 41.89 kB / 338.2 MB, free: 4.043 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 4.939e-06/0.08702, allocations: 7.984 kB / 338.2 MB, free: 4.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.003453/0.09047, allocations: 1.222 MB / 339.4 MB, free: 2.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.0905, allocations: 59.91 kB / 339.5 MB, free: 2.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.09072, allocations: 296 kB / 339.8 MB, free: 2.391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.09076, allocations: 37.7 kB / 339.8 MB, free: 2.348 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.0909, allocations: 256 kB / 340.1 MB, free: 2.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.09104, allocations: 202.2 kB / 340.3 MB, free: 1.891 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.0912, allocations: 119.9 kB / 340.4 MB, free: 1.766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.003144/0.09434, allocations: 0.5196 MB / 340.9 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.09448, allocations: 77.23 kB / 341 MB, free: 1.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.09483, allocations: 219.4 kB / 341.2 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/0.09544, allocations: 342.3 kB / 341.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.09544, allocations: 0 / 341.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001144/0.09658, allocations: 0.4957 MB / 342 MB, free: 12 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.0966, allocations: 4 kB / 342 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.09661, allocations: 7.938 kB / 342 MB, free: 0 / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1368/0.2334, allocations: 82.03 kB / 342.1 MB, free: 44.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.2338, allocations: 128.3 kB / 342.2 MB, free: 44.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2349, allocations: 4.342 MB / 346.6 MB, free: 39.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.2351, allocations: 15 kB / 346.6 MB, free: 39.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.2351, allocations: 26.47 kB / 346.6 MB, free: 39.84 MB / 314.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.0001516/0.2353, allocations: 196.2 kB / 346.8 MB, free: 39.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.2355, allocations: 98.08 kB / 346.9 MB, free: 39.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/0.2362, allocations: 0.5912 MB / 347.5 MB, free: 39.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2362, allocations: 6.812 kB / 347.5 MB, free: 39.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.2362, allocations: 1.094 kB / 347.5 MB, free: 39.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004343/0.2367, allocations: 0.5327 MB / 348 MB, free: 39.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009321/0.2376, allocations: 0.8376 MB / 348.9 MB, free: 38.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2376, allocations: 0 / 348.9 MB, free: 38.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.2378, allocations: 100.1 kB / 349 MB, free: 38.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/0.2383, allocations: 144.6 kB / 349.1 MB, free: 38.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.2383, allocations: 19.84 kB / 349.1 MB, free: 38.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001477/0.2385, allocations: 0.9093 MB / 350 MB, free: 37.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2385, allocations: 6.422 kB / 350 MB, free: 37.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/0.2392, allocations: 0.6358 MB / 350.7 MB, free: 37.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.2392, allocations: 33.38 kB / 350.7 MB, free: 37.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.2393, allocations: 12.31 kB / 350.7 MB, free: 37.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.2395, allocations: 23.75 kB / 350.7 MB, free: 37.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.2395, allocations: 38.77 kB / 350.8 MB, free: 37.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.2396, allocations: 26.64 kB / 350.8 MB, free: 37.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.553e-05/0.2396, allocations: 204.4 kB / 351 MB, free: 37.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2396, allocations: 0 / 351 MB, free: 37.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002659/0.2423, allocations: 1.305 MB / 352.3 MB, free: 37.56 MB / 314.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.003398/0.2457, allocations: 1.828 MB / 354.1 MB, free: 37.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.2463, allocations: 0.6634 MB / 354.8 MB, free: 37.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2463, allocations: 0.5938 kB / 354.8 MB, free: 37.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.2465, allocations: 176.5 kB / 355 MB, free: 37.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.2471, allocations: 232.1 kB / 355.2 MB, free: 37.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.2482, allocations: 0.9016 MB / 356.1 MB, free: 36.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.984e-05/0.2483, allocations: 127.6 kB / 356.2 MB, free: 36.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.2485, allocations: 102.8 kB / 356.3 MB, free: 36.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.249, allocations: 321.4 kB / 356.6 MB, free: 36.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.249, allocations: 0 / 356.6 MB, free: 36.45 MB / 314.7 MB Notification: Performance of Templates: time 0.03871/0.2877, allocations: 50.69 MB / 407.3 MB, free: 12.87 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 7.329703709110618]