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.001321/0.001321, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.00114/0.00114, allocations: 170.4 kB / 24.82 MB, free: 8.883 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.943/0.943, allocations: 177.2 MB / 205.3 MB, free: 5.516 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.743e-06/1.743e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.55e-05, allocations: 12.84 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.131/0.131, allocations: 24.76 MB / 298.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.1336, allocations: 2.396 MB / 300.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.1339, allocations: 6.875 kB / 300.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.1343, allocations: 125.3 kB / 300.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005059/0.1348, allocations: 390.8 kB / 301.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01238/0.1472, allocations: 6.787 MB / 307.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.1483, allocations: 1.139 MB / 309 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.1485, allocations: 97.86 kB / 309.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00371/0.1523, allocations: 3.56 MB / 312.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.1527, allocations: 382.2 kB / 313 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.1527, allocations: 60.56 kB / 313.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.1636, allocations: 8.958 MB / 322.1 MB, free: 96 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.1639, allocations: 243.4 kB / 322.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.1642, allocations: 235.6 kB / 322.5 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008895/0.1731, allocations: 6.162 MB / 328.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1731, allocations: 0 / 328.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1731, allocations: 0 / 328.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1731, allocations: 0 / 328.7 MB, free: 9.449 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.002154/0.1753, allocations: 1.376 MB / 330.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1753, allocations: 15.97 kB / 330.1 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.1756, allocations: 128.5 kB / 330.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.1759, allocations: 291.9 kB / 330.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1759, allocations: 33 kB / 330.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.176, allocations: 48 kB / 330.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.1766, allocations: 0.6043 MB / 331.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1766, allocations: 7.938 kB / 331.2 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.1767, allocations: 24 kB / 331.2 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1767, allocations: 8 kB / 331.2 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.1771, allocations: 302.6 kB / 331.5 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/0.1829, allocations: 3.262 MB / 334.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.1834, allocations: 280.9 kB / 335 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.1835, allocations: 109 kB / 335.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004436/0.188, allocations: 2.372 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.188, allocations: 49.81 kB / 337.6 MB, free: 416 kB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 2.205e-06/0.188, allocations: 0 / 337.6 MB, free: 416 kB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.002517/0.1905, allocations: 1.249 MB / 338.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1906, allocations: 63.84 kB / 338.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1907, allocations: 292.1 kB / 339.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1907, allocations: 37.7 kB / 339.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1909, allocations: 260 kB / 339.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.722e-05/0.191, allocations: 198.2 kB / 339.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1911, allocations: 123.9 kB / 339.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1912, allocations: 0.5234 MB / 340.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1913, allocations: 73.25 kB / 340.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1916, allocations: 223.4 kB / 340.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.1923, allocations: 334.3 kB / 340.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1923, allocations: 0 / 340.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008707/0.1932, allocations: 0.5231 MB / 341.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1932, allocations: 11.94 kB / 341.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1932, allocations: 0 / 341.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.1934, allocations: 86.95 kB / 341.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.1937, allocations: 123.9 kB / 341.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.1952, allocations: 3.435 MB / 345.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.1953, allocations: 24.19 kB / 345.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.1954, allocations: 31.92 kB / 345.1 MB, free: 8.375 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 (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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * 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.0001455/0.1955, allocations: 184.5 kB / 345.3 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.1957, allocations: 95.33 kB / 345.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.1965, allocations: 0.6315 MB / 346 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1965, allocations: 4 kB / 346.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1965, allocations: 0 / 346.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004879/0.197, allocations: 0.5608 MB / 346.6 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/0.1979, allocations: 0.8578 MB / 347.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1979, allocations: 0 / 347.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.1982, allocations: 95.89 kB / 347.6 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006792/0.1988, allocations: 147.5 kB / 347.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1989, allocations: 12 kB / 347.7 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.1989, allocations: 11.98 kB / 347.7 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1989, allocations: 3.938 kB / 347.7 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.1996, allocations: 0.6577 MB / 348.4 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.1996, allocations: 35.8 kB / 348.4 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1997, allocations: 16 kB / 348.4 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1998, allocations: 15.98 kB / 348.5 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.1999, allocations: 48.39 kB / 348.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.1999, allocations: 23.98 kB / 348.5 MB, free: 4.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.299e-05/0.2, allocations: 213.1 kB / 348.7 MB, free: 4.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2, allocations: 0 / 348.7 MB, free: 4.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002499/0.2025, allocations: 1.302 MB / 350 MB, free: 3.266 MB / 298.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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003388/0.2059, allocations: 1.823 MB / 351.9 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007511/0.2066, allocations: 0.6509 MB / 352.5 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2066, allocations: 4 kB / 352.5 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.207, allocations: 227.7 kB / 352.7 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.2076, allocations: 250 kB / 353 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.2091, allocations: 0.8921 MB / 353.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.2092, allocations: 130.9 kB / 354 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003347/0.2095, allocations: 103.3 kB / 354.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006019/0.2101, allocations: 321.9 kB / 354.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2101, allocations: 0 / 354.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Templates: time 0.06358/0.2737, allocations: 50.93 MB / 405.4 MB, free: 11.96 MB / 362.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: 5.174691178835928]