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.001363/0.001363, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.00149/0.00149, allocations: 165 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.958/0.958, allocations: 177.1 MB / 205 MB, free: 5.281 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.713e-06/1.713e-06, allocations: 0 / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.921e-05, allocations: 2.312 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1446/0.1446, allocations: 25.12 MB / 298.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.1473, allocations: 2.423 MB / 300.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.1476, allocations: 7.438 kB / 300.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.148, allocations: 123.4 kB / 300.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006355/0.1487, allocations: 389.3 kB / 301 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01318/0.1619, allocations: 6.789 MB / 307.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.1632, allocations: 1.138 MB / 309 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1635, allocations: 95.39 kB / 309.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.1676, allocations: 3.549 MB / 312.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005454/0.1682, allocations: 375 kB / 313 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.241e-05/0.1683, allocations: 55.88 kB / 313 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.18, allocations: 8.965 MB / 322 MB, free: 176 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.1803, allocations: 239.5 kB / 322.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.1806, allocations: 239.5 kB / 322.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.1917, allocations: 6.15 MB / 328.6 MB, free: 9.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1917, allocations: 0 / 328.6 MB, free: 9.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1917, allocations: 3.938 kB / 328.6 MB, free: 9.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1917, allocations: 4 kB / 328.6 MB, free: 9.531 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.002619/0.1943, allocations: 1.384 MB / 330 MB, free: 8.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1944, allocations: 12.03 kB / 330 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000311/0.1947, allocations: 112.5 kB / 330.1 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.195, allocations: 311.8 kB / 330.4 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1951, allocations: 34.31 kB / 330.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/0.1951, allocations: 48 kB / 330.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.1959, allocations: 0.655 MB / 331.2 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1959, allocations: 0 / 331.2 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.1959, allocations: 20 kB / 331.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1959, allocations: 8 kB / 331.2 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005818/0.1965, allocations: 361.7 kB / 331.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006126/0.2027, allocations: 3.481 MB / 335 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.2033, allocations: 313.8 kB / 335.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2035, allocations: 129.1 kB / 335.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004633/0.2081, allocations: 2.537 MB / 338 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.2081, allocations: 41.89 kB / 338 MB, free: 15.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 2.405e-06/0.2081, allocations: 4 kB / 338 MB, free: 15.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002914/0.211, allocations: 1.36 MB / 339.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.2111, allocations: 59.91 kB / 339.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.2113, allocations: 300.2 kB / 339.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.2113, allocations: 37.7 kB / 339.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2114, allocations: 248 kB / 340 MB, free: 13.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.2115, allocations: 198.2 kB / 340.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.2116, allocations: 127.9 kB / 340.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2118, allocations: 0.5157 MB / 340.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.2119, allocations: 101.2 kB / 341 MB, free: 12.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.2122, allocations: 243.5 kB / 341.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.2128, allocations: 374.4 kB / 341.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2128, allocations: 0 / 341.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009371/0.2137, allocations: 0.5387 MB / 342.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2137, allocations: 8 kB / 342.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2137, allocations: 0 / 342.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/0.214, allocations: 95.22 kB / 342.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.2143, allocations: 123.9 kB / 342.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.216, allocations: 4.4 MB / 346.7 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2161, allocations: 12 kB / 346.7 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.2162, allocations: 32.06 kB / 346.8 MB, free: 6.68 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): 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.0001366/0.2163, allocations: 188.5 kB / 347 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.2165, allocations: 95.45 kB / 347.1 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007922/0.2173, allocations: 0.6355 MB / 347.7 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2173, allocations: 4 kB / 347.7 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2173, allocations: 0 / 347.7 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005661/0.2179, allocations: 0.5753 MB / 348.3 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.2189, allocations: 0.9237 MB / 349.2 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.2189, allocations: 0 / 349.2 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.2192, allocations: 103.9 kB / 349.3 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004671/0.2197, allocations: 143.5 kB / 349.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.2197, allocations: 15.98 kB / 349.4 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002843/0.22, allocations: 0.9128 MB / 350.4 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.22, allocations: 11.88 kB / 350.4 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009056/0.2209, allocations: 0.6774 MB / 351.1 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.2209, allocations: 31.8 kB / 351.1 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.221, allocations: 12 kB / 351.1 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.2212, allocations: 19.98 kB / 351.1 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.2212, allocations: 40.36 kB / 351.2 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.2213, allocations: 28.05 kB / 351.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.2214, allocations: 229 kB / 351.4 MB, free: 1.809 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2214, allocations: 0 / 351.4 MB, free: 1.809 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002637/0.224, allocations: 1.298 MB / 352.7 MB, free: 0.5039 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): 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.003763/0.2278, allocations: 1.791 MB / 354.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008956/0.2287, allocations: 0.6941 MB / 355.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2287, allocations: 4 kB / 355.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.229, allocations: 199.1 kB / 355.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000716/0.2297, allocations: 237.7 kB / 355.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.2312, allocations: 0.9119 MB / 356.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.945e-05/0.2313, allocations: 126.9 kB / 356.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00031/0.2316, allocations: 123.4 kB / 356.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.2317, allocations: 56.42 kB / 356.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2317, allocations: 4 kB / 356.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of Templates: time 0.04895/0.2807, allocations: 51.78 MB / 408.6 MB, free: 8.625 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: 7.44816038897261]