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.001307/0.001307, allocations: 118 kB / 18.46 MB, free: 4.562 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.001456/0.001456, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.47/1.47, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.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.001525/0.001525, allocations: 47.92 kB / 374.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1058, allocations: 53.32 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3763/0.4821, allocations: 154.9 MB / 0.5687 GB, free: 5.215 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.4841, allocations: 1.618 MB / 0.5703 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.4842, allocations: 0 / 0.5703 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.4846, allocations: 75.58 kB / 0.5704 GB, free: 3.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.4851, allocations: 167 kB / 0.5705 GB, free: 3.355 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.4883, allocations: 1.037 MB / 0.5715 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.4888, allocations: 342.7 kB / 0.5719 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.286e-05/0.4888, allocations: 5.562 kB / 0.5719 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.4891, allocations: 175.4 kB / 0.572 GB, free: 1.809 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.4894, allocations: 135.5 kB / 0.5722 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.4894, allocations: 12 kB / 0.5722 GB, free: 1.664 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.4926, allocations: 1.669 MB / 0.5738 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.4927, allocations: 75.72 kB / 0.5739 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.4929, allocations: 99.59 kB / 0.574 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.495, allocations: 1.044 MB / 0.575 GB, free: 14.78 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.495, allocations: 0 / 0.575 GB, free: 14.78 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.495, allocations: 0 / 0.575 GB, free: 14.78 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.495, allocations: 3.938 kB / 0.575 GB, free: 14.77 MB / 494.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.001988/0.497, allocations: 0.7005 MB / 0.5757 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.497, allocations: 8.031 kB / 0.5757 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.4972, allocations: 32.83 kB / 0.5757 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.4975, allocations: 223.3 kB / 0.5759 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.4975, allocations: 12.33 kB / 0.576 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.4975, allocations: 19.95 kB / 0.576 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.4981, allocations: 253.5 kB / 0.5762 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4982, allocations: 4 kB / 0.5762 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.4982, allocations: 8 kB / 0.5762 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.4982, allocations: 19.92 kB / 0.5762 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/0.4989, allocations: 259.7 kB / 0.5765 GB, free: 13.15 MB / 494.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.001578/0.5005, allocations: 0.7934 MB / 0.5773 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.5012, allocations: 213 kB / 0.5775 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.5016, allocations: 137.6 kB / 0.5776 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/0.5019, allocations: 352.4 kB / 0.5779 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.502, allocations: 38.55 kB / 0.578 GB, free: 11.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.274e-06/0.502, allocations: 0 / 0.578 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002776/0.5048, allocations: 0.6905 MB / 0.5787 GB, free: 10.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.5048, allocations: 81.11 kB / 0.5787 GB, free: 10.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.505, allocations: 142.4 kB / 0.5789 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.505, allocations: 29.7 kB / 0.5789 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.5051, allocations: 116.9 kB / 0.579 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.5052, allocations: 130.8 kB / 0.5791 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.5054, allocations: 73.64 kB / 0.5792 GB, free: 10.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5055, allocations: 326.8 kB / 0.5795 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.5059, allocations: 131.9 kB / 0.5796 GB, free: 9.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.5064, allocations: 207.6 kB / 0.5798 GB, free: 9.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/0.5073, allocations: 365.7 kB / 0.5802 GB, free: 9.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5073, allocations: 0 / 0.5802 GB, free: 9.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001114/0.5084, allocations: 412.1 kB / 0.5806 GB, free: 8.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.5085, allocations: 8 kB / 0.5806 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5085, allocations: 0 / 0.5806 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.5085, allocations: 4 kB / 0.5806 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.509, allocations: 91.81 kB / 0.5807 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.509, allocations: 4 kB / 0.5807 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.5093, allocations: 27.88 kB / 0.5807 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.5094, allocations: 24.08 kB / 0.5807 GB, free: 8.516 MB / 494.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.0001903/0.5096, allocations: 145.7 kB / 0.5809 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.5097, allocations: 15.91 kB / 0.5809 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.5101, allocations: 174.7 kB / 0.581 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.5101, allocations: 4 kB / 0.5811 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5101, allocations: 0.625 kB / 0.5811 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.5101, allocations: 19.84 kB / 0.5811 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.512, allocations: 0.7702 MB / 0.5818 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.512, allocations: 4 kB / 0.5818 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.5125, allocations: 84.53 kB / 0.5819 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.5125, allocations: 4 kB / 0.5819 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.5125, allocations: 8 kB / 0.5819 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.5125, allocations: 8.609 kB / 0.5819 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5125, allocations: 2.188 kB / 0.5819 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.5141, allocations: 0.7181 MB / 0.5826 GB, free: 6.445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.5142, allocations: 128.9 kB / 0.5828 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.5143, allocations: 8 kB / 0.5828 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.5146, allocations: 19.97 kB / 0.5828 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.5147, allocations: 24.03 kB / 0.5828 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.5147, allocations: 23.98 kB / 0.5828 GB, free: 6.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.642e-05/0.5148, allocations: 101.8 kB / 0.5829 GB, free: 6.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5148, allocations: 0 / 0.5829 GB, free: 6.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000664/0.5155, allocations: 159.6 kB / 0.5831 GB, free: 5.973 MB / 494.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.0005288/0.516, allocations: 242.7 kB / 0.5833 GB, free: 5.727 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.517, allocations: 332.7 kB / 0.5836 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.517, allocations: 0 / 0.5836 GB, free: 5.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.5175, allocations: 167.7 kB / 0.5838 GB, free: 5.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.5183, allocations: 111 kB / 0.5839 GB, free: 5.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.5199, allocations: 0.6708 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.5203, allocations: 0.7413 MB / 0.5853 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.5205, allocations: 39.42 kB / 0.5853 GB, free: 3.621 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5205, allocations: 0 / 0.5853 GB, free: 3.621 MB / 494.1 MB Notification: Performance of Templates: time 0.008389/0.5289, allocations: 4.796 MB / 0.59 GB, free: 14.83 MB / 0.4981 GB " [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 -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: 8.218813234008849]