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.002045/0.002045, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001517/0.001517, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.812 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.002046/0.002046, allocations: 59.89 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2444, allocations: 53.41 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.08892/0.3333, allocations: 58.98 MB / 490.6 MB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.3441, allocations: 4.967 MB / 495.6 MB, free: 6.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.3447, allocations: 11.88 kB / 495.6 MB, free: 6.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.3462, allocations: 330.1 kB / 495.9 MB, free: 6.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.3479, allocations: 0.5244 MB / 496.4 MB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02741/0.3753, allocations: 7.449 MB / 0.4921 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002535/0.3779, allocations: 1.563 MB / 0.4936 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.3782, allocations: 141.4 kB / 0.4937 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.3792, allocations: 0.6425 MB / 0.4944 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009197/0.3801, allocations: 0.576 MB / 0.4949 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.3803, allocations: 80 kB / 0.495 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01879/0.3991, allocations: 9.544 MB / 0.5043 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005065/0.3996, allocations: 335.1 kB / 0.5047 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006283/0.4002, allocations: 382.7 kB / 0.505 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.4132, allocations: 5.881 MB / 0.5108 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4132, allocations: 0 / 0.5108 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4132, allocations: 0 / 0.5108 GB, free: 10.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.4132, allocations: 0 / 0.5108 GB, free: 10.87 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.003659/0.4168, allocations: 1.529 MB / 0.5123 GB, free: 9.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4169, allocations: 11.98 kB / 0.5123 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/0.4173, allocations: 87.56 kB / 0.5124 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.4181, allocations: 387.1 kB / 0.5127 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.4181, allocations: 49.31 kB / 0.5128 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.4183, allocations: 63.95 kB / 0.5128 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.4204, allocations: 1.22 MB / 0.514 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.4204, allocations: 0 / 0.514 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.586e-05/0.4205, allocations: 28 kB / 0.514 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.4205, allocations: 16 kB / 0.5141 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.4226, allocations: 1.024 MB / 0.5151 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.4367, allocations: 4.05 MB / 0.519 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.4385, allocations: 0.7063 MB / 0.5197 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/0.4392, allocations: 391.6 kB / 0.5201 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.4505, allocations: 2.608 MB / 0.5226 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/0.4505, allocations: 47.16 kB / 0.5227 GB, free: 14.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.155e-06/0.4505, allocations: 4 kB / 0.5227 GB, free: 14.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01014/0.4607, allocations: 3.155 MB / 0.5258 GB, free: 11.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.4607, allocations: 60.41 kB / 0.5258 GB, free: 11.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.4611, allocations: 305.8 kB / 0.5261 GB, free: 10.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.399e-05/0.4612, allocations: 45.7 kB / 0.5262 GB, free: 10.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.4614, allocations: 245.1 kB / 0.5264 GB, free: 10.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.4617, allocations: 325.2 kB / 0.5267 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.4619, allocations: 162.6 kB / 0.5269 GB, free: 10.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4621, allocations: 358.8 kB / 0.5272 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006767/0.4628, allocations: 365.8 kB / 0.5275 GB, free: 9.371 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/0.4638, allocations: 496.2 kB / 0.528 GB, free: 8.855 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.4657, allocations: 0.9021 MB / 0.5289 GB, free: 7.922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.4657, allocations: 4 kB / 0.5289 GB, free: 7.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002773/0.4685, allocations: 1.11 MB / 0.53 GB, free: 6.789 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4685, allocations: 11.94 kB / 0.53 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4685, allocations: 7.938 kB / 0.53 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008518/0.4693, allocations: 163.3 kB / 0.5302 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.4702, allocations: 195.7 kB / 0.5303 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.4736, allocations: 3.852 MB / 0.5341 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.474, allocations: 28.47 kB / 0.5341 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.4741, allocations: 47.98 kB / 0.5342 GB, free: 2.23 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.0004057/0.4746, allocations: 225.2 kB / 0.5344 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.4749, allocations: 55.72 kB / 0.5344 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.4776, allocations: 1.272 MB / 0.5357 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.4776, allocations: 12 kB / 0.5357 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4776, allocations: 3.938 kB / 0.5357 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1909/0.6685, allocations: 1.318 MB / 0.537 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.6716, allocations: 1.724 MB / 0.5387 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6716, allocations: 4.406 kB / 0.5387 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.6724, allocations: 164.5 kB / 0.5388 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.6741, allocations: 298 kB / 0.5391 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.199e-05/0.6742, allocations: 36.45 kB / 0.5392 GB, free: 106.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005613/0.6748, allocations: 1.286 MB / 0.5404 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6748, allocations: 0.7812 kB / 0.5404 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.6772, allocations: 1.411 MB / 0.5418 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.6773, allocations: 52.19 kB / 0.5418 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.6774, allocations: 20.09 kB / 0.5419 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005258/0.6779, allocations: 34.08 kB / 0.5419 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.678, allocations: 57.73 kB / 0.5419 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.486e-05/0.6781, allocations: 40.3 kB / 0.542 GB, free: 104.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.6784, allocations: 242.1 kB / 0.5422 GB, free: 104.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6784, allocations: 0 / 0.5422 GB, free: 104.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003156/0.6816, allocations: 1.427 MB / 0.5436 GB, free: 104 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.004523/0.6861, allocations: 1.74 MB / 0.5453 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.6881, allocations: 1.106 MB / 0.5464 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6881, allocations: 4.312 kB / 0.5464 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007746/0.6888, allocations: 483.2 kB / 0.5469 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.6904, allocations: 339.4 kB / 0.5472 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.6926, allocations: 1.668 MB / 0.5488 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.6929, allocations: 313.8 kB / 0.5491 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005912/0.6934, allocations: 200.8 kB / 0.5493 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.6936, allocations: 79.12 kB / 0.5494 GB, free: 101.5 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.6936, allocations: 0 / 0.5494 GB, free: 101.5 MB / 446.1 MB Notification: Performance of Templates: time 0.05072/0.7444, allocations: 50.36 MB / 0.5986 GB, free: 52.08 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.2033821195364]