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.001762/0.001762, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.002089/0.002089, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.422/1.422, allocations: 230.5 MB / 255.4 MB, free: 14.98 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.001916/0.001916, allocations: 71.84 kB / 374.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.107, allocations: 53.31 MB / 428.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2815/0.3885, allocations: 66 MB / 494.1 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007757/0.3962, allocations: 5.481 MB / 499.5 MB, free: 8.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.3967, allocations: 10.81 kB / 499.6 MB, free: 8.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.3978, allocations: 353.2 kB / 499.9 MB, free: 8.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.399, allocations: 0.5155 MB / 0.4887 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02267/0.4216, allocations: 7.486 MB / 0.496 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.424, allocations: 1.539 MB / 0.4975 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.4243, allocations: 168.9 kB / 0.4977 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.4255, allocations: 0.6269 MB / 0.4983 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009306/0.4264, allocations: 0.6111 MB / 0.4989 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.4266, allocations: 84 kB / 0.499 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0212/0.4478, allocations: 10.4 MB / 0.5091 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005757/0.4483, allocations: 327.2 kB / 0.5094 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007328/0.4491, allocations: 434.4 kB / 0.5098 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01685/0.4659, allocations: 5.97 MB / 0.5157 GB, free: 12.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4659, allocations: 4 kB / 0.5157 GB, free: 12.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4659, allocations: 0 / 0.5157 GB, free: 12.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.4659, allocations: 0 / 0.5157 GB, free: 12.58 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.004457/0.4704, allocations: 1.612 MB / 0.5173 GB, free: 10.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4704, allocations: 12.03 kB / 0.5173 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.4709, allocations: 91.56 kB / 0.5173 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.4716, allocations: 448.9 kB / 0.5178 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.4716, allocations: 45.31 kB / 0.5178 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4718, allocations: 71.95 kB / 0.5179 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.4736, allocations: 0.8068 MB / 0.5187 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.4736, allocations: 5 kB / 0.5187 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/0.4737, allocations: 28 kB / 0.5187 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.4737, allocations: 16 kB / 0.5187 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.4756, allocations: 1.024 MB / 0.5197 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01881/0.4944, allocations: 12.78 MB / 0.5322 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.4963, allocations: 0.708 MB / 0.5329 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.4969, allocations: 386.6 kB / 0.5333 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/0.5133, allocations: 12.23 MB / 0.5452 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.5134, allocations: 47.53 kB / 0.5453 GB, free: 9.652 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.264e-06/0.5134, allocations: 0 / 0.5453 GB, free: 9.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.01024/0.5236, allocations: 3.369 MB / 0.5485 GB, free: 6.211 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.5237, allocations: 64.41 kB / 0.5486 GB, free: 6.137 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.5241, allocations: 364.4 kB / 0.5489 GB, free: 5.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-05/0.5242, allocations: 45.7 kB / 0.549 GB, free: 5.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.5244, allocations: 241.2 kB / 0.5492 GB, free: 5.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.5247, allocations: 325.2 kB / 0.5495 GB, free: 5.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.5249, allocations: 158.6 kB / 0.5497 GB, free: 4.996 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5251, allocations: 366.8 kB / 0.55 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006127/0.5257, allocations: 369.8 kB / 0.5504 GB, free: 4.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009666/0.5267, allocations: 0.489 MB / 0.5509 GB, free: 3.746 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.5285, allocations: 0.8981 MB / 0.5517 GB, free: 2.816 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5285, allocations: 0 / 0.5517 GB, free: 2.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002822/0.5313, allocations: 1.113 MB / 0.5528 GB, free: 1.688 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.5313, allocations: 11.94 kB / 0.5528 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.5314, allocations: 8 kB / 0.5528 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008704/0.5322, allocations: 167.5 kB / 0.553 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/0.5331, allocations: 191.8 kB / 0.5532 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.5366, allocations: 4.113 MB / 0.5572 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.5371, allocations: 28.02 kB / 0.5572 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5372, allocations: 43.98 kB / 0.5573 GB, free: 12.8 MB / 478.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.000416/0.5376, allocations: 225.6 kB / 0.5575 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/0.5381, allocations: 63.67 kB / 0.5576 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.5407, allocations: 1.281 MB / 0.5588 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.5407, allocations: 8 kB / 0.5588 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5407, allocations: 0 / 0.5588 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002001/0.5427, allocations: 1.32 MB / 0.5601 GB, free: 9.727 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.5464, allocations: 1.972 MB / 0.562 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5464, allocations: 0 / 0.562 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.5472, allocations: 159.8 kB / 0.5622 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.5491, allocations: 301.3 kB / 0.5625 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-05/0.5492, allocations: 27.98 kB / 0.5625 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009457/0.5502, allocations: 1.289 MB / 0.5637 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.5502, allocations: 4 kB / 0.5638 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.553, allocations: 1.429 MB / 0.5651 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.5532, allocations: 128.7 kB / 0.5653 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/0.5533, allocations: 20.06 kB / 0.5653 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.5538, allocations: 27.98 kB / 0.5653 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.554, allocations: 52.92 kB / 0.5654 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-05/0.554, allocations: 51.95 kB / 0.5654 GB, free: 4.109 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003496/0.5544, allocations: 279 kB / 0.5657 GB, free: 3.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5544, allocations: 0 / 0.5657 GB, free: 3.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00411/0.5585, allocations: 1.423 MB / 0.5671 GB, free: 2.414 MB / 478.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.0061/0.5646, allocations: 1.742 MB / 0.5688 GB, free: 0.668 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002451/0.5671, allocations: 1.113 MB / 0.5699 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.539e-05/0.5671, allocations: 3.938 kB / 0.5699 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009855/0.5681, allocations: 479.9 kB / 0.5703 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.5701, allocations: 393.8 kB / 0.5707 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.5733, allocations: 1.717 MB / 0.5724 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.5739, allocations: 0.9167 MB / 0.5733 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.5742, allocations: 95.34 kB / 0.5734 GB, free: 11.87 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5742, allocations: 3.938 kB / 0.5734 GB, free: 11.86 MB / 494.1 MB Notification: Performance of Templates: time 0.06079/0.635, allocations: 41.21 MB / 0.6136 GB, free: 2.637 MB / 0.5137 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.15734148817137]