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.0013/0.0013, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001443/0.001443, allocations: 160.7 kB / 24.5 MB, free: 3.453 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.431/1.431, allocations: 177.1 MB / 204.7 MB, free: 8.887 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.00196/0.00196, allocations: 56.92 kB / 325.5 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09331, allocations: 53.4 MB / 378.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3507/0.444, allocations: 133.3 MB / 0.5002 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.4454, allocations: 1.431 MB / 0.5016 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.4455, allocations: 6.438 kB / 0.5016 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.4458, allocations: 62.92 kB / 0.5016 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.4462, allocations: 167.3 kB / 0.5018 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.4485, allocations: 1.052 MB / 0.5028 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000393/0.4489, allocations: 359.2 kB / 0.5031 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.4489, allocations: 12 kB / 0.5032 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.4492, allocations: 166.8 kB / 0.5033 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.4494, allocations: 132.4 kB / 0.5034 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.4494, allocations: 12.78 kB / 0.5035 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.4514, allocations: 1.356 MB / 0.5048 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.707e-05/0.4515, allocations: 72.89 kB / 0.5049 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.4516, allocations: 93.86 kB / 0.5049 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.4528, allocations: 0.9921 MB / 0.5059 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4528, allocations: 0 / 0.5059 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4528, allocations: 7.734 kB / 0.5059 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.4528, allocations: 0 / 0.5059 GB, free: 14.21 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.001668/0.4545, allocations: 0.6298 MB / 0.5065 GB, free: 13.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.4545, allocations: 12.2 kB / 0.5065 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.4547, allocations: 24.22 kB / 0.5066 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.455, allocations: 174.1 kB / 0.5067 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.455, allocations: 10.22 kB / 0.5067 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.455, allocations: 21.48 kB / 0.5068 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.4556, allocations: 363.5 kB / 0.5071 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.4556, allocations: 6.875 kB / 0.5071 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.4557, allocations: 6.5 kB / 0.5071 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4557, allocations: 5.594 kB / 0.5071 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.4563, allocations: 263 kB / 0.5074 GB, free: 13.46 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.001333/0.4576, allocations: 0.6167 MB / 0.508 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.4582, allocations: 212.2 kB / 0.5082 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.4585, allocations: 131.1 kB / 0.5083 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.4587, allocations: 54.75 kB / 0.5084 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.4587, allocations: 42.38 kB / 0.5084 GB, free: 12.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.804e-06/0.4587, allocations: 0 / 0.5084 GB, free: 12.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.00237/0.4611, allocations: 0.6883 MB / 0.5091 GB, free: 12.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.4611, allocations: 82.36 kB / 0.5092 GB, free: 12.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4612, allocations: 137.9 kB / 0.5093 GB, free: 12.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.4613, allocations: 36.39 kB / 0.5093 GB, free: 12.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.4613, allocations: 115.4 kB / 0.5094 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.4615, allocations: 138.4 kB / 0.5096 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.4616, allocations: 65.64 kB / 0.5096 GB, free: 12.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4617, allocations: 328.1 kB / 0.5099 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.4621, allocations: 135.3 kB / 0.5101 GB, free: 12.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.4625, allocations: 202 kB / 0.5103 GB, free: 12.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.4632, allocations: 362.2 kB / 0.5106 GB, free: 11.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4632, allocations: 2.094 kB / 0.5106 GB, free: 11.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009014/0.4641, allocations: 414.8 kB / 0.511 GB, free: 11.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4641, allocations: 4.969 kB / 0.511 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4642, allocations: 3.188 kB / 0.511 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4642, allocations: 4.062 kB / 0.511 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.4647, allocations: 83.17 kB / 0.5111 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.4647, allocations: 6.844 kB / 0.5111 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.465, allocations: 40.05 kB / 0.5111 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.465, allocations: 13.69 kB / 0.5111 GB, free: 11.91 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.0001579/0.4652, allocations: 148.8 kB / 0.5113 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.4653, allocations: 18.56 kB / 0.5113 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.4656, allocations: 177.1 kB / 0.5115 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.4656, allocations: 5.219 kB / 0.5115 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4656, allocations: 0 / 0.5115 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4656, allocations: 5.141 kB / 0.5115 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.4673, allocations: 0.6687 MB / 0.5121 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4673, allocations: 3.156 kB / 0.5121 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.4677, allocations: 79.09 kB / 0.5122 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.4677, allocations: 9.062 kB / 0.5122 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.4678, allocations: 7.375 kB / 0.5122 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.4678, allocations: 14.8 kB / 0.5122 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4678, allocations: 6.203 kB / 0.5123 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.4692, allocations: 0.7194 MB / 0.513 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4693, allocations: 43.89 kB / 0.513 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.4694, allocations: 16.31 kB / 0.513 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.4697, allocations: 21.5 kB / 0.513 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.4698, allocations: 23.27 kB / 0.5131 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.4698, allocations: 14.41 kB / 0.5131 GB, free: 10.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.919e-05/0.4699, allocations: 108.8 kB / 0.5132 GB, free: 10.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4699, allocations: 1.156 kB / 0.5132 GB, free: 10.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006032/0.4705, allocations: 158 kB / 0.5133 GB, free: 10.77 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.0004523/0.4709, allocations: 235.8 kB / 0.5136 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008766/0.4718, allocations: 336.2 kB / 0.5139 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4718, allocations: 0 / 0.5139 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.4722, allocations: 177.5 kB / 0.514 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/0.473, allocations: 100 kB / 0.5141 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.4745, allocations: 0.6327 MB / 0.5148 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.4746, allocations: 137.5 kB / 0.5149 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003281/0.475, allocations: 77.2 kB / 0.515 GB, free: 9.934 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.4751, allocations: 33.92 kB / 0.515 GB, free: 9.922 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4751, allocations: 0 / 0.515 GB, free: 9.922 MB / 446.1 MB Notification: Performance of Templates: time 0.01192/0.487, allocations: 6.498 MB / 0.5213 GB, free: 6.625 MB / 446.1 MB " [Timeout remaining time 660] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/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.839113346999511]