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.001831/0.001831, allocations: 113 kB / 18.45 MB, free: 4.602 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.002178/0.002178, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.492/1.492, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.001531/0.001531, allocations: 51.84 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.09966, allocations: 52.15 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.389/0.4886, allocations: 151.9 MB / 0.5574 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.4906, allocations: 1.597 MB / 0.559 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.4907, allocations: 4 kB / 0.559 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.4911, allocations: 65.27 kB / 0.5591 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.4915, allocations: 161.1 kB / 0.5592 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.4944, allocations: 1.023 MB / 0.5602 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.4948, allocations: 322.9 kB / 0.5605 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.4949, allocations: 7 kB / 0.5605 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.4952, allocations: 155.4 kB / 0.5607 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.4954, allocations: 135.5 kB / 0.5608 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.4954, allocations: 12 kB / 0.5608 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.4985, allocations: 1.634 MB / 0.5624 GB, free: 8.957 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.4986, allocations: 59.86 kB / 0.5625 GB, free: 8.898 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.4987, allocations: 99.62 kB / 0.5626 GB, free: 8.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.5008, allocations: 0.9932 MB / 0.5635 GB, free: 7.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5008, allocations: 0 / 0.5635 GB, free: 7.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.5008, allocations: 0 / 0.5635 GB, free: 7.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.5008, allocations: 0 / 0.5635 GB, free: 7.809 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.001919/0.5027, allocations: 0.6889 MB / 0.5642 GB, free: 7.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5028, allocations: 8.031 kB / 0.5642 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.5029, allocations: 24.84 kB / 0.5642 GB, free: 7.039 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.5032, allocations: 223.5 kB / 0.5645 GB, free: 6.781 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.5032, allocations: 12.33 kB / 0.5645 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.5033, allocations: 22.7 kB / 0.5645 GB, free: 6.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/0.5039, allocations: 261.4 kB / 0.5647 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5039, allocations: 0 / 0.5647 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.5039, allocations: 8 kB / 0.5648 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.5039, allocations: 12 kB / 0.5648 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.5046, allocations: 265 kB / 0.565 GB, free: 6.207 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.001534/0.5061, allocations: 0.7936 MB / 0.5658 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.5068, allocations: 217.1 kB / 0.566 GB, free: 5.105 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.5071, allocations: 126.1 kB / 0.5661 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003802/0.5075, allocations: 360.4 kB / 0.5665 GB, free: 4.551 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.5075, allocations: 34.56 kB / 0.5665 GB, free: 4.508 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.5075, allocations: 4 kB / 0.5665 GB, free: 4.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002596/0.5101, allocations: 0.6695 MB / 0.5672 GB, free: 3.832 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.5102, allocations: 81.11 kB / 0.5672 GB, free: 3.734 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.5103, allocations: 125.8 kB / 0.5673 GB, free: 3.602 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.5104, allocations: 33.7 kB / 0.5674 GB, free: 3.562 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.5104, allocations: 104.9 kB / 0.5675 GB, free: 3.453 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.5106, allocations: 138.9 kB / 0.5676 GB, free: 3.316 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.5107, allocations: 69.42 kB / 0.5677 GB, free: 3.246 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5109, allocations: 326.8 kB / 0.568 GB, free: 2.918 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.5113, allocations: 131.9 kB / 0.5681 GB, free: 2.789 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.5117, allocations: 212.3 kB / 0.5683 GB, free: 2.555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.5126, allocations: 369.3 kB / 0.5687 GB, free: 2.168 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5126, allocations: 0 / 0.5687 GB, free: 2.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001058/0.5137, allocations: 401.2 kB / 0.5691 GB, free: 1.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.5137, allocations: 8 kB / 0.5691 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5137, allocations: 0 / 0.5691 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.5137, allocations: 7.984 kB / 0.5691 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.5142, allocations: 80.39 kB / 0.5691 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.5143, allocations: 7.984 kB / 0.5692 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.5146, allocations: 36.09 kB / 0.5692 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.5146, allocations: 19.92 kB / 0.5692 GB, free: 1.613 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.0001804/0.5148, allocations: 141.7 kB / 0.5693 GB, free: 1.465 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.5149, allocations: 16.47 kB / 0.5694 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.5153, allocations: 187.7 kB / 0.5695 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.5153, allocations: 4 kB / 0.5695 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5153, allocations: 0 / 0.5695 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5153, allocations: 3.984 kB / 0.5695 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.5172, allocations: 0.7653 MB / 0.5703 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5172, allocations: 4.031 kB / 0.5703 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.5176, allocations: 75.89 kB / 0.5704 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-05/0.5176, allocations: 4 kB / 0.5704 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.5177, allocations: 12.48 kB / 0.5704 GB, free: 336 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.5177, allocations: 4 kB / 0.5704 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.5177, allocations: 4 kB / 0.5704 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.5192, allocations: 0.7109 MB / 0.5711 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.5193, allocations: 120.2 kB / 0.5712 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.5194, allocations: 11.98 kB / 0.5712 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.5197, allocations: 19.98 kB / 0.5712 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.5198, allocations: 28.03 kB / 0.5713 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.5198, allocations: 15.98 kB / 0.5713 GB, free: 15.37 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.751e-05/0.5199, allocations: 95.58 kB / 0.5714 GB, free: 15.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5199, allocations: 288 / 0.5714 GB, free: 15.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006963/0.5206, allocations: 147.7 kB / 0.5715 GB, free: 15.13 MB / 478.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.0005328/0.5211, allocations: 234.7 kB / 0.5717 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009837/0.5221, allocations: 333.3 kB / 0.572 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5221, allocations: 7.938 kB / 0.5721 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.5225, allocations: 160.4 kB / 0.5722 GB, free: 14.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007498/0.5233, allocations: 104.9 kB / 0.5723 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5249, allocations: 0.6426 MB / 0.5729 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.5253, allocations: 0.7293 MB / 0.5736 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.5255, allocations: 39.42 kB / 0.5737 GB, free: 12.82 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5255, allocations: 0 / 0.5737 GB, free: 12.82 MB / 478.1 MB Notification: Performance of Templates: time 0.007974/0.5335, allocations: 4.414 MB / 0.578 GB, free: 8.41 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.856442897114903]