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.00161/0.00161, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001894/0.001894, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.56/1.56, allocations: 230.3 MB / 257.9 MB, free: 8.254 MB / 206.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 0.001895/0.001895, allocations: 59.91 kB / 378.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2296, allocations: 53.37 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07587/0.3054, allocations: 66.39 MB / 498.5 MB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007357/0.3128, allocations: 5.504 MB / 0.4922 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.3131, allocations: 11.94 kB / 0.4922 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009792/0.314, allocations: 361.9 kB / 0.4926 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008863/0.3149, allocations: 0.5166 MB / 0.4931 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01825/0.3332, allocations: 7.531 MB / 0.5004 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002054/0.3352, allocations: 1.579 MB / 0.502 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.3355, allocations: 141.4 kB / 0.5021 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008632/0.3364, allocations: 0.6463 MB / 0.5027 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007704/0.3371, allocations: 0.6034 MB / 0.5033 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.3373, allocations: 84 kB / 0.5034 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01968/0.357, allocations: 10.47 MB / 0.5136 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006263/0.3576, allocations: 331.1 kB / 0.5139 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008072/0.3584, allocations: 442.4 kB / 0.5144 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.3729, allocations: 5.978 MB / 0.5202 GB, free: 2.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3729, allocations: 0 / 0.5202 GB, free: 2.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3729, allocations: 0 / 0.5202 GB, free: 2.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3729, allocations: 0 / 0.5202 GB, free: 2.238 MB / 430.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.003826/0.3767, allocations: 1.541 MB / 0.5217 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3768, allocations: 8.031 kB / 0.5217 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004477/0.3772, allocations: 91.5 kB / 0.5218 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007226/0.3779, allocations: 387.1 kB / 0.5222 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.378, allocations: 49.3 kB / 0.5222 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.3781, allocations: 67.95 kB / 0.5223 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.38, allocations: 0.8107 MB / 0.5231 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.38, allocations: 0 / 0.5231 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.3801, allocations: 28 kB / 0.5231 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.3801, allocations: 20 kB / 0.5231 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.3821, allocations: 1.036 MB / 0.5241 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/0.3968, allocations: 4.973 MB / 0.529 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.3987, allocations: 0.7168 MB / 0.5297 GB, free: 8.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.3993, allocations: 390 kB / 0.5301 GB, free: 7.852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.4106, allocations: 2.596 MB / 0.5326 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.4106, allocations: 51.2 kB / 0.5326 GB, free: 5.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.4106, allocations: 4 kB / 0.5326 GB, free: 5.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01053/0.4212, allocations: 3.15 MB / 0.5357 GB, free: 2.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.4212, allocations: 60.41 kB / 0.5358 GB, free: 1.934 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.4217, allocations: 364.5 kB / 0.5361 GB, free: 1.574 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.4218, allocations: 41.7 kB / 0.5362 GB, free: 1.527 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.422, allocations: 245.2 kB / 0.5364 GB, free: 1.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.4223, allocations: 325.2 kB / 0.5367 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.4226, allocations: 162.6 kB / 0.5369 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.4229, allocations: 362.8 kB / 0.5372 GB, free: 448 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000673/0.4235, allocations: 373.8 kB / 0.5376 GB, free: 72 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2032/0.6267, allocations: 489.1 kB / 0.538 GB, free: 106.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.6288, allocations: 0.9094 MB / 0.5389 GB, free: 106.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6288, allocations: 1.281 kB / 0.5389 GB, free: 106.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002636/0.6315, allocations: 1.123 MB / 0.54 GB, free: 105.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6315, allocations: 5.656 kB / 0.54 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.6315, allocations: 3.375 kB / 0.54 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008978/0.6324, allocations: 162.9 kB / 0.5402 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/0.6332, allocations: 191.3 kB / 0.5404 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.6352, allocations: 3.913 MB / 0.5442 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.6357, allocations: 17.23 kB / 0.5442 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/0.6358, allocations: 43.62 kB / 0.5442 GB, free: 102 MB / 446.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.0003007/0.6361, allocations: 227.5 kB / 0.5445 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.6365, allocations: 58.59 kB / 0.5445 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.6388, allocations: 1.273 MB / 0.5458 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.6388, allocations: 8.25 kB / 0.5458 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6388, allocations: 2.188 kB / 0.5458 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/0.6404, allocations: 1.326 MB / 0.5471 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.6434, allocations: 1.937 MB / 0.549 GB, free: 99.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6434, allocations: 2.953 kB / 0.549 GB, free: 99.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/0.6441, allocations: 161.2 kB / 0.5491 GB, free: 99.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.6458, allocations: 310.1 kB / 0.5494 GB, free: 99.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.6459, allocations: 27.42 kB / 0.5494 GB, free: 99.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005089/0.6464, allocations: 1.287 MB / 0.5507 GB, free: 98.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6464, allocations: 1.656 kB / 0.5507 GB, free: 98.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.6486, allocations: 1.419 MB / 0.5521 GB, free: 97.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.6487, allocations: 50.72 kB / 0.5521 GB, free: 97.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.6488, allocations: 19.59 kB / 0.5522 GB, free: 97.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/0.6495, allocations: 36.91 kB / 0.5522 GB, free: 97.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.6495, allocations: 50.34 kB / 0.5522 GB, free: 97.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/0.6496, allocations: 43.17 kB / 0.5523 GB, free: 97.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.6498, allocations: 281.6 kB / 0.5525 GB, free: 97.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6498, allocations: 7.75 kB / 0.5526 GB, free: 97.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003518/0.6534, allocations: 1.425 MB / 0.5539 GB, free: 97.1 MB / 446.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.005446/0.6588, allocations: 1.744 MB / 0.5556 GB, free: 96.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.6607, allocations: 1.104 MB / 0.5567 GB, free: 96.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6607, allocations: 3.469 kB / 0.5567 GB, free: 96.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.6615, allocations: 481.1 kB / 0.5572 GB, free: 95.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.6632, allocations: 392.4 kB / 0.5576 GB, free: 95.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.6655, allocations: 1.679 MB / 0.5592 GB, free: 94.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.6658, allocations: 0.9109 MB / 0.5601 GB, free: 93.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006242/0.6664, allocations: 209.1 kB / 0.5603 GB, free: 93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.6666, allocations: 79.41 kB / 0.5604 GB, free: 92.92 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.6666, allocations: 0 / 0.5604 GB, free: 92.92 MB / 446.1 MB Notification: Performance of Templates: time 0.05577/0.7224, allocations: 50.83 MB / 0.61 GB, free: 42.17 MB / 446.1 MB " [Timeout remaining time 659] 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.128904898650944]