Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009338/0.0009338, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009283/0.0009283, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9157/0.9157, allocations: 177 MB / 204.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.497e-05, allocations: 5.125 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1362/0.1363, allocations: 26.11 MB / 299 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.1399, allocations: 2.694 MB / 301.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.1403, allocations: 14.5 kB / 301.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.1408, allocations: 163.6 kB / 301.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009034/0.1417, allocations: 0.5396 MB / 302.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01281/0.1545, allocations: 6.923 MB / 309.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.1562, allocations: 1.62 MB / 311 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.1564, allocations: 141.5 kB / 311.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008787/0.1573, allocations: 0.8255 MB / 311.9 MB, free: 7.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000591/0.1579, allocations: 0.5333 MB / 312.5 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.158, allocations: 84.72 kB / 312.6 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.1691, allocations: 8.99 MB / 321.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.1694, allocations: 347.2 kB / 321.9 MB, free: 160 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007536/0.1702, allocations: 347.4 kB / 322.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.1803, allocations: 6.349 MB / 328.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1803, allocations: 0 / 328.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1803, allocations: 0 / 328.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.1803, allocations: 0 / 328.6 MB, free: 9.453 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.003163/0.1835, allocations: 1.575 MB / 330.2 MB, free: 7.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1835, allocations: 12.03 kB / 330.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.1839, allocations: 160 kB / 330.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.1844, allocations: 382.4 kB / 330.7 MB, free: 7.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.1844, allocations: 45.31 kB / 330.7 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/0.1845, allocations: 79.98 kB / 330.8 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/0.1855, allocations: 0.8804 MB / 331.7 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.1855, allocations: 8 kB / 331.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.1856, allocations: 24 kB / 331.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.1856, allocations: 16 kB / 331.7 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.1864, allocations: 499.4 kB / 332.2 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006687/0.1931, allocations: 3.888 MB / 336.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.1942, allocations: 475.4 kB / 336.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.1945, allocations: 205.7 kB / 336.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004778/0.1992, allocations: 2.532 MB / 339.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.1993, allocations: 56.8 kB / 339.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 2.144e-06/0.1993, allocations: 0 / 339.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.00457/0.2038, allocations: 2.208 MB / 341.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.2039, allocations: 60.41 kB / 341.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.2041, allocations: 328.2 kB / 342 MB, free: 11.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.2042, allocations: 41.7 kB / 342 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.2043, allocations: 291.8 kB / 342.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.2045, allocations: 325.2 kB / 342.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.2046, allocations: 164.2 kB / 342.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2048, allocations: 0.5313 MB / 343.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.205, allocations: 165.9 kB / 343.5 MB, free: 10.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.2057, allocations: 319.4 kB / 343.8 MB, free: 9.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008315/0.2066, allocations: 0.5263 MB / 344.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2066, allocations: 0 / 344.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001505/0.2081, allocations: 0.8113 MB / 345.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2081, allocations: 11.98 kB / 345.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2081, allocations: 3.938 kB / 345.1 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004511/0.2085, allocations: 142.6 kB / 345.3 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.209, allocations: 196 kB / 345.5 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.2113, allocations: 5.288 MB / 350.7 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.2116, allocations: 20 kB / 350.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.2117, allocations: 43.98 kB / 350.8 MB, free: 2.457 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.000482/0.2122, allocations: 208.3 kB / 351 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/0.2125, allocations: 150.9 kB / 351.2 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.2137, allocations: 0.969 MB / 352.1 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2137, allocations: 12 kB / 352.1 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2137, allocations: 0 / 352.1 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009319/0.2147, allocations: 0.9972 MB / 353.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.2164, allocations: 1.365 MB / 354.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2164, allocations: 4 kB / 354.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.2168, allocations: 159.9 kB / 354.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008684/0.2176, allocations: 282.9 kB / 354.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.2177, allocations: 27.98 kB / 355 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005765/0.2183, allocations: 1.825 MB / 356.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2183, allocations: 4 kB / 356.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.2197, allocations: 1.038 MB / 357.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.2197, allocations: 39.72 kB / 357.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.2198, allocations: 27.98 kB / 357.9 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.22, allocations: 31.92 kB / 357.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.2201, allocations: 52.89 kB / 358 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/0.2203, allocations: 43.97 kB / 358 MB, free: 10.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.2205, allocations: 243 kB / 358.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2205, allocations: 0 / 358.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003157/0.2236, allocations: 1.36 MB / 359.6 MB, free: 9.285 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.00443/0.2281, allocations: 1.815 MB / 361.4 MB, free: 7.457 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.2294, allocations: 0.903 MB / 362.3 MB, free: 6.508 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2295, allocations: 4.125 kB / 362.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.2299, allocations: 346.5 kB / 362.7 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000995/0.2309, allocations: 356 kB / 363 MB, free: 5.836 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.2329, allocations: 1.344 MB / 364.4 MB, free: 4.457 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2331, allocations: 176.9 kB / 364.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004317/0.2335, allocations: 168.9 kB / 364.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.2336, allocations: 76.47 kB / 364.8 MB, free: 4.016 MB / 314.7 MB Notification: Performance of SimCode: time 2.195e-06/0.2336, allocations: 0 / 364.8 MB, free: 4.016 MB / 314.7 MB Notification: Performance of Templates: time 0.05553/0.2892, allocations: 56.71 MB / 421.5 MB, free: 11.48 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.23487505596131]