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.001595/0.001595, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00129/0.00129, allocations: 160.5 kB / 24.55 MB, free: 16 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.9698/0.9698, allocations: 177 MB / 204.8 MB, free: 5.551 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 2.274e-06/2.274e-06, allocations: 3.938 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.037e-05, allocations: 5.125 kB / 272.9 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1573/0.1573, allocations: 26.1 MB / 299 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.1612, allocations: 2.7 MB / 301.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005032/0.1617, allocations: 11.41 kB / 301.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007085/0.1624, allocations: 160.9 kB / 301.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008502/0.1632, allocations: 0.5466 MB / 302.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01505/0.1783, allocations: 6.923 MB / 309.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.1803, allocations: 1.62 MB / 311 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.1805, allocations: 139.4 kB / 311.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.1816, allocations: 0.8261 MB / 312 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.1822, allocations: 0.5298 MB / 312.5 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.1824, allocations: 81.88 kB / 312.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01322/0.1956, allocations: 8.986 MB / 321.5 MB, free: 468 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.196, allocations: 351.1 kB / 321.9 MB, free: 116 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006312/0.1966, allocations: 339.4 kB / 322.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.2109, allocations: 6.356 MB / 328.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2109, allocations: 0 / 328.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2109, allocations: 0 / 328.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.2109, allocations: 3.938 kB / 328.6 MB, free: 9.406 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.003368/0.2143, allocations: 1.567 MB / 330.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2143, allocations: 12.03 kB / 330.2 MB, free: 7.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.2147, allocations: 160 kB / 330.3 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.2152, allocations: 386.4 kB / 330.7 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.2152, allocations: 45.31 kB / 330.7 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.2153, allocations: 72 kB / 330.8 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.2164, allocations: 0.8882 MB / 331.7 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.2164, allocations: 7.938 kB / 331.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.2164, allocations: 24 kB / 331.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2165, allocations: 16 kB / 331.7 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/0.2173, allocations: 0.4955 MB / 332.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007226/0.2245, allocations: 3.875 MB / 336.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.2254, allocations: 474.1 kB / 336.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.2257, allocations: 210.2 kB / 336.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004717/0.2304, allocations: 2.54 MB / 339.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.2304, allocations: 54.03 kB / 339.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 3.466e-06/0.2305, allocations: 0 / 339.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.004572/0.235, allocations: 2.2 MB / 341.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2351, allocations: 68.39 kB / 341.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.2353, allocations: 324.2 kB / 342 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.2353, allocations: 41.7 kB / 342 MB, free: 11.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.2355, allocations: 295.8 kB / 342.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/0.2359, allocations: 321.2 kB / 342.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.2361, allocations: 164.2 kB / 342.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2362, allocations: 0.5313 MB / 343.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.2365, allocations: 165.9 kB / 343.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.2369, allocations: 323.3 kB / 343.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/0.2377, allocations: 0.5224 MB / 344.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2377, allocations: 0 / 344.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0014/0.2391, allocations: 0.8114 MB / 345.1 MB, free: 8.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2392, allocations: 15.06 kB / 345.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2392, allocations: 4 kB / 345.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.2396, allocations: 138.6 kB / 345.3 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.24, allocations: 196 kB / 345.4 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.2425, allocations: 5.294 MB / 350.7 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.2427, allocations: 23.94 kB / 350.8 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/0.2428, allocations: 43.98 kB / 350.8 MB, free: 2.414 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.0002074/0.243, allocations: 208.3 kB / 351 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.2433, allocations: 150.9 kB / 351.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.2446, allocations: 0.9729 MB / 352.1 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2446, allocations: 8 kB / 352.1 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2446, allocations: 0 / 352.1 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00097/0.2456, allocations: 1.001 MB / 353.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.2473, allocations: 1.357 MB / 354.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2473, allocations: 4 kB / 354.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.2477, allocations: 159.8 kB / 354.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008564/0.2485, allocations: 278.9 kB / 354.9 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/0.2486, allocations: 27.98 kB / 355 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.2497, allocations: 1.833 MB / 356.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2497, allocations: 0 / 356.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.2511, allocations: 1.042 MB / 357.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.2512, allocations: 39.72 kB / 357.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.2513, allocations: 23.98 kB / 357.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.2515, allocations: 31.92 kB / 357.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.2516, allocations: 56.89 kB / 358 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.2516, allocations: 39.97 kB / 358 MB, free: 10.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.2518, allocations: 243 kB / 358.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2518, allocations: 3.938 kB / 358.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003617/0.2554, allocations: 1.36 MB / 359.6 MB, free: 9.238 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.00446/0.2599, allocations: 1.807 MB / 361.4 MB, free: 7.418 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.2613, allocations: 0.9065 MB / 362.3 MB, free: 6.465 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.2613, allocations: 4.562 kB / 362.3 MB, free: 6.461 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000487/0.2618, allocations: 342.5 kB / 362.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.2629, allocations: 353.1 kB / 363 MB, free: 5.793 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.2653, allocations: 1.348 MB / 364.4 MB, free: 4.414 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.2654, allocations: 176.9 kB / 364.5 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004274/0.2659, allocations: 168.9 kB / 364.7 MB, free: 4.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.266, allocations: 72.48 kB / 364.8 MB, free: 3.977 MB / 314.7 MB Notification: Performance of SimCode: time 2.324e-06/0.266, allocations: 3.938 kB / 364.8 MB, free: 3.973 MB / 314.7 MB Notification: Performance of Templates: time 0.05136/0.3174, allocations: 48.71 MB / 413.5 MB, free: 3.457 MB / 362.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: 13.021317209117115]