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.005732/0.005732, allocations: 110.2 kB / 21.98 MB, free: 5.18 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.001473/0.001473, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.453/1.453, allocations: 230.6 MB / 259 MB, free: 8.043 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.002017/0.002017, allocations: 63.89 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2816, allocations: 53.37 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.08254/0.3641, allocations: 66.38 MB / 499.6 MB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007879/0.372, allocations: 5.515 MB / 0.4932 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.3724, allocations: 11.94 kB / 0.4932 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.3735, allocations: 365.9 kB / 0.4936 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.3745, allocations: 0.5089 MB / 0.4941 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02077/0.3953, allocations: 7.544 MB / 0.5015 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.3976, allocations: 1.571 MB / 0.503 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.3979, allocations: 149.3 kB / 0.5031 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.3991, allocations: 0.6347 MB / 0.5038 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009667/0.4001, allocations: 0.6112 MB / 0.5043 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.4002, allocations: 84 kB / 0.5044 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02252/0.4227, allocations: 10.47 MB / 0.5147 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006391/0.4234, allocations: 323.2 kB / 0.515 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007962/0.4242, allocations: 446.3 kB / 0.5154 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01768/0.4418, allocations: 5.978 MB / 0.5212 GB, free: 2.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4418, allocations: 0 / 0.5212 GB, free: 2.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4418, allocations: 0 / 0.5212 GB, free: 2.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.4419, allocations: 0 / 0.5212 GB, free: 2.117 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.004529/0.4464, allocations: 1.545 MB / 0.5227 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4464, allocations: 8.031 kB / 0.5227 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/0.4469, allocations: 87.56 kB / 0.5228 GB, free: 452 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.4476, allocations: 387.1 kB / 0.5232 GB, free: 40 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/0.4477, allocations: 45.36 kB / 0.5232 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4478, allocations: 71.95 kB / 0.5233 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.4496, allocations: 0.8145 MB / 0.5241 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.4497, allocations: 0 / 0.5241 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/0.4497, allocations: 28 kB / 0.5241 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.4498, allocations: 16 kB / 0.5241 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.4517, allocations: 1.028 MB / 0.5252 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/0.4661, allocations: 4.981 MB / 0.53 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.468, allocations: 0.7069 MB / 0.5307 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/0.4687, allocations: 391.6 kB / 0.5311 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.4797, allocations: 2.6 MB / 0.5336 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.646e-05/0.4797, allocations: 51.16 kB / 0.5337 GB, free: 5.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.695e-06/0.4797, allocations: 0 / 0.5337 GB, free: 5.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01013/0.4899, allocations: 3.154 MB / 0.5367 GB, free: 1.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4899, allocations: 60.41 kB / 0.5368 GB, free: 1.812 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.4904, allocations: 364.4 kB / 0.5372 GB, free: 1.453 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.933e-05/0.4905, allocations: 41.7 kB / 0.5372 GB, free: 1.406 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.4907, allocations: 233.3 kB / 0.5374 GB, free: 1.176 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.491, allocations: 329.2 kB / 0.5377 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.4912, allocations: 166.6 kB / 0.5379 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.4914, allocations: 358.8 kB / 0.5382 GB, free: 332 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2744/0.7658, allocations: 375.2 kB / 0.5386 GB, free: 106.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.7673, allocations: 493.1 kB / 0.5391 GB, free: 106.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.7693, allocations: 0.9073 MB / 0.5399 GB, free: 106 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.7693, allocations: 1.156 kB / 0.5399 GB, free: 106 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002726/0.7721, allocations: 1.117 MB / 0.541 GB, free: 105.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.7721, allocations: 6.531 kB / 0.541 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.7721, allocations: 2.203 kB / 0.541 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008583/0.773, allocations: 171.8 kB / 0.5412 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/0.7737, allocations: 188.4 kB / 0.5414 GB, free: 105.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.7759, allocations: 3.904 MB / 0.5452 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.7764, allocations: 18.28 kB / 0.5452 GB, free: 101.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.7765, allocations: 44.8 kB / 0.5453 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.0004163/0.7769, allocations: 233.8 kB / 0.5455 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.7773, allocations: 63.16 kB / 0.5455 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.7799, allocations: 1.277 MB / 0.5468 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.7799, allocations: 8.859 kB / 0.5468 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7799, allocations: 2.688 kB / 0.5468 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001767/0.7817, allocations: 1.32 MB / 0.5481 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.7847, allocations: 1.935 MB / 0.55 GB, free: 99.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.7847, allocations: 4.828 kB / 0.55 GB, free: 99.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/0.7854, allocations: 163.1 kB / 0.5501 GB, free: 99.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/0.7871, allocations: 303.2 kB / 0.5504 GB, free: 99.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.7871, allocations: 27.58 kB / 0.5505 GB, free: 99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005418/0.7877, allocations: 1.29 MB / 0.5517 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7877, allocations: 0 / 0.5517 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.7899, allocations: 1.412 MB / 0.5531 GB, free: 97.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.79, allocations: 54.75 kB / 0.5531 GB, free: 97.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.7901, allocations: 19.39 kB / 0.5532 GB, free: 97.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.7906, allocations: 39.16 kB / 0.5532 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.7907, allocations: 55.73 kB / 0.5533 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.183e-05/0.7908, allocations: 46.77 kB / 0.5533 GB, free: 97.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002888/0.7911, allocations: 279.8 kB / 0.5536 GB, free: 96.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7911, allocations: 3.844 kB / 0.5536 GB, free: 96.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004086/0.7952, allocations: 1.424 MB / 0.555 GB, free: 96.79 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.005549/0.8007, allocations: 1.745 MB / 0.5567 GB, free: 96.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.8029, allocations: 1.107 MB / 0.5577 GB, free: 96.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8029, allocations: 0 / 0.5577 GB, free: 96.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007802/0.8037, allocations: 484.9 kB / 0.5582 GB, free: 95.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.8053, allocations: 384.4 kB / 0.5586 GB, free: 95.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.8078, allocations: 1.718 MB / 0.5603 GB, free: 93.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.8081, allocations: 0.9148 MB / 0.5611 GB, free: 92.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.8084, allocations: 87.41 kB / 0.5612 GB, free: 92.79 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.8084, allocations: 11.94 kB / 0.5612 GB, free: 92.78 MB / 446.1 MB Notification: Performance of Templates: time 0.04777/0.8562, allocations: 41.21 MB / 0.6015 GB, free: 51.57 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/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.92131004203111]