Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00171/0.00171, 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.001813/0.001813, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 68.77 kB / 379.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2289, allocations: 53.37 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07721/0.3061, allocations: 66.39 MB / 498.8 MB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007426/0.3136, allocations: 5.511 MB / 0.4925 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.3139, allocations: 11.94 kB / 0.4925 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009334/0.3148, allocations: 361.9 kB / 0.4929 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009242/0.3157, allocations: 0.5128 MB / 0.4934 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01817/0.3339, allocations: 7.536 MB / 0.5007 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002045/0.3359, allocations: 1.575 MB / 0.5022 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.3362, allocations: 149.4 kB / 0.5024 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009759/0.3372, allocations: 0.6308 MB / 0.503 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008734/0.3381, allocations: 0.6112 MB / 0.5036 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.3382, allocations: 84 kB / 0.5037 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01905/0.3573, allocations: 10.47 MB / 0.5139 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004748/0.3577, allocations: 335.1 kB / 0.5142 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006127/0.3583, allocations: 434.4 kB / 0.5146 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.371, allocations: 5.982 MB / 0.5205 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.371, allocations: 0 / 0.5205 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.371, allocations: 0 / 0.5205 GB, free: 2.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.3711, allocations: 3.938 kB / 0.5205 GB, free: 2.078 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.003861/0.3749, allocations: 1.541 MB / 0.522 GB, free: 0.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.375, allocations: 11.97 kB / 0.522 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004569/0.3754, allocations: 95.5 kB / 0.5221 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.3761, allocations: 379.2 kB / 0.5225 GB, free: 0 / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.3762, allocations: 45.36 kB / 0.5225 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.3763, allocations: 67.95 kB / 0.5226 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.3782, allocations: 0.8145 MB / 0.5234 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.3782, allocations: 0 / 0.5234 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-05/0.3783, allocations: 32 kB / 0.5234 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.3783, allocations: 16 kB / 0.5234 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.3803, allocations: 1.028 MB / 0.5244 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.3951, allocations: 4.981 MB / 0.5293 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.3969, allocations: 0.7069 MB / 0.53 GB, free: 8.078 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/0.3975, allocations: 391.6 kB / 0.5303 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0114/0.4089, allocations: 2.596 MB / 0.5329 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/0.409, allocations: 55.16 kB / 0.5329 GB, free: 5.031 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/0.409, allocations: 0 / 0.5329 GB, free: 5.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.0104/0.4194, allocations: 3.144 MB / 0.536 GB, free: 1.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.4195, allocations: 68.34 kB / 0.5361 GB, free: 1.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.4199, allocations: 360.5 kB / 0.5364 GB, free: 1.418 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.42, allocations: 41.7 kB / 0.5364 GB, free: 1.371 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.4202, allocations: 233.3 kB / 0.5367 GB, free: 1.141 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.4205, allocations: 333.2 kB / 0.537 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.4208, allocations: 158.6 kB / 0.5371 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.421, allocations: 358.8 kB / 0.5375 GB, free: 300 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1879/0.6089, allocations: 371 kB / 0.5378 GB, free: 106.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.6102, allocations: 497.2 kB / 0.5383 GB, free: 106.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.6122, allocations: 0.907 MB / 0.5392 GB, free: 106 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.6122, allocations: 0 / 0.5392 GB, free: 106 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002624/0.6148, allocations: 1.118 MB / 0.5403 GB, free: 105.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6148, allocations: 5.469 kB / 0.5403 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6148, allocations: 5.531 kB / 0.5403 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008549/0.6157, allocations: 170.6 kB / 0.5405 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.6164, allocations: 189.4 kB / 0.5406 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.6185, allocations: 3.914 MB / 0.5445 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.6189, allocations: 19.97 kB / 0.5445 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.55e-05/0.619, allocations: 43.23 kB / 0.5445 GB, free: 101.7 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.0003425/0.6194, allocations: 229.1 kB / 0.5447 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/0.6198, allocations: 63.7 kB / 0.5448 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.6222, allocations: 1.272 MB / 0.546 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.6222, allocations: 8.812 kB / 0.546 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6222, allocations: 0 / 0.546 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001719/0.6239, allocations: 1.318 MB / 0.5473 GB, free: 99.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.6269, allocations: 1.944 MB / 0.5492 GB, free: 99.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6269, allocations: 0 / 0.5492 GB, free: 99.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/0.6276, allocations: 168.6 kB / 0.5494 GB, free: 99.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.6293, allocations: 302.8 kB / 0.5497 GB, free: 99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.6294, allocations: 34.53 kB / 0.5497 GB, free: 98.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005167/0.6299, allocations: 1.288 MB / 0.551 GB, free: 97.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6299, allocations: 0 / 0.551 GB, free: 97.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.6321, allocations: 1.414 MB / 0.5524 GB, free: 97.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.6323, allocations: 51.2 kB / 0.5524 GB, free: 97.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6324, allocations: 29.45 kB / 0.5524 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.633, allocations: 34.89 kB / 0.5525 GB, free: 97.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.633, allocations: 56.7 kB / 0.5525 GB, free: 97.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.983e-05/0.6331, allocations: 43.2 kB / 0.5526 GB, free: 97.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002624/0.6334, allocations: 280.7 kB / 0.5528 GB, free: 96.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6334, allocations: 0 / 0.5528 GB, free: 96.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003214/0.6366, allocations: 1.422 MB / 0.5542 GB, free: 96.78 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.005652/0.6423, allocations: 1.741 MB / 0.5559 GB, free: 96.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.6441, allocations: 1.11 MB / 0.557 GB, free: 96.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6441, allocations: 0 / 0.557 GB, free: 96.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007462/0.6449, allocations: 482 kB / 0.5575 GB, free: 95.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.6465, allocations: 394.6 kB / 0.5578 GB, free: 95.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.649, allocations: 1.669 MB / 0.5595 GB, free: 93.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.6493, allocations: 0.9109 MB / 0.5604 GB, free: 92.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006417/0.6499, allocations: 205 kB / 0.5606 GB, free: 92.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.6501, allocations: 83.34 kB / 0.5606 GB, free: 92.62 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6501, allocations: 0 / 0.5606 GB, free: 92.62 MB / 446.1 MB Notification: Performance of Templates: time 0.05269/0.7028, allocations: 50.85 MB / 0.6103 GB, free: 41.91 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 20.669114508666098]