Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001447/0.001447, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001396/0.001396, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.46/1.46, allocations: 230.5 MB / 255.4 MB, free: 15 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") [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.002033/0.002033, allocations: 71.88 kB / 374.7 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1052, allocations: 53.31 MB / 428.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2376/0.3428, allocations: 26.74 MB / 454.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003587/0.3464, allocations: 2.249 MB / 457 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.3466, allocations: 2.312 kB / 457 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.3471, allocations: 65.53 kB / 457.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00056/0.3476, allocations: 176.2 kB / 457.3 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02071/0.3683, allocations: 6.543 MB / 463.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006034/0.3689, allocations: 338.1 kB / 464.2 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.369, allocations: 11.06 kB / 464.2 MB, free: 6.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.3693, allocations: 147.3 kB / 464.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.3695, allocations: 132.7 kB / 464.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.3696, allocations: 11.41 kB / 464.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02046/0.39, allocations: 9.646 MB / 474.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.3902, allocations: 78.42 kB / 474.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.3904, allocations: 100.3 kB / 474.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.4051, allocations: 4.733 MB / 479 MB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4051, allocations: 0 / 479 MB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4051, allocations: 0 / 479 MB, free: 13.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.4051, allocations: 0 / 479 MB, free: 13.78 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.004554/0.4097, allocations: 1.192 MB / 480.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4097, allocations: 8.031 kB / 480.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.4099, allocations: 28.41 kB / 480.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.4102, allocations: 218.8 kB / 480.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.4102, allocations: 16.33 kB / 480.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.4102, allocations: 19.89 kB / 480.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007372/0.411, allocations: 282.9 kB / 480.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.411, allocations: 7.938 kB / 480.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.411, allocations: 12 kB / 480.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.411, allocations: 4 kB / 480.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008057/0.4119, allocations: 315.6 kB / 481.1 MB, free: 11.59 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.4134, allocations: 0.8246 MB / 481.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.4141, allocations: 245.7 kB / 482.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.4144, allocations: 127.6 kB / 482.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01692/0.4314, allocations: 12.83 MB / 495.1 MB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/0.4314, allocations: 42.56 kB / 495.2 MB, free: 10.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 3.116e-06/0.4314, allocations: 0 / 495.2 MB, free: 10.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002968/0.4344, allocations: 0.7092 MB / 495.9 MB, free: 10.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.4344, allocations: 85.11 kB / 495.9 MB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.4346, allocations: 146.3 kB / 496.1 MB, free: 9.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.4346, allocations: 29.7 kB / 496.1 MB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.4347, allocations: 112.9 kB / 496.2 MB, free: 9.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.4348, allocations: 130.9 kB / 496.4 MB, free: 9.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4349, allocations: 73.67 kB / 496.4 MB, free: 9.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4351, allocations: 334.8 kB / 496.8 MB, free: 9.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.4355, allocations: 137.7 kB / 496.9 MB, free: 9.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.436, allocations: 211.6 kB / 497.1 MB, free: 8.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009472/0.4369, allocations: 357 kB / 497.4 MB, free: 8.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4369, allocations: 4 kB / 497.4 MB, free: 8.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001191/0.4381, allocations: 425.3 kB / 497.9 MB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4381, allocations: 11.98 kB / 497.9 MB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4382, allocations: 0 / 497.9 MB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.4382, allocations: 4 kB / 497.9 MB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.4387, allocations: 100 kB / 498 MB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4387, allocations: 7.938 kB / 498 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.4389, allocations: 19.92 kB / 498 MB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.439, allocations: 27.92 kB / 498 MB, free: 7.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.4392, allocations: 137.8 kB / 498.2 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.4393, allocations: 27.86 kB / 498.2 MB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.4398, allocations: 190.4 kB / 498.4 MB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4398, allocations: 7.938 kB / 498.4 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4398, allocations: 0 / 498.4 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4398, allocations: 0 / 498.4 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.4416, allocations: 0.7848 MB / 499.2 MB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4416, allocations: 0 / 499.2 MB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.442, allocations: 79.88 kB / 499.2 MB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.442, allocations: 4 kB / 499.3 MB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.4421, allocations: 11.98 kB / 499.3 MB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.4421, allocations: 7.938 kB / 499.3 MB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4421, allocations: 4 kB / 499.3 MB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.4437, allocations: 0.7178 MB / 500 MB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.4438, allocations: 124.9 kB / 0.4884 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.4438, allocations: 12.56 kB / 0.4884 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.4442, allocations: 31.97 kB / 0.4884 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.4442, allocations: 27.91 kB / 0.4885 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.4443, allocations: 15.98 kB / 0.4885 GB, free: 5.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.887e-05/0.4444, allocations: 108.6 kB / 0.4886 GB, free: 5.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4444, allocations: 0 / 0.4886 GB, free: 5.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003617/0.448, allocations: 0.9628 MB / 0.4895 GB, free: 4.539 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005126/0.4531, allocations: 1.268 MB / 0.4908 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.4542, allocations: 327.6 kB / 0.4911 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4542, allocations: 0 / 0.4911 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.4547, allocations: 183.1 kB / 0.4912 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007453/0.4555, allocations: 106.2 kB / 0.4913 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.4569, allocations: 0.6498 MB / 0.492 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.4573, allocations: 0.7413 MB / 0.4927 GB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.4575, allocations: 45.3 kB / 0.4928 GB, free: 1.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4575, allocations: 0 / 0.4928 GB, free: 1.18 MB / 398.1 MB Notification: Performance of Templates: time 0.03357/0.4911, allocations: 20.21 MB / 0.5125 GB, free: 12.96 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.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: 9.813696104800329]