Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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.001627/0.001627, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 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.001681/0.001681, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.496/1.496, allocations: 230.6 MB / 254.8 MB, free: 15.24 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+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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_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_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 51.94 kB / 374.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 53.33 MB / 427.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.251/0.359, allocations: 26.74 MB / 454.2 MB, free: 8.223 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.3617, allocations: 2.251 MB / 456.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.3618, allocations: 1.156 kB / 456.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.3622, allocations: 71.91 kB / 456.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004415/0.3626, allocations: 167.8 kB / 456.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0173/0.3799, allocations: 6.543 MB / 463.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005981/0.3805, allocations: 336.3 kB / 463.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.3806, allocations: 11.84 kB / 463.6 MB, free: 7.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.3808, allocations: 145.3 kB / 463.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3811, allocations: 136.1 kB / 463.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.3811, allocations: 12.62 kB / 463.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0191/0.4002, allocations: 9.659 MB / 473.5 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.4004, allocations: 69.08 kB / 473.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.4006, allocations: 101.7 kB / 473.7 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.414, allocations: 4.743 MB / 478.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.414, allocations: 1.094 kB / 478.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.414, allocations: 3.938 kB / 478.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.414, allocations: 0 / 478.5 MB, free: 1.465 MB / 366.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.004573/0.4185, allocations: 1.171 MB / 479.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4186, allocations: 9.188 kB / 479.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.4188, allocations: 33.98 kB / 479.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.419, allocations: 221.4 kB / 479.9 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.419, allocations: 14.39 kB / 479.9 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.4191, allocations: 23.11 kB / 479.9 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.4197, allocations: 280.5 kB / 480.2 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4198, allocations: 0 / 480.2 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.4198, allocations: 11.19 kB / 480.2 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.4198, allocations: 10.03 kB / 480.2 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008069/0.4206, allocations: 318.9 kB / 480.5 MB, free: 15.97 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.001562/0.4222, allocations: 0.8217 MB / 481.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007686/0.423, allocations: 240.5 kB / 481.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.4233, allocations: 135.5 kB / 481.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01739/0.4407, allocations: 12.83 MB / 494.6 MB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.4407, allocations: 41.23 kB / 494.6 MB, free: 1.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.074e-06/0.4407, allocations: 4 kB / 494.6 MB, free: 1.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003161/0.4439, allocations: 0.6984 MB / 495.3 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.444, allocations: 84.16 kB / 495.4 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.4441, allocations: 140.8 kB / 495.5 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.4442, allocations: 35.2 kB / 495.5 MB, free: 484 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.4442, allocations: 113 kB / 495.7 MB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.4444, allocations: 136.7 kB / 495.8 MB, free: 248 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.4445, allocations: 69.72 kB / 495.9 MB, free: 200 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4447, allocations: 334.8 kB / 496.2 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.4451, allocations: 132.8 kB / 496.3 MB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.4456, allocations: 209.1 kB / 496.5 MB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.4466, allocations: 371.2 kB / 496.9 MB, free: 15.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4466, allocations: 1.375 kB / 496.9 MB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00125/0.4479, allocations: 417.2 kB / 497.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.4479, allocations: 5.656 kB / 497.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4479, allocations: 2.531 kB / 497.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.4479, allocations: 4.391 kB / 497.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.4484, allocations: 89.94 kB / 497.4 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.4484, allocations: 15.73 kB / 497.4 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.4488, allocations: 30.14 kB / 497.4 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.4488, allocations: 17.33 kB / 497.5 MB, free: 15.14 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.0001763/0.449, allocations: 137.3 kB / 497.6 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.4491, allocations: 23.48 kB / 497.6 MB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.4497, allocations: 190.7 kB / 497.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.4497, allocations: 9.188 kB / 497.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4497, allocations: 1.438 kB / 497.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4497, allocations: 5.672 kB / 497.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.4516, allocations: 0.7878 MB / 498.6 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4516, allocations: 0 / 498.6 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.452, allocations: 81.34 kB / 498.7 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.452, allocations: 4.531 kB / 498.7 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.452, allocations: 7 kB / 498.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.452, allocations: 12.95 kB / 498.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.452, allocations: 0 / 498.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.4537, allocations: 0.7182 MB / 499.4 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.4538, allocations: 130.4 kB / 499.6 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.4539, allocations: 6.25 kB / 499.6 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.4543, allocations: 18.42 kB / 499.6 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.4543, allocations: 32.84 kB / 499.6 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.4544, allocations: 19.72 kB / 499.6 MB, free: 13.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.562e-05/0.4544, allocations: 120.4 kB / 499.7 MB, free: 13.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4544, allocations: 0 / 499.7 MB, free: 13.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003618/0.4581, allocations: 0.9634 MB / 0.489 GB, free: 13.23 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.005396/0.4635, allocations: 1.251 MB / 0.4902 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.4647, allocations: 346.4 kB / 0.4905 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4647, allocations: 0 / 0.4905 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.4652, allocations: 167.7 kB / 0.4907 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.4661, allocations: 109.7 kB / 0.4908 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.4677, allocations: 0.6399 MB / 0.4914 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.4681, allocations: 0.7452 MB / 0.4921 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.4683, allocations: 47.41 kB / 0.4922 GB, free: 10.27 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4683, allocations: 0 / 0.4922 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Templates: time 0.03384/0.5021, allocations: 20.19 MB / 0.5119 GB, free: 6.082 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.119996066991007]