Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009492/0.0009492, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009451/0.0009451, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9505/0.9505, allocations: 177.1 MB / 205 MB, free: 5.613 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.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_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.768e-05, allocations: 2.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.133/0.133, allocations: 26.1 MB / 299.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.136, allocations: 2.695 MB / 301.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.1363, allocations: 16.19 kB / 301.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.1368, allocations: 165.7 kB / 302 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007239/0.1375, allocations: 0.5364 MB / 302.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01263/0.1501, allocations: 6.934 MB / 309.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.152, allocations: 1.609 MB / 311 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.1522, allocations: 140.2 kB / 311.2 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009404/0.1532, allocations: 0.8271 MB / 312 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.1538, allocations: 0.5364 MB / 312.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.1539, allocations: 83.12 kB / 312.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/0.1661, allocations: 8.986 MB / 321.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.1664, allocations: 347.1 kB / 321.9 MB, free: 264 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004986/0.1669, allocations: 339.5 kB / 322.3 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.1774, allocations: 6.36 MB / 328.6 MB, free: 9.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1774, allocations: 0 / 328.6 MB, free: 9.551 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1774, allocations: 0 / 328.6 MB, free: 9.551 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.1774, allocations: 4 kB / 328.6 MB, free: 9.547 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.002586/0.18, allocations: 1.571 MB / 330.2 MB, free: 7.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.18, allocations: 8.031 kB / 330.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.1804, allocations: 167.9 kB / 330.4 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.1808, allocations: 382.4 kB / 330.8 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.1808, allocations: 49.3 kB / 330.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.828e-05/0.1809, allocations: 72 kB / 330.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009118/0.1818, allocations: 0.8883 MB / 331.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1818, allocations: 0 / 331.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.1819, allocations: 28 kB / 331.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1819, allocations: 12 kB / 331.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007711/0.1826, allocations: 0.4916 MB / 332.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00655/0.1892, allocations: 3.884 MB / 336.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/0.19, allocations: 472.7 kB / 336.6 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.1903, allocations: 209.8 kB / 336.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00463/0.1949, allocations: 2.535 MB / 339.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.195, allocations: 50.03 kB / 339.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 2.274e-06/0.195, allocations: 0 / 339.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.004299/0.1993, allocations: 2.203 MB / 341.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1993, allocations: 72.39 kB / 341.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1995, allocations: 320.2 kB / 342 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.1996, allocations: 45.7 kB / 342.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1997, allocations: 295.8 kB / 342.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.1998, allocations: 317.2 kB / 342.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.2, allocations: 168.2 kB / 342.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2001, allocations: 0.5313 MB / 343.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.2004, allocations: 165.9 kB / 343.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.2008, allocations: 319.4 kB / 343.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007789/0.2016, allocations: 0.5302 MB / 344.4 MB, free: 9.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2016, allocations: 0 / 344.4 MB, free: 9.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001289/0.2029, allocations: 0.8114 MB / 345.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.2029, allocations: 6.031 kB / 345.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2029, allocations: 4 kB / 345.2 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/0.2033, allocations: 138.6 kB / 345.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.2037, allocations: 200 kB / 345.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.2057, allocations: 5.298 MB / 350.8 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.2059, allocations: 16 kB / 350.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.2059, allocations: 43.98 kB / 350.9 MB, free: 2.555 MB / 298.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.0001767/0.2061, allocations: 208.3 kB / 351.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.2064, allocations: 150.9 kB / 351.2 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.2076, allocations: 0.969 MB / 352.2 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2076, allocations: 8 kB / 352.2 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2076, allocations: 3.938 kB / 352.2 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008806/0.2085, allocations: 1.001 MB / 353.2 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.2101, allocations: 1.361 MB / 354.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2101, allocations: 0 / 354.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.2104, allocations: 155.9 kB / 354.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008118/0.2112, allocations: 290.9 kB / 355 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.2113, allocations: 23.98 kB / 355 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005532/0.2119, allocations: 1.826 MB / 356.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2119, allocations: 3.938 kB / 356.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.2132, allocations: 1.042 MB / 357.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.2132, allocations: 39.72 kB / 357.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.2133, allocations: 32.03 kB / 358 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.2135, allocations: 31.92 kB / 358 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.2136, allocations: 60.83 kB / 358.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.2136, allocations: 43.97 kB / 358.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001527/0.2138, allocations: 239 kB / 358.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2138, allocations: 0 / 358.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002854/0.2166, allocations: 1.364 MB / 359.7 MB, free: 9.367 MB / 314.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.003573/0.2202, allocations: 1.8 MB / 361.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.2213, allocations: 0.9065 MB / 362.4 MB, free: 6.602 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2213, allocations: 4.562 kB / 362.4 MB, free: 6.598 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.2218, allocations: 346.5 kB / 362.7 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000922/0.2227, allocations: 359.3 kB / 363.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.2247, allocations: 1.339 MB / 364.4 MB, free: 4.539 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.2248, allocations: 172.9 kB / 364.6 MB, free: 4.344 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003967/0.2252, allocations: 176.9 kB / 364.8 MB, free: 4.172 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.2253, allocations: 72.48 kB / 364.8 MB, free: 4.098 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2253, allocations: 0 / 364.8 MB, free: 4.098 MB / 314.7 MB Notification: Performance of Templates: time 0.05397/0.2793, allocations: 56.7 MB / 421.6 MB, free: 11.61 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.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: 10.102838514838368]