Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 169.5 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 55.55 kB / 325.5 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09725, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3598/0.457, allocations: 133.3 MB / 0.5002 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.4584, allocations: 1.431 MB / 0.5016 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.4585, allocations: 0 / 0.5016 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.4588, allocations: 63.84 kB / 0.5016 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.4591, allocations: 175.4 kB / 0.5018 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.4616, allocations: 1.047 MB / 0.5028 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.462, allocations: 354.4 kB / 0.5031 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.462, allocations: 14.78 kB / 0.5032 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.4623, allocations: 167.8 kB / 0.5033 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.4625, allocations: 129 kB / 0.5034 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.4625, allocations: 17.5 kB / 0.5035 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.4645, allocations: 1.358 MB / 0.5048 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.4646, allocations: 74.52 kB / 0.5049 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.4647, allocations: 91.23 kB / 0.5049 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.466, allocations: 0.9865 MB / 0.5059 GB, free: 14.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.466, allocations: 0 / 0.5059 GB, free: 14.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.466, allocations: 2.375 kB / 0.5059 GB, free: 14.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.466, allocations: 3.938 kB / 0.5059 GB, free: 14.71 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.001664/0.4676, allocations: 0.6382 MB / 0.5065 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.4677, allocations: 11.22 kB / 0.5065 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.4678, allocations: 23.31 kB / 0.5066 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.4681, allocations: 166.9 kB / 0.5067 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.4681, allocations: 9.547 kB / 0.5067 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.4681, allocations: 25.31 kB / 0.5068 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.4687, allocations: 367.8 kB / 0.5071 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4687, allocations: 0 / 0.5071 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.4687, allocations: 5.469 kB / 0.5071 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.4688, allocations: 9.375 kB / 0.5071 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.4693, allocations: 266 kB / 0.5074 GB, free: 13.96 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.00128/0.4706, allocations: 0.6166 MB / 0.508 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.4712, allocations: 212.2 kB / 0.5082 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.4715, allocations: 125.6 kB / 0.5083 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.4717, allocations: 52.05 kB / 0.5083 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.4717, allocations: 42.81 kB / 0.5084 GB, free: 13.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.4717, allocations: 0 / 0.5084 GB, free: 13.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.002348/0.4741, allocations: 0.6883 MB / 0.5091 GB, free: 13.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.4741, allocations: 83.98 kB / 0.5091 GB, free: 13.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4742, allocations: 139 kB / 0.5093 GB, free: 13.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.4743, allocations: 34.8 kB / 0.5093 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.4744, allocations: 113.3 kB / 0.5094 GB, free: 13.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4745, allocations: 134.5 kB / 0.5095 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.4746, allocations: 66.31 kB / 0.5096 GB, free: 12.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4747, allocations: 329.6 kB / 0.5099 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.4751, allocations: 131.9 kB / 0.51 GB, free: 12.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.4755, allocations: 206.2 kB / 0.5102 GB, free: 12.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007619/0.4762, allocations: 363.1 kB / 0.5106 GB, free: 12.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4762, allocations: 0 / 0.5106 GB, free: 12.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009005/0.4771, allocations: 415.6 kB / 0.511 GB, free: 12.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4771, allocations: 9.375 kB / 0.511 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4771, allocations: 2.812 kB / 0.511 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4772, allocations: 5.406 kB / 0.511 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.4776, allocations: 92.8 kB / 0.5111 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4777, allocations: 4.062 kB / 0.5111 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.478, allocations: 24.5 kB / 0.5111 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.478, allocations: 17.64 kB / 0.5111 GB, free: 12.4 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.0001478/0.4782, allocations: 149.1 kB / 0.5113 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.4782, allocations: 18.94 kB / 0.5113 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.4786, allocations: 184.8 kB / 0.5115 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4786, allocations: 2.625 kB / 0.5115 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4786, allocations: 6.844 kB / 0.5115 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4786, allocations: 3.984 kB / 0.5115 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.4803, allocations: 0.6657 MB / 0.5121 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4803, allocations: 2.781 kB / 0.5121 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.4807, allocations: 79.3 kB / 0.5122 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.4807, allocations: 10.55 kB / 0.5122 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.4807, allocations: 9.125 kB / 0.5122 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4807, allocations: 14.19 kB / 0.5122 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4807, allocations: 2.281 kB / 0.5122 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.4821, allocations: 0.7211 MB / 0.513 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4822, allocations: 46.52 kB / 0.513 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.4823, allocations: 18.06 kB / 0.513 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.4827, allocations: 18.77 kB / 0.513 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.4827, allocations: 26.61 kB / 0.5131 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.4827, allocations: 13.92 kB / 0.5131 GB, free: 11.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.517e-05/0.4828, allocations: 104 kB / 0.5132 GB, free: 11.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4828, allocations: 0 / 0.5132 GB, free: 11.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005981/0.4834, allocations: 154.1 kB / 0.5133 GB, free: 11.23 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.0004198/0.4838, allocations: 244.1 kB / 0.5135 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000888/0.4847, allocations: 333.3 kB / 0.5139 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4847, allocations: 2.906 kB / 0.5139 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.4851, allocations: 169.8 kB / 0.514 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.4859, allocations: 101.4 kB / 0.5141 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4873, allocations: 0.6462 MB / 0.5148 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.4874, allocations: 124.8 kB / 0.5149 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.4877, allocations: 79.02 kB / 0.515 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.4878, allocations: 35.98 kB / 0.515 GB, free: 10.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4878, allocations: 0 / 0.515 GB, free: 10.18 MB / 446.1 MB Notification: Performance of Templates: time 0.01147/0.4993, allocations: 6.499 MB / 0.5213 GB, free: 6.887 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.94470800308045]