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.0009233/0.0009233, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009773/0.0009773, allocations: 169 kB / 24.91 MB, free: 8.723 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.8459/0.8459, allocations: 177.1 MB / 205.3 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.303e-06/1.303e-06, allocations: 0 / 273.5 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.325e-05, allocations: 2.312 kB / 273.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.01902/0.01904, allocations: 25.03 MB / 298.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.0211, allocations: 2.435 MB / 300.9 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.0212, allocations: 4 kB / 300.9 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.02158, allocations: 135.1 kB / 301.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003983/0.02197, allocations: 385.5 kB / 301.4 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009947/0.03192, allocations: 6.821 MB / 308.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007718/0.03269, allocations: 1.138 MB / 309.4 MB, free: 376 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.03286, allocations: 101.8 kB / 309.5 MB, free: 268 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003146/0.03601, allocations: 3.538 MB / 313 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.03634, allocations: 351 kB / 313.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.0364, allocations: 60 kB / 313.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009647/0.04605, allocations: 8.959 MB / 322.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.04623, allocations: 239.4 kB / 322.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.0464, allocations: 231.6 kB / 322.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006242/0.05264, allocations: 6.158 MB / 329 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.05264, allocations: 4 kB / 329 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.05264, allocations: 0 / 329 MB, free: 12.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.05265, allocations: 0 / 329 MB, free: 12.71 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.001529/0.05418, allocations: 1.244 MB / 330.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.05421, allocations: 8.031 kB / 330.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.05443, allocations: 116.4 kB / 330.4 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.0547, allocations: 245.1 kB / 330.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.05472, allocations: 36.94 kB / 330.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.05478, allocations: 47.95 kB / 330.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.05534, allocations: 0.6227 MB / 331.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.05535, allocations: 0 / 331.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.05539, allocations: 20 kB / 331.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-06/0.05539, allocations: 12 kB / 331.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.05579, allocations: 262.7 kB / 331.6 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004978/0.06077, allocations: 3.099 MB / 334.7 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.06124, allocations: 298 kB / 335 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.06134, allocations: 101.1 kB / 335.1 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004097/0.06544, allocations: 2.394 MB / 337.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.06547, allocations: 43.05 kB / 337.5 MB, free: 4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.853e-06/0.06547, allocations: 4 kB / 337.6 MB, free: 3.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.002339/0.06781, allocations: 1.193 MB / 338.7 MB, free: 2.762 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.06783, allocations: 63.91 kB / 338.8 MB, free: 2.684 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.06796, allocations: 225 kB / 339 MB, free: 2.453 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.068, allocations: 37.7 kB / 339.1 MB, free: 2.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.06807, allocations: 197.2 kB / 339.3 MB, free: 2.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.06816, allocations: 198.2 kB / 339.5 MB, free: 2.016 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.06826, allocations: 110.2 kB / 339.6 MB, free: 1.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.06834, allocations: 350.7 kB / 339.9 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.06843, allocations: 68.11 kB / 340 MB, free: 1.484 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.06865, allocations: 172.4 kB / 340.1 MB, free: 1.285 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.06904, allocations: 317.7 kB / 340.4 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.06904, allocations: 0 / 340.4 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006658/0.06971, allocations: 421.9 kB / 340.9 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.06972, allocations: 8 kB / 340.9 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.06973, allocations: 0 / 340.9 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.06995, allocations: 88.11 kB / 341 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.07019, allocations: 119.8 kB / 341.1 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1127/0.1829, allocations: 2.956 MB / 344 MB, free: 41.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.1832, allocations: 14.52 kB / 344 MB, free: 41.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.1832, allocations: 27.92 kB / 344.1 MB, free: 41.34 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.0001632/0.1834, allocations: 145 kB / 344.2 MB, free: 41.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.1836, allocations: 86.62 kB / 344.3 MB, free: 41.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006764/0.1843, allocations: 0.5016 MB / 344.8 MB, free: 41.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1843, allocations: 5.922 kB / 344.8 MB, free: 41.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.1843, allocations: 1.75 kB / 344.8 MB, free: 41.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003572/0.1847, allocations: 476.6 kB / 345.3 MB, free: 40.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008687/0.1856, allocations: 0.7368 MB / 346 MB, free: 40.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1856, allocations: 1.531 kB / 346 MB, free: 40.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.1858, allocations: 98.06 kB / 346.1 MB, free: 40.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.1863, allocations: 145.9 kB / 346.2 MB, free: 40.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.1863, allocations: 20.86 kB / 346.3 MB, free: 40.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001377/0.1864, allocations: 0.6034 MB / 346.9 MB, free: 39.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1864, allocations: 1.984 kB / 346.9 MB, free: 39.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006627/0.1871, allocations: 0.5572 MB / 347.4 MB, free: 39.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.1871, allocations: 34.62 kB / 347.5 MB, free: 39.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.1872, allocations: 15.66 kB / 347.5 MB, free: 39.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.1873, allocations: 19.69 kB / 347.5 MB, free: 39.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1874, allocations: 34.83 kB / 347.5 MB, free: 39.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.1874, allocations: 20.39 kB / 347.5 MB, free: 39.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.085e-05/0.1875, allocations: 83.83 kB / 347.6 MB, free: 39.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1875, allocations: 1.125 kB / 347.6 MB, free: 39.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002743/0.1902, allocations: 1.301 MB / 348.9 MB, free: 39.59 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.003489/0.1937, allocations: 1.86 MB / 350.8 MB, free: 39.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005726/0.1943, allocations: 0.5075 MB / 351.3 MB, free: 39.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.1943, allocations: 4.344 kB / 351.3 MB, free: 39.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.1945, allocations: 160.4 kB / 351.5 MB, free: 39.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.195, allocations: 245.8 kB / 351.7 MB, free: 39.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1961, allocations: 0.8652 MB / 352.6 MB, free: 38.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.1962, allocations: 133.5 kB / 352.7 MB, free: 38.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.1964, allocations: 100.7 kB / 352.8 MB, free: 38.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.1968, allocations: 254.5 kB / 353 MB, free: 38.68 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1968, allocations: 0 / 353 MB, free: 38.68 MB / 314.7 MB Notification: Performance of Templates: time 0.03441/0.2312, allocations: 49.77 MB / 402.8 MB, free: 0.5938 MB / 314.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: 6.387763133272529]