Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.001873/0.001873, allocations: 77.98 kB / 20.49 MB, free: 1.391 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.002181/0.002181, allocations: 166.3 kB / 23.74 MB, free: 4.578 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.466/1.466, allocations: 177.1 MB / 204 MB, free: 9.258 MB / 190.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 62.25 kB / 324.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09579, allocations: 53.38 MB / 378.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3556/0.4514, allocations: 133.3 MB / 0.4994 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.4528, allocations: 1.432 MB / 0.5008 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.4529, allocations: 1.625 kB / 0.5008 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.4532, allocations: 56.09 kB / 0.5009 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.4535, allocations: 176.4 kB / 0.501 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.4558, allocations: 1.05 MB / 0.5021 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.4562, allocations: 352.8 kB / 0.5024 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.4562, allocations: 9.797 kB / 0.5024 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.4565, allocations: 222.9 kB / 0.5026 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.4568, allocations: 127.5 kB / 0.5027 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.4568, allocations: 14.66 kB / 0.5027 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.4588, allocations: 1.364 MB / 0.5041 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-05/0.4588, allocations: 75.41 kB / 0.5042 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.4589, allocations: 92.14 kB / 0.5042 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.4601, allocations: 0.984 MB / 0.5052 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4601, allocations: 2.906 kB / 0.5052 GB, free: 14.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4601, allocations: 0 / 0.5052 GB, free: 14.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4601, allocations: 0 / 0.5052 GB, free: 14.57 MB / 446.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.00172/0.4618, allocations: 0.6369 MB / 0.5058 GB, free: 14.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4619, allocations: 14.52 kB / 0.5058 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.462, allocations: 21.84 kB / 0.5059 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.4623, allocations: 172.1 kB / 0.506 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.4623, allocations: 12.39 kB / 0.506 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.4623, allocations: 18.05 kB / 0.5061 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.463, allocations: 369.5 kB / 0.5064 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.463, allocations: 0 / 0.5064 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.463, allocations: 12.39 kB / 0.5064 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.463, allocations: 6.672 kB / 0.5064 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006214/0.4637, allocations: 260.1 kB / 0.5067 GB, free: 13.81 MB / 446.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.001349/0.465, allocations: 0.6187 MB / 0.5073 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.4656, allocations: 213.1 kB / 0.5075 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.4659, allocations: 129.3 kB / 0.5076 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.4661, allocations: 51.84 kB / 0.5077 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.4662, allocations: 42.08 kB / 0.5077 GB, free: 13.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.4662, allocations: 0 / 0.5077 GB, free: 13.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.002453/0.4686, allocations: 0.6905 MB / 0.5084 GB, free: 13.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.4687, allocations: 82.3 kB / 0.5084 GB, free: 13.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.4688, allocations: 135.8 kB / 0.5086 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.4688, allocations: 33.12 kB / 0.5086 GB, free: 13.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.4689, allocations: 113 kB / 0.5087 GB, free: 12.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.469, allocations: 139 kB / 0.5088 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.4692, allocations: 67.42 kB / 0.5089 GB, free: 12.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4693, allocations: 329.7 kB / 0.5092 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.4697, allocations: 137.7 kB / 0.5094 GB, free: 12.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.4701, allocations: 200.5 kB / 0.5095 GB, free: 12.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007786/0.4709, allocations: 367.7 kB / 0.5099 GB, free: 12.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4709, allocations: 3.75 kB / 0.5099 GB, free: 12.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009281/0.4718, allocations: 410.5 kB / 0.5103 GB, free: 12.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4718, allocations: 8.188 kB / 0.5103 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4718, allocations: 5.969 kB / 0.5103 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4719, allocations: 3.375 kB / 0.5103 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.4723, allocations: 86.38 kB / 0.5104 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4724, allocations: 5.75 kB / 0.5104 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.4727, allocations: 24.8 kB / 0.5104 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.4727, allocations: 15.98 kB / 0.5104 GB, free: 12.27 MB / 446.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.0001661/0.4729, allocations: 152.2 kB / 0.5106 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.473, allocations: 22.5 kB / 0.5106 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.4733, allocations: 177.8 kB / 0.5108 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4733, allocations: 2.969 kB / 0.5108 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4733, allocations: 6 kB / 0.5108 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.4733, allocations: 0 / 0.5108 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.475, allocations: 0.669 MB / 0.5114 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.475, allocations: 2.812 kB / 0.5114 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/0.4755, allocations: 75.27 kB / 0.5115 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.4755, allocations: 6.812 kB / 0.5115 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.4756, allocations: 15.48 kB / 0.5115 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4756, allocations: 3 kB / 0.5115 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4756, allocations: 3.656 kB / 0.5115 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.4771, allocations: 0.7228 MB / 0.5122 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4772, allocations: 45.2 kB / 0.5123 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.4772, allocations: 14.75 kB / 0.5123 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.4776, allocations: 23.52 kB / 0.5123 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.4777, allocations: 30.81 kB / 0.5124 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.4777, allocations: 18.8 kB / 0.5124 GB, free: 11.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.435e-05/0.4778, allocations: 103.3 kB / 0.5125 GB, free: 11.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4778, allocations: 0 / 0.5125 GB, free: 11.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006202/0.4784, allocations: 154.5 kB / 0.5126 GB, free: 10.99 MB / 446.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 (38): * Single equations (assignments): 38 * 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.0005483/0.4789, allocations: 243.3 kB / 0.5128 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009515/0.4799, allocations: 338 kB / 0.5132 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4799, allocations: 2.5 kB / 0.5132 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.4804, allocations: 168.2 kB / 0.5133 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/0.4811, allocations: 99.47 kB / 0.5134 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.4827, allocations: 0.6402 MB / 0.5141 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.4828, allocations: 122.9 kB / 0.5142 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.4831, allocations: 91.81 kB / 0.5143 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.4833, allocations: 35.27 kB / 0.5143 GB, free: 9.949 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4833, allocations: 2.875 kB / 0.5143 GB, free: 9.949 MB / 446.1 MB Notification: Performance of Templates: time 0.0121/0.4954, allocations: 6.494 MB / 0.5206 GB, free: 6.641 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.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: 4.897511973977089]