Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002537/0.002537, allocations: 210.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.809 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 51.86 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2392, allocations: 53.38 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0773/0.3165, allocations: 58.98 MB / 490.6 MB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007203/0.3237, allocations: 4.959 MB / 495.5 MB, free: 6.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.3241, allocations: 15.88 kB / 495.6 MB, free: 6.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009882/0.3251, allocations: 330.1 kB / 495.9 MB, free: 6.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.3262, allocations: 0.5166 MB / 496.4 MB, free: 5.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01862/0.3448, allocations: 7.456 MB / 0.492 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.347, allocations: 1.559 MB / 0.4936 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003318/0.3474, allocations: 145.4 kB / 0.4937 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.3485, allocations: 0.6386 MB / 0.4943 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.3497, allocations: 0.5799 MB / 0.4949 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.3499, allocations: 84 kB / 0.495 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01867/0.3686, allocations: 9.544 MB / 0.5043 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000523/0.3691, allocations: 335.2 kB / 0.5046 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006924/0.3698, allocations: 378.7 kB / 0.505 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.3815, allocations: 5.881 MB / 0.5107 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3815, allocations: 0 / 0.5107 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3815, allocations: 4 kB / 0.5107 GB, free: 11.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.875e-05/0.3815, allocations: 0 / 0.5107 GB, free: 11.05 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.003893/0.3854, allocations: 1.529 MB / 0.5122 GB, free: 9.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3854, allocations: 12.03 kB / 0.5122 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.3859, allocations: 87.56 kB / 0.5123 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007892/0.3867, allocations: 383.1 kB / 0.5127 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.3867, allocations: 49.31 kB / 0.5127 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3868, allocations: 63.95 kB / 0.5128 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.389, allocations: 1.22 MB / 0.514 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.3891, allocations: 0 / 0.514 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/0.3892, allocations: 28 kB / 0.514 GB, free: 7.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.3892, allocations: 16 kB / 0.514 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.3912, allocations: 1.024 MB / 0.515 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.4052, allocations: 4.046 MB / 0.519 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.4071, allocations: 0.7075 MB / 0.5197 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/0.4077, allocations: 387.8 kB / 0.52 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/0.4187, allocations: 2.612 MB / 0.5226 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.4187, allocations: 47.16 kB / 0.5226 GB, free: 14.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.845e-06/0.4187, allocations: 0 / 0.5226 GB, free: 14.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01003/0.4287, allocations: 3.162 MB / 0.5257 GB, free: 11.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4288, allocations: 60.41 kB / 0.5258 GB, free: 11.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.4292, allocations: 297.8 kB / 0.526 GB, free: 11.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.511e-05/0.4293, allocations: 49.64 kB / 0.5261 GB, free: 11.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.4295, allocations: 241.1 kB / 0.5263 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.4298, allocations: 333.2 kB / 0.5266 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.43, allocations: 158.6 kB / 0.5268 GB, free: 10.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.4302, allocations: 358.8 kB / 0.5271 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.4309, allocations: 373.8 kB / 0.5275 GB, free: 9.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.4319, allocations: 496.2 kB / 0.528 GB, free: 9.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.4337, allocations: 0.8943 MB / 0.5288 GB, free: 8.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4337, allocations: 4 kB / 0.5288 GB, free: 8.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002734/0.4365, allocations: 1.113 MB / 0.5299 GB, free: 6.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4365, allocations: 7.938 kB / 0.5299 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.4365, allocations: 4 kB / 0.5299 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008294/0.4373, allocations: 171.5 kB / 0.5301 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/0.4381, allocations: 191.7 kB / 0.5303 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/0.4415, allocations: 3.86 MB / 0.5341 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.4419, allocations: 23.94 kB / 0.5341 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.442, allocations: 43.98 kB / 0.5341 GB, free: 2.418 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.0003674/0.4424, allocations: 225.6 kB / 0.5343 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/0.4428, allocations: 59.94 kB / 0.5344 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/0.4456, allocations: 1.28 MB / 0.5356 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.4456, allocations: 8 kB / 0.5357 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4456, allocations: 3.938 kB / 0.5357 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.189/0.6346, allocations: 1.318 MB / 0.5369 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.6377, allocations: 1.726 MB / 0.5386 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.6377, allocations: 1.094 kB / 0.5386 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/0.6384, allocations: 167.8 kB / 0.5388 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.6401, allocations: 296.2 kB / 0.5391 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.6402, allocations: 31.48 kB / 0.5391 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000502/0.6407, allocations: 1.288 MB / 0.5404 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6407, allocations: 1.922 kB / 0.5404 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.643, allocations: 1.412 MB / 0.5417 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.6432, allocations: 52.95 kB / 0.5418 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/0.6433, allocations: 19.72 kB / 0.5418 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.6438, allocations: 32.38 kB / 0.5418 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.6439, allocations: 58.52 kB / 0.5419 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-05/0.644, allocations: 47.75 kB / 0.5419 GB, free: 104.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.6442, allocations: 238.1 kB / 0.5422 GB, free: 104.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6442, allocations: 0 / 0.5422 GB, free: 104.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003432/0.6476, allocations: 1.428 MB / 0.5436 GB, free: 104.2 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.004141/0.6518, allocations: 1.726 MB / 0.5453 GB, free: 104 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.6535, allocations: 1.102 MB / 0.5463 GB, free: 103.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6535, allocations: 1.844 kB / 0.5463 GB, free: 103.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.6542, allocations: 490 kB / 0.5468 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.6557, allocations: 340.5 kB / 0.5471 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.6579, allocations: 1.669 MB / 0.5488 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.6581, allocations: 313.9 kB / 0.5491 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005672/0.6587, allocations: 204.6 kB / 0.5492 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.6589, allocations: 75.12 kB / 0.5493 GB, free: 101.9 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6589, allocations: 4 kB / 0.5493 GB, free: 101.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04914/0.708, allocations: 50.37 MB / 0.5985 GB, free: 52.45 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.047450825572014]