Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 115.9 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 189.3 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 55.86 kB / 358.6 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 49.43 MB / 408.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3873/0.4893, allocations: 151.4 MB / 0.5464 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.4913, allocations: 1.602 MB / 0.548 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.4914, allocations: 0 / 0.548 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.4918, allocations: 59.64 kB / 0.548 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.4923, allocations: 157 kB / 0.5482 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.4951, allocations: 1.024 MB / 0.5492 GB, free: 120 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000476/0.4956, allocations: 322.9 kB / 0.5495 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.4957, allocations: 9.984 kB / 0.5495 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.4959, allocations: 147.5 kB / 0.5496 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.4962, allocations: 127.5 kB / 0.5497 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.4962, allocations: 12 kB / 0.5498 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.4991, allocations: 1.591 MB / 0.5513 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.4992, allocations: 67.84 kB / 0.5514 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.4994, allocations: 95.64 kB / 0.5515 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.5012, allocations: 0.9954 MB / 0.5524 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5012, allocations: 0 / 0.5524 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5013, allocations: 0 / 0.5524 GB, free: 12.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.5013, allocations: 0 / 0.5524 GB, free: 12.76 MB / 462.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.001837/0.5031, allocations: 0.6928 MB / 0.5531 GB, free: 12.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5032, allocations: 8.031 kB / 0.5531 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.5033, allocations: 20.84 kB / 0.5531 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.5036, allocations: 219.5 kB / 0.5534 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.5036, allocations: 12.83 kB / 0.5534 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.5037, allocations: 20 kB / 0.5534 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.5043, allocations: 261.4 kB / 0.5536 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.5043, allocations: 3.984 kB / 0.5536 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.5044, allocations: 8 kB / 0.5536 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.5044, allocations: 8 kB / 0.5537 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.5051, allocations: 263.8 kB / 0.5539 GB, free: 11.16 MB / 462.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.001609/0.5067, allocations: 0.7897 MB / 0.5547 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.5074, allocations: 229.1 kB / 0.5549 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.5077, allocations: 140.2 kB / 0.555 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004003/0.5082, allocations: 360.4 kB / 0.5554 GB, free: 9.488 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.5082, allocations: 30.56 kB / 0.5554 GB, free: 9.449 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.5082, allocations: 0 / 0.5554 GB, free: 9.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002563/0.5108, allocations: 0.6794 MB / 0.5561 GB, free: 8.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.5109, allocations: 81.11 kB / 0.5561 GB, free: 8.672 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.511, allocations: 125.7 kB / 0.5563 GB, free: 8.539 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.511, allocations: 29.7 kB / 0.5563 GB, free: 8.504 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.5111, allocations: 108.9 kB / 0.5564 GB, free: 8.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.5112, allocations: 134.8 kB / 0.5565 GB, free: 8.258 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.5114, allocations: 70.81 kB / 0.5566 GB, free: 8.184 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5116, allocations: 322.8 kB / 0.5569 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.512, allocations: 139.8 kB / 0.557 GB, free: 7.723 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.5124, allocations: 207.6 kB / 0.5572 GB, free: 7.492 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.5133, allocations: 365.8 kB / 0.5576 GB, free: 7.109 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5133, allocations: 0 / 0.5576 GB, free: 7.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001029/0.5144, allocations: 406 kB / 0.558 GB, free: 6.707 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5144, allocations: 4 kB / 0.558 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5144, allocations: 4 kB / 0.558 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.5144, allocations: 4 kB / 0.558 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.515, allocations: 87.88 kB / 0.5581 GB, free: 6.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.515, allocations: 7.75 kB / 0.5581 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.5153, allocations: 32.5 kB / 0.5581 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.5154, allocations: 29.14 kB / 0.5581 GB, free: 6.547 MB / 462.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.0001629/0.5155, allocations: 137.8 kB / 0.5583 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/0.5156, allocations: 19.91 kB / 0.5583 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.516, allocations: 170.8 kB / 0.5584 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5161, allocations: 4 kB / 0.5584 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.5161, allocations: 4 kB / 0.5584 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.5161, allocations: 7.969 kB / 0.5585 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.5179, allocations: 0.7622 MB / 0.5592 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5179, allocations: 8.156 kB / 0.5592 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.5184, allocations: 83.81 kB / 0.5593 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.5184, allocations: 4 kB / 0.5593 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.5184, allocations: 8 kB / 0.5593 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.5184, allocations: 4 kB / 0.5593 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5184, allocations: 3.984 kB / 0.5593 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.52, allocations: 0.7106 MB / 0.56 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.5202, allocations: 117 kB / 0.5601 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.5202, allocations: 8 kB / 0.5601 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.5206, allocations: 19.98 kB / 0.5601 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.5207, allocations: 35.95 kB / 0.5602 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.5207, allocations: 16 kB / 0.5602 GB, free: 4.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.679e-05/0.5208, allocations: 91.27 kB / 0.5603 GB, free: 4.215 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5208, allocations: 0 / 0.5603 GB, free: 4.215 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006623/0.5215, allocations: 143.7 kB / 0.5604 GB, free: 4.074 MB / 462.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.0005287/0.522, allocations: 234.7 kB / 0.5606 GB, free: 3.836 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.5231, allocations: 349.3 kB / 0.561 GB, free: 3.496 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5231, allocations: 0 / 0.561 GB, free: 3.496 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.5235, allocations: 175.8 kB / 0.5611 GB, free: 3.324 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007536/0.5243, allocations: 94.2 kB / 0.5612 GB, free: 3.238 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.526, allocations: 0.6513 MB / 0.5619 GB, free: 2.539 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.5264, allocations: 0.7371 MB / 0.5626 GB, free: 1.773 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.5266, allocations: 31.42 kB / 0.5626 GB, free: 1.742 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5266, allocations: 0 / 0.5626 GB, free: 1.742 MB / 462.1 MB Notification: Performance of Templates: time 0.00819/0.5348, allocations: 4.408 MB / 0.5669 GB, free: 13.34 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.795517545077018]