Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001322/0.001322, allocations: 99.95 kB / 21.18 MB, free: 0.6602 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.001537/0.001537, allocations: 187.4 kB / 24.46 MB, free: 3.973 MB / 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.7 MB / 253.3 MB, free: 12.81 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 51.94 kB / 371.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05963/0.308, allocations: 45.41 MB / 469.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00704/0.315, allocations: 4.689 MB / 473.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.3153, allocations: 7.938 kB / 473.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008354/0.3161, allocations: 238.6 kB / 474.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007504/0.3169, allocations: 369.9 kB / 474.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02111/0.338, allocations: 7.126 MB / 481.7 MB, free: 4.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.3397, allocations: 1.103 MB / 482.8 MB, free: 3.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.3399, allocations: 94.7 kB / 482.8 MB, free: 3.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006579/0.3465, allocations: 3.599 MB / 486.4 MB, free: 15.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.3471, allocations: 410.5 kB / 486.8 MB, free: 15.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.3472, allocations: 56 kB / 486.9 MB, free: 15.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01727/0.3645, allocations: 9.285 MB / 496.2 MB, free: 5.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.3649, allocations: 235.3 kB / 496.4 MB, free: 5.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.3653, allocations: 267.1 kB / 496.7 MB, free: 5.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.3778, allocations: 5.437 MB / 0.4903 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3778, allocations: 0 / 0.4903 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3778, allocations: 0 / 0.4903 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3778, allocations: 0 / 0.4903 GB, free: 15.98 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00341/0.3812, allocations: 1.319 MB / 0.4916 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3812, allocations: 8.031 kB / 0.4916 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.3816, allocations: 59.7 kB / 0.4917 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/0.3822, allocations: 317.1 kB / 0.492 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.3822, allocations: 29 kB / 0.492 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/0.3823, allocations: 51.97 kB / 0.4921 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.3837, allocations: 0.8894 MB / 0.4929 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.3838, allocations: 4 kB / 0.493 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.3838, allocations: 16 kB / 0.493 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.3838, allocations: 12 kB / 0.493 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.3853, allocations: 0.7378 MB / 0.4937 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.3978, allocations: 3.592 MB / 0.4972 GB, free: 8.789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.3991, allocations: 0.5006 MB / 0.4977 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/0.3995, allocations: 238.1 kB / 0.4979 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.41, allocations: 2.581 MB / 0.5004 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.4101, allocations: 39 kB / 0.5005 GB, free: 5.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.264e-06/0.4101, allocations: 0 / 0.5005 GB, free: 5.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005953/0.416, allocations: 1.893 MB / 0.5023 GB, free: 3.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.4161, allocations: 59.91 kB / 0.5024 GB, free: 3.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.4164, allocations: 260.8 kB / 0.5026 GB, free: 3.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.4165, allocations: 37.7 kB / 0.5027 GB, free: 3.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.4166, allocations: 217.2 kB / 0.5029 GB, free: 2.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.4168, allocations: 202.2 kB / 0.5031 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.417, allocations: 114.3 kB / 0.5032 GB, free: 2.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4172, allocations: 342.8 kB / 0.5035 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.4176, allocations: 237.2 kB / 0.5037 GB, free: 1.988 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.4182, allocations: 352.2 kB / 0.5041 GB, free: 1.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.4194, allocations: 0.5917 MB / 0.5046 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4194, allocations: 0 / 0.5046 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001842/0.4213, allocations: 0.752 MB / 0.5054 GB, free: 228 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4213, allocations: 4 kB / 0.5054 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4213, allocations: 4 kB / 0.5054 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/0.4218, allocations: 110.4 kB / 0.5055 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.4223, allocations: 124.1 kB / 0.5056 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.4251, allocations: 3.227 MB / 0.5088 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.4254, allocations: 12.41 kB / 0.5088 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.4255, allocations: 39.92 kB / 0.5088 GB, free: 12.47 MB / 430.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002919/0.4258, allocations: 185.7 kB / 0.509 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.4261, allocations: 43.75 kB / 0.509 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.4276, allocations: 0.8112 MB / 0.5098 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4277, allocations: 4 kB / 0.5098 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.4277, allocations: 0 / 0.5098 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001196/0.4289, allocations: 0.7673 MB / 0.5106 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.4309, allocations: 1.133 MB / 0.5117 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4309, allocations: 0 / 0.5117 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.4314, allocations: 103.8 kB / 0.5118 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009024/0.4323, allocations: 152.7 kB / 0.5119 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.4323, allocations: 19.98 kB / 0.5119 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004909/0.4328, allocations: 0.6445 MB / 0.5126 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4328, allocations: 0 / 0.5126 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.4345, allocations: 0.9015 MB / 0.5135 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.401e-05/0.4346, allocations: 31.84 kB / 0.5135 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.4347, allocations: 15.94 kB / 0.5135 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.4351, allocations: 24.08 kB / 0.5135 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.4352, allocations: 36.38 kB / 0.5136 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.4352, allocations: 27.97 kB / 0.5136 GB, free: 7.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.4355, allocations: 216.4 kB / 0.5138 GB, free: 7.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4355, allocations: 0 / 0.5138 GB, free: 7.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003734/0.4392, allocations: 1.329 MB / 0.5151 GB, free: 5.828 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005536/0.4447, allocations: 1.7 MB / 0.5168 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.4464, allocations: 0.7807 MB / 0.5175 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4464, allocations: 0 / 0.5175 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.447, allocations: 283.1 kB / 0.5178 GB, free: 3.035 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.4483, allocations: 217.1 kB / 0.518 GB, free: 2.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.4503, allocations: 1.157 MB / 0.5191 GB, free: 1.625 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.4506, allocations: 229.4 kB / 0.5193 GB, free: 1.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.4508, allocations: 67.41 kB / 0.5194 GB, free: 1.32 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4508, allocations: 0 / 0.5194 GB, free: 1.32 MB / 430.1 MB Notification: Performance of Templates: time 0.2326/0.6834, allocations: 33.45 MB / 0.5521 GB, free: 102.1 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 15.869096398819238]