Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 55.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2343, allocations: 52.12 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07873/0.313, allocations: 66.23 MB / 487.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007691/0.3207, allocations: 5.504 MB / 492.6 MB, free: 7.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004282/0.3211, allocations: 7.938 kB / 492.6 MB, free: 7.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.3222, allocations: 369.9 kB / 493 MB, free: 6.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.3234, allocations: 0.5089 MB / 493.5 MB, free: 6.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01833/0.3417, allocations: 7.464 MB / 0.4892 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.3437, allocations: 1.559 MB / 0.4907 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.3441, allocations: 160.8 kB / 0.4909 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.3452, allocations: 0.6347 MB / 0.4915 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.3463, allocations: 0.6034 MB / 0.4921 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002056/0.3465, allocations: 84 kB / 0.4922 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0211/0.3676, allocations: 10.38 MB / 0.5023 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007556/0.3683, allocations: 323.2 kB / 0.5026 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009686/0.3693, allocations: 434.4 kB / 0.503 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.3832, allocations: 5.959 MB / 0.5088 GB, free: 10.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3832, allocations: 4 kB / 0.5088 GB, free: 10.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3832, allocations: 0 / 0.5088 GB, free: 10.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.3833, allocations: 0 / 0.5088 GB, free: 10.63 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.004232/0.3875, allocations: 1.612 MB / 0.5104 GB, free: 8.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3875, allocations: 8.031 kB / 0.5104 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005136/0.3881, allocations: 87.56 kB / 0.5105 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007764/0.3888, allocations: 445 kB / 0.5109 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/0.3889, allocations: 49.31 kB / 0.511 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.389, allocations: 63.98 kB / 0.511 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.3909, allocations: 0.8107 MB / 0.5118 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.3909, allocations: 4 kB / 0.5118 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.391, allocations: 28 kB / 0.5119 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.391, allocations: 12 kB / 0.5119 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.393, allocations: 1.024 MB / 0.5129 GB, free: 6.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01927/0.4123, allocations: 12.8 MB / 0.5254 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.4141, allocations: 0.7026 MB / 0.5261 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.4147, allocations: 383.9 kB / 0.5264 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01639/0.4311, allocations: 12.25 MB / 0.5384 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.373e-05/0.4312, allocations: 47.22 kB / 0.5384 GB, free: 7.684 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.118e-06/0.4312, allocations: 0 / 0.5384 GB, free: 7.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.01061/0.4418, allocations: 3.373 MB / 0.5417 GB, free: 4.219 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.4419, allocations: 64.34 kB / 0.5418 GB, free: 4.145 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.4424, allocations: 364.4 kB / 0.5421 GB, free: 3.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.4425, allocations: 41.7 kB / 0.5422 GB, free: 3.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.4428, allocations: 249.2 kB / 0.5424 GB, free: 3.484 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.4431, allocations: 317.2 kB / 0.5427 GB, free: 3.172 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.4434, allocations: 158.6 kB / 0.5429 GB, free: 3.008 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4436, allocations: 366.8 kB / 0.5432 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/0.4442, allocations: 373.8 kB / 0.5436 GB, free: 2.277 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.4453, allocations: 488.2 kB / 0.544 GB, free: 1.766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.4472, allocations: 0.9176 MB / 0.5449 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4472, allocations: 0 / 0.5449 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.1846/0.6318, allocations: 1.116 MB / 0.546 GB, free: 130.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.6318, allocations: 14.38 kB / 0.546 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.6319, allocations: 3.375 kB / 0.546 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008808/0.6327, allocations: 160.8 kB / 0.5462 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/0.6337, allocations: 192.1 kB / 0.5464 GB, free: 130.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.6359, allocations: 4.117 MB / 0.5504 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.6363, allocations: 22.17 kB / 0.5504 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.6364, allocations: 43.41 kB / 0.5505 GB, free: 126.2 MB / 462.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.000306/0.6367, allocations: 228.4 kB / 0.5507 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.6371, allocations: 67.67 kB / 0.5507 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.6393, allocations: 1.277 MB / 0.552 GB, free: 125.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.6394, allocations: 8.25 kB / 0.552 GB, free: 125.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.6394, allocations: 0 / 0.552 GB, free: 125.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001577/0.6409, allocations: 1.32 MB / 0.5533 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.6436, allocations: 1.966 MB / 0.5552 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6436, allocations: 3.828 kB / 0.5552 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006764/0.6443, allocations: 170.2 kB / 0.5554 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.646, allocations: 294.9 kB / 0.5557 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.6461, allocations: 28.95 kB / 0.5557 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004884/0.6466, allocations: 1.291 MB / 0.5569 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6466, allocations: 0 / 0.5569 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.6487, allocations: 1.416 MB / 0.5583 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.672e-05/0.6488, allocations: 128.2 kB / 0.5585 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/0.6489, allocations: 23.58 kB / 0.5585 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.6494, allocations: 31.75 kB / 0.5585 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.6495, allocations: 61.75 kB / 0.5586 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/0.6496, allocations: 46.7 kB / 0.5586 GB, free: 121.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.6498, allocations: 278.8 kB / 0.5589 GB, free: 121.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6498, allocations: 0 / 0.5589 GB, free: 121.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002991/0.6528, allocations: 1.412 MB / 0.5603 GB, free: 121.3 MB / 462.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.004726/0.6575, allocations: 1.75 MB / 0.562 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.6595, allocations: 1.107 MB / 0.563 GB, free: 120.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6595, allocations: 2.125 kB / 0.563 GB, free: 120.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.6602, allocations: 476.7 kB / 0.5635 GB, free: 120.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.6619, allocations: 390.5 kB / 0.5639 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.6641, allocations: 1.689 MB / 0.5655 GB, free: 118.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.6644, allocations: 0.9089 MB / 0.5664 GB, free: 117.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005858/0.665, allocations: 208.6 kB / 0.5666 GB, free: 117.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.6651, allocations: 79.41 kB / 0.5667 GB, free: 117.6 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6651, allocations: 4 kB / 0.5667 GB, free: 117.6 MB / 462.1 MB Notification: Performance of Templates: time 0.05047/0.7156, allocations: 50.37 MB / 0.6159 GB, free: 67.34 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.640713511034846]