Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001995/0.001995, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002196/0.002196, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 59.91 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2606, allocations: 53.41 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06208/0.3227, allocations: 45.52 MB / 477.9 MB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007092/0.3298, allocations: 4.709 MB / 482.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.3302, allocations: 7.938 kB / 482.6 MB, free: 4.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008359/0.331, allocations: 234.6 kB / 482.9 MB, free: 3.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008212/0.3318, allocations: 369.9 kB / 483.2 MB, free: 3.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01837/0.3502, allocations: 7.124 MB / 490.3 MB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.3517, allocations: 1.103 MB / 491.4 MB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.352, allocations: 98.67 kB / 491.5 MB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006875/0.3588, allocations: 3.599 MB / 495.1 MB, free: 7.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006637/0.3595, allocations: 406.6 kB / 495.5 MB, free: 7.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.3596, allocations: 59.94 kB / 495.6 MB, free: 7.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01754/0.3771, allocations: 9.322 MB / 0.4931 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.3775, allocations: 231.5 kB / 0.4933 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.378, allocations: 271.1 kB / 0.4936 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.3906, allocations: 5.456 MB / 0.4989 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3906, allocations: 0 / 0.4989 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3906, allocations: 0 / 0.4989 GB, free: 7.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3906, allocations: 0 / 0.4989 GB, free: 7.832 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.3941, allocations: 1.323 MB / 0.5002 GB, free: 6.473 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3941, allocations: 11.98 kB / 0.5002 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.3944, allocations: 67.7 kB / 0.5003 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.395, allocations: 304.4 kB / 0.5006 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.3951, allocations: 37 kB / 0.5006 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.3952, allocations: 40 kB / 0.5006 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.3966, allocations: 0.8932 MB / 0.5015 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3966, allocations: 0 / 0.5015 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.3967, allocations: 20 kB / 0.5015 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.3967, allocations: 12 kB / 0.5015 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.3981, allocations: 0.7378 MB / 0.5022 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.4105, allocations: 3.584 MB / 0.5057 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.4118, allocations: 0.5042 MB / 0.5062 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.4122, allocations: 245.4 kB / 0.5065 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.4226, allocations: 2.557 MB / 0.509 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/0.4227, allocations: 39 kB / 0.509 GB, free: 13.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.334e-06/0.4227, allocations: 0 / 0.509 GB, free: 13.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005787/0.4285, allocations: 1.889 MB / 0.5109 GB, free: 11.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4285, allocations: 63.91 kB / 0.5109 GB, free: 11.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.4288, allocations: 268.8 kB / 0.5112 GB, free: 11.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.4289, allocations: 37.7 kB / 0.5112 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.429, allocations: 213.2 kB / 0.5114 GB, free: 10.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.4292, allocations: 202.3 kB / 0.5116 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.4294, allocations: 110.3 kB / 0.5117 GB, free: 10.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4296, allocations: 342.8 kB / 0.512 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.43, allocations: 241.2 kB / 0.5123 GB, free: 9.859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.4307, allocations: 344.2 kB / 0.5126 GB, free: 9.492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.4319, allocations: 0.5995 MB / 0.5132 GB, free: 8.859 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4319, allocations: 0 / 0.5132 GB, free: 8.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001883/0.4338, allocations: 0.752 MB / 0.5139 GB, free: 8.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4338, allocations: 6.656 kB / 0.5139 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.4338, allocations: 4 kB / 0.5139 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004936/0.4343, allocations: 114.4 kB / 0.514 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.4348, allocations: 131.8 kB / 0.5142 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.4376, allocations: 3.213 MB / 0.5173 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.4379, allocations: 12 kB / 0.5173 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.438, allocations: 31.98 kB / 0.5173 GB, free: 4.348 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.0003158/0.4383, allocations: 194.1 kB / 0.5175 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.4386, allocations: 47.64 kB / 0.5176 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.4402, allocations: 0.8189 MB / 0.5184 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.4402, allocations: 4 kB / 0.5184 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4402, allocations: 0 / 0.5184 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/0.4414, allocations: 0.7596 MB / 0.5191 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.4436, allocations: 1.129 MB / 0.5202 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.4436, allocations: 4.031 kB / 0.5202 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.444, allocations: 99.88 kB / 0.5203 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009369/0.445, allocations: 156.6 kB / 0.5205 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.445, allocations: 16 kB / 0.5205 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008002/0.4458, allocations: 0.6484 MB / 0.5211 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4458, allocations: 4.031 kB / 0.5211 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.4493, allocations: 0.9053 MB / 0.522 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.4495, allocations: 27.86 kB / 0.522 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.4496, allocations: 19.92 kB / 0.522 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/0.4503, allocations: 23.98 kB / 0.5221 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.4504, allocations: 36.47 kB / 0.5221 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.4505, allocations: 31.97 kB / 0.5221 GB, free: 15.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004249/0.451, allocations: 208.5 kB / 0.5223 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.451, allocations: 0 / 0.5223 GB, free: 15.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005735/0.4567, allocations: 1.337 MB / 0.5236 GB, free: 13.68 MB / 446.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.009598/0.4663, allocations: 1.686 MB / 0.5253 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.4686, allocations: 0.7762 MB / 0.526 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4686, allocations: 0 / 0.526 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.4695, allocations: 279.9 kB / 0.5263 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.4712, allocations: 225.1 kB / 0.5265 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.4741, allocations: 1.147 MB / 0.5276 GB, free: 9.488 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.4744, allocations: 233.4 kB / 0.5279 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.4747, allocations: 67.41 kB / 0.5279 GB, free: 9.176 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4747, allocations: 3.938 kB / 0.5279 GB, free: 9.172 MB / 446.1 MB Notification: Performance of Templates: time 0.2593/0.734, allocations: 33.73 MB / 0.5609 GB, free: 89.32 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.841133973095566]