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.001821/0.001821, allocations: 85.97 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002239/0.002239, allocations: 159.1 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.558/1.558, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|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.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.849e-05, allocations: 2.281 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.09798/0.09801, allocations: 58.85 MB / 383.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007762/0.1058, allocations: 4.97 MB / 388.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004785/0.1063, allocations: 11.94 kB / 388.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.1075, allocations: 337.9 kB / 389.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.109, allocations: 0.5394 MB / 389.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02148/0.1304, allocations: 7.533 MB / 397.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.1326, allocations: 1.566 MB / 398.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.133, allocations: 141.5 kB / 399 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.1346, allocations: 0.8456 MB / 399.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.1356, allocations: 0.5298 MB / 400.3 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.1358, allocations: 84 kB / 400.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01925/0.155, allocations: 9.576 MB / 410 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005923/0.1556, allocations: 351.1 kB / 410.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007534/0.1564, allocations: 335.4 kB / 410.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01522/0.1716, allocations: 7.16 MB / 417.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1716, allocations: 3.938 kB / 417.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1716, allocations: 0 / 417.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.01e-05/0.1716, allocations: 0 / 417.8 MB, free: 8.012 MB / 382.1 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.004184/0.1758, allocations: 1.525 MB / 419.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1759, allocations: 15.98 kB / 419.4 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005084/0.1764, allocations: 87.55 kB / 419.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.1772, allocations: 383.6 kB / 419.8 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.1772, allocations: 49.31 kB / 419.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1773, allocations: 64 kB / 419.9 MB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.1796, allocations: 1.22 MB / 421.2 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.1797, allocations: 7.938 kB / 421.2 MB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/0.1797, allocations: 28 kB / 421.2 MB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1798, allocations: 12 kB / 421.2 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.1819, allocations: 1.024 MB / 422.2 MB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.1969, allocations: 4.031 MB / 426.3 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.1989, allocations: 0.7114 MB / 427 MB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/0.1996, allocations: 387 kB / 427.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01167/0.2112, allocations: 2.611 MB / 430 MB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.035e-05/0.2113, allocations: 47.22 kB / 430 MB, free: 11.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 3.807e-06/0.2113, allocations: 0 / 430 MB, free: 11.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=88): time 0.01122/0.2225, allocations: 3.156 MB / 433.2 MB, free: 8.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.2226, allocations: 68.34 kB / 433.2 MB, free: 8.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.223, allocations: 297.8 kB / 433.5 MB, free: 8.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.2231, allocations: 45.7 kB / 433.6 MB, free: 7.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.2233, allocations: 245.1 kB / 433.8 MB, free: 7.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.2236, allocations: 321.2 kB / 434.1 MB, free: 7.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.2238, allocations: 162.6 kB / 434.3 MB, free: 7.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.224, allocations: 358.8 kB / 434.6 MB, free: 6.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/0.2247, allocations: 365.8 kB / 435 MB, free: 6.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.2258, allocations: 0.4962 MB / 435.5 MB, free: 6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.2277, allocations: 0.8943 MB / 436.4 MB, free: 5.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2277, allocations: 4 kB / 436.4 MB, free: 5.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002901/0.2306, allocations: 1.106 MB / 437.5 MB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2306, allocations: 8 kB / 437.5 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2306, allocations: 4 kB / 437.5 MB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008964/0.2315, allocations: 167.6 kB / 437.7 MB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.2324, allocations: 199.6 kB / 437.8 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.2358, allocations: 3.857 MB / 441.7 MB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.2362, allocations: 24 kB / 441.7 MB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.2363, allocations: 43.98 kB / 441.8 MB, free: 15.39 MB / 414.1 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.0004153/0.2367, allocations: 221.6 kB / 442 MB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004638/0.2372, allocations: 59.67 kB / 442 MB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.2399, allocations: 1.276 MB / 443.3 MB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.2399, allocations: 12 kB / 443.3 MB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2399, allocations: 0 / 443.3 MB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00209/0.242, allocations: 1.32 MB / 444.7 MB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.2455, allocations: 1.718 MB / 446.4 MB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.2455, allocations: 4 kB / 446.4 MB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/0.2462, allocations: 167.7 kB / 446.5 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/0.2482, allocations: 301.3 kB / 446.8 MB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.163e-05/0.2483, allocations: 31.98 kB / 446.9 MB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009478/0.2492, allocations: 1.281 MB / 448.1 MB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.2492, allocations: 3.938 kB / 448.1 MB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.2521, allocations: 1.414 MB / 449.6 MB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.2523, allocations: 47.66 kB / 449.6 MB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.2524, allocations: 20.06 kB / 449.6 MB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.253, allocations: 40.14 kB / 449.7 MB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2531, allocations: 60.83 kB / 449.7 MB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.2532, allocations: 43.97 kB / 449.8 MB, free: 7.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.2535, allocations: 243 kB / 450 MB, free: 6.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2535, allocations: 0 / 450 MB, free: 6.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003761/0.2573, allocations: 1.419 MB / 451.4 MB, free: 5.426 MB / 414.1 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.006496/0.2638, allocations: 1.909 MB / 453.3 MB, free: 3.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.2661, allocations: 1.116 MB / 454.5 MB, free: 2.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2661, allocations: 0 / 454.5 MB, free: 2.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.2671, allocations: 475.9 kB / 454.9 MB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.269, allocations: 332.2 kB / 455.2 MB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.2718, allocations: 1.501 MB / 456.7 MB, free: 28 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.2722, allocations: 313.8 kB / 457 MB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006613/0.2729, allocations: 192.8 kB / 457.2 MB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.2731, allocations: 84.45 kB / 457.3 MB, free: 15.42 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2731, allocations: 3.938 kB / 457.3 MB, free: 15.41 MB / 430.1 MB Notification: Performance of Templates: time 0.1984/0.4715, allocations: 49.35 MB / 0.4948 GB, free: 112.4 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.293767150491476]