Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 64.09 kB / 373.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09349, allocations: 53.32 MB / 427.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3506/0.4441, allocations: 154.9 MB / 0.5684 GB, free: 5.488 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.4461, allocations: 1.616 MB / 0.57 GB, free: 3.871 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.4461, allocations: 0 / 0.57 GB, free: 3.871 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.4465, allocations: 67.58 kB / 0.57 GB, free: 3.805 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.4469, allocations: 175 kB / 0.5702 GB, free: 3.633 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.4497, allocations: 1.03 MB / 0.5712 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.4501, allocations: 350.6 kB / 0.5716 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.4502, allocations: 9.562 kB / 0.5716 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.4505, allocations: 171.4 kB / 0.5717 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.4507, allocations: 135.6 kB / 0.5719 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.4507, allocations: 12 kB / 0.5719 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.4536, allocations: 1.673 MB / 0.5735 GB, free: 272 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.4537, allocations: 67.84 kB / 0.5736 GB, free: 204 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.4538, allocations: 103.6 kB / 0.5737 GB, free: 100 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.4554, allocations: 1.032 MB / 0.5747 GB, free: 15.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4554, allocations: 3.938 kB / 0.5747 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.4554, allocations: 4 kB / 0.5747 GB, free: 15.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.4554, allocations: 4 kB / 0.5747 GB, free: 15.05 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.001805/0.4572, allocations: 0.7043 MB / 0.5754 GB, free: 14.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4573, allocations: 12.03 kB / 0.5754 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.4574, allocations: 20.84 kB / 0.5754 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.4577, allocations: 231.3 kB / 0.5756 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4577, allocations: 8.328 kB / 0.5756 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.4578, allocations: 19.95 kB / 0.5757 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.4584, allocations: 261.5 kB / 0.5759 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4584, allocations: 0 / 0.5759 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.4584, allocations: 4 kB / 0.5759 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.4585, allocations: 8 kB / 0.5759 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.4592, allocations: 268.4 kB / 0.5762 GB, free: 13.44 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.001524/0.4607, allocations: 0.7895 MB / 0.5769 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.4614, allocations: 217.1 kB / 0.5771 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.4617, allocations: 129.6 kB / 0.5773 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003671/0.4621, allocations: 364.3 kB / 0.5776 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.4621, allocations: 38.56 kB / 0.5777 GB, free: 11.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.4621, allocations: 0 / 0.5777 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002627/0.4647, allocations: 0.682 MB / 0.5783 GB, free: 11.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.4648, allocations: 85.05 kB / 0.5784 GB, free: 10.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.4649, allocations: 144.8 kB / 0.5785 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.4649, allocations: 37.7 kB / 0.5786 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.465, allocations: 108.9 kB / 0.5787 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.4651, allocations: 138.8 kB / 0.5788 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.4653, allocations: 65.64 kB / 0.5789 GB, free: 10.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4654, allocations: 330.8 kB / 0.5792 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.4658, allocations: 135.9 kB / 0.5793 GB, free: 9.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.4663, allocations: 199.6 kB / 0.5795 GB, free: 9.742 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/0.4671, allocations: 369.7 kB / 0.5799 GB, free: 9.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4671, allocations: 0 / 0.5799 GB, free: 9.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001047/0.4682, allocations: 409.2 kB / 0.5803 GB, free: 8.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4682, allocations: 8 kB / 0.5803 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4682, allocations: 4 kB / 0.5803 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4682, allocations: 0 / 0.5803 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.4687, allocations: 92.03 kB / 0.5804 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.4687, allocations: 8 kB / 0.5804 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.469, allocations: 31.86 kB / 0.5804 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.4691, allocations: 16 kB / 0.5804 GB, free: 8.797 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.000146/0.4692, allocations: 145.7 kB / 0.5805 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.4693, allocations: 19.91 kB / 0.5806 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.4697, allocations: 173.3 kB / 0.5807 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4697, allocations: 4 kB / 0.5807 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4697, allocations: 4.562 kB / 0.5807 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4697, allocations: 3.938 kB / 0.5807 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.4715, allocations: 0.7798 MB / 0.5815 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4715, allocations: 2 kB / 0.5815 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.472, allocations: 75.83 kB / 0.5816 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.472, allocations: 4 kB / 0.5816 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.472, allocations: 15.98 kB / 0.5816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.472, allocations: 4 kB / 0.5816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.472, allocations: 4 kB / 0.5816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.4735, allocations: 0.7144 MB / 0.5823 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.4737, allocations: 124.9 kB / 0.5824 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.4737, allocations: 12 kB / 0.5824 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.4741, allocations: 20.05 kB / 0.5825 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.4741, allocations: 23.97 kB / 0.5825 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.4742, allocations: 15.98 kB / 0.5825 GB, free: 6.523 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.306e-05/0.4742, allocations: 109.3 kB / 0.5826 GB, free: 6.418 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4742, allocations: 0 / 0.5826 GB, free: 6.418 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005986/0.4748, allocations: 155.6 kB / 0.5827 GB, free: 6.266 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.0004667/0.4753, allocations: 246.7 kB / 0.583 GB, free: 6.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009497/0.4763, allocations: 339.5 kB / 0.5833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.4763, allocations: 0 / 0.5833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.4767, allocations: 172.5 kB / 0.5835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.4774, allocations: 97.28 kB / 0.5836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.4789, allocations: 0.6472 MB / 0.5842 GB, free: 4.746 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.4793, allocations: 0.7374 MB / 0.5849 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.4796, allocations: 82.22 kB / 0.585 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.4798, allocations: 31.42 kB / 0.585 GB, free: 3.863 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4798, allocations: 0 / 0.585 GB, free: 3.863 MB / 494.1 MB Notification: Performance of Templates: time 0.01177/0.4915, allocations: 6.398 MB / 0.5913 GB, free: 13.52 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.9758290918543935]