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.001835/0.001835, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001819/0.001819, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.465/1.465, allocations: 230.5 MB / 258.1 MB, free: 7.98 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.001913/0.001913, allocations: 63.91 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2856, allocations: 53.41 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4318/0.7174, allocations: 155 MB / 0.5736 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.719, allocations: 1.616 MB / 0.5752 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.7191, allocations: 0 / 0.5752 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.7195, allocations: 66.16 kB / 0.5753 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.7199, allocations: 170.5 kB / 0.5754 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.7227, allocations: 1.06 MB / 0.5765 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.7232, allocations: 355 kB / 0.5768 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.7233, allocations: 7.031 kB / 0.5768 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.7236, allocations: 172.1 kB / 0.577 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.7238, allocations: 135.5 kB / 0.5771 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.7238, allocations: 17.03 kB / 0.5771 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.727, allocations: 1.683 MB / 0.5788 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.7271, allocations: 77.53 kB / 0.5788 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.7272, allocations: 103.7 kB / 0.5789 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.7292, allocations: 1.037 MB / 0.5799 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7292, allocations: 0 / 0.5799 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7292, allocations: 0 / 0.5799 GB, free: 12.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.7292, allocations: 0 / 0.5799 GB, free: 12.38 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.7311, allocations: 0.633 MB / 0.5806 GB, free: 11.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7312, allocations: 14.19 kB / 0.5806 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.7313, allocations: 23.61 kB / 0.5806 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.7316, allocations: 169.7 kB / 0.5808 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.7316, allocations: 8.328 kB / 0.5808 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.7317, allocations: 21.02 kB / 0.5808 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.7322, allocations: 258.3 kB / 0.581 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.7323, allocations: 6.312 kB / 0.581 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.7323, allocations: 8.016 kB / 0.581 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.7323, allocations: 11.59 kB / 0.5811 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.7329, allocations: 259.7 kB / 0.5813 GB, free: 11.75 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.00156/0.7345, allocations: 0.7663 MB / 0.5821 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.7351, allocations: 212.3 kB / 0.5823 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.7354, allocations: 131.3 kB / 0.5824 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/0.7356, allocations: 48.5 kB / 0.5824 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.7356, allocations: 37.78 kB / 0.5825 GB, free: 11.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.7356, allocations: 4 kB / 0.5825 GB, free: 11.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002434/0.7381, allocations: 0.6872 MB / 0.5831 GB, free: 11.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.7382, allocations: 80.2 kB / 0.5832 GB, free: 10.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.7383, allocations: 145.1 kB / 0.5834 GB, free: 10.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.7383, allocations: 35.2 kB / 0.5834 GB, free: 10.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.7384, allocations: 112.7 kB / 0.5835 GB, free: 10.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.7385, allocations: 130.6 kB / 0.5836 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.7387, allocations: 78.98 kB / 0.5837 GB, free: 10.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7388, allocations: 330.5 kB / 0.584 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.7392, allocations: 128.7 kB / 0.5841 GB, free: 10.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.7396, allocations: 209 kB / 0.5843 GB, free: 10.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007631/0.7403, allocations: 361.4 kB / 0.5847 GB, free: 9.992 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7403, allocations: 0 / 0.5847 GB, free: 9.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009625/0.7413, allocations: 417.5 kB / 0.5851 GB, free: 9.879 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7413, allocations: 4.875 kB / 0.5851 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7413, allocations: 2.375 kB / 0.5851 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.7414, allocations: 2.875 kB / 0.5851 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.7419, allocations: 94 kB / 0.5852 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.7419, allocations: 1.906 kB / 0.5852 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.7422, allocations: 32 kB / 0.5852 GB, free: 9.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.7422, allocations: 19.03 kB / 0.5852 GB, free: 9.836 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.0001842/0.7424, allocations: 141.3 kB / 0.5854 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/0.7425, allocations: 24.33 kB / 0.5854 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.7429, allocations: 176.7 kB / 0.5855 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.7429, allocations: 2.719 kB / 0.5856 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7429, allocations: 4 kB / 0.5856 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.7429, allocations: 6.234 kB / 0.5856 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.7448, allocations: 0.7507 MB / 0.5863 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7448, allocations: 5.844 kB / 0.5863 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.7452, allocations: 75.98 kB / 0.5864 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.7452, allocations: 4.438 kB / 0.5864 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.7453, allocations: 13.05 kB / 0.5864 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.7453, allocations: 2.219 kB / 0.5864 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.7453, allocations: 2.531 kB / 0.5864 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.7467, allocations: 0.7196 MB / 0.5871 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.7468, allocations: 50.16 kB / 0.5871 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.7469, allocations: 10.69 kB / 0.5872 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.7473, allocations: 16.95 kB / 0.5872 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.7473, allocations: 29.45 kB / 0.5872 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.7473, allocations: 17.73 kB / 0.5872 GB, free: 8.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.546e-05/0.7474, allocations: 104.2 kB / 0.5873 GB, free: 8.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7474, allocations: 0 / 0.5873 GB, free: 8.656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006543/0.7481, allocations: 153.9 kB / 0.5875 GB, free: 8.633 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.0005398/0.7486, allocations: 254.8 kB / 0.5877 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008775/0.7495, allocations: 325 kB / 0.588 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7495, allocations: 2.531 kB / 0.588 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.7499, allocations: 172.9 kB / 0.5882 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.7506, allocations: 106.3 kB / 0.5883 GB, free: 8.328 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.7521, allocations: 0.666 MB / 0.5889 GB, free: 7.887 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.7525, allocations: 0.7383 MB / 0.5897 GB, free: 7.168 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.7527, allocations: 40.62 kB / 0.5897 GB, free: 7.156 MB / 462.1 MB Notification: Performance of SimCode: time 6.42e-07/0.7527, allocations: 0 / 0.5897 GB, free: 7.156 MB / 462.1 MB Notification: Performance of Templates: time 0.007937/0.7606, allocations: 4.806 MB / 0.5944 GB, free: 4.66 MB / 462.1 MB " [Timeout remaining time 659] 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/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_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: 8.44232299993746]