Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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.001021/0.001021, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.001109/0.001109, allocations: 167.7 kB / 25.33 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8623/0.8623, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.811e-05, allocations: 6.312 kB / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006767/0.006795, allocations: 4.542 MB / 255.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.008788, allocations: 1.817 MB / 257.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.008904, allocations: 4 kB / 257.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.009161, allocations: 39.69 kB / 257.4 MB, free: 13.17 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.009471, allocations: 127.1 kB / 257.6 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.00993, allocations: 251.2 kB / 257.8 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.01018, allocations: 298.6 kB / 258.1 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.01021, allocations: 5.312 kB / 258.1 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.01045, allocations: 175.6 kB / 258.3 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.01054, allocations: 71.78 kB / 258.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.01057, allocations: 8 kB / 258.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.01073, allocations: 95.81 kB / 258.4 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.01079, allocations: 35.89 kB / 258.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.01084, allocations: 59.84 kB / 258.5 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.01109, allocations: 195.4 kB / 258.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.01109, allocations: 4 kB / 258.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0111, allocations: 0 / 258.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.0111, allocations: 0 / 258.7 MB, free: 11.86 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006094/0.01171, allocations: 0.5002 MB / 259.2 MB, free: 11.33 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.01174, allocations: 11.98 kB / 259.2 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.01189, allocations: 48.7 kB / 259.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.01205, allocations: 152.4 kB / 259.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.01206, allocations: 12.66 kB / 259.5 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.0121, allocations: 20.31 kB / 259.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.01238, allocations: 369 kB / 259.8 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.0124, allocations: 12.12 kB / 259.8 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.01242, allocations: 12.12 kB / 259.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.01242, allocations: 4 kB / 259.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.01256, allocations: 95.8 kB / 260 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.01338, allocations: 1.099 MB / 261.1 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.01357, allocations: 119.3 kB / 261.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.01363, allocations: 43.33 kB / 261.2 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.01393, allocations: 427.8 kB / 261.6 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.01395, allocations: 37.39 kB / 261.7 MB, free: 8.695 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.011e-06/0.01396, allocations: 0 / 261.7 MB, free: 8.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001037/0.01499, allocations: 0.5598 MB / 262.2 MB, free: 8.098 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.01501, allocations: 51.41 kB / 262.3 MB, free: 8.035 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/0.01511, allocations: 225.6 kB / 262.5 MB, free: 7.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.01513, allocations: 29.7 kB / 262.5 MB, free: 7.762 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.01519, allocations: 190.8 kB / 262.7 MB, free: 7.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.01523, allocations: 75.36 kB / 262.8 MB, free: 7.496 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.0153, allocations: 71.3 kB / 262.9 MB, free: 7.418 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.0154, allocations: 0.4923 MB / 263.3 MB, free: 6.914 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.01548, allocations: 51.97 kB / 263.4 MB, free: 6.863 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.01562, allocations: 210.6 kB / 263.6 MB, free: 6.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.01583, allocations: 278.8 kB / 263.9 MB, free: 6.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01583, allocations: 4 kB / 263.9 MB, free: 6.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002846/0.01612, allocations: 269.2 kB / 264.1 MB, free: 5.977 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01613, allocations: 15.92 kB / 264.2 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01614, allocations: 4 kB / 264.2 MB, free: 5.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.01615, allocations: 4 kB / 264.2 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01633, allocations: 71.91 kB / 264.2 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.01634, allocations: 8.391 kB / 264.2 MB, free: 5.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.01643, allocations: 23.94 kB / 264.3 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.01645, allocations: 12 kB / 264.3 MB, free: 5.84 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.0001527/0.0166, allocations: 172.5 kB / 264.4 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.01664, allocations: 27.84 kB / 264.5 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.01688, allocations: 182.7 kB / 264.7 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01689, allocations: 4 kB / 264.7 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.01689, allocations: 0 / 264.7 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.01689, allocations: 0 / 264.7 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.01743, allocations: 0.5312 MB / 265.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01743, allocations: 4 kB / 265.2 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.01756, allocations: 43.97 kB / 265.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01756, allocations: 4 kB / 265.2 MB, free: 4.805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.01757, allocations: 7.984 kB / 265.2 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01757, allocations: 128 / 265.2 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.01758, allocations: 11.94 kB / 265.3 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.01789, allocations: 386.9 kB / 265.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.01791, allocations: 15.91 kB / 265.7 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.01793, allocations: 3.984 kB / 265.7 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.01802, allocations: 12 kB / 265.7 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.01805, allocations: 23.84 kB / 265.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.01806, allocations: 12 kB / 265.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.29e-05/0.01811, allocations: 156.1 kB / 265.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01811, allocations: 0 / 265.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.01835, allocations: 63.94 kB / 265.9 MB, free: 4.09 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.0001632/0.01851, allocations: 135 kB / 266 MB, free: 3.949 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.01873, allocations: 175.4 kB / 266.2 MB, free: 3.773 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01874, allocations: 0 / 266.2 MB, free: 3.773 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.01881, allocations: 80.09 kB / 266.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.01906, allocations: 41.16 kB / 266.3 MB, free: 3.652 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008259/0.01989, allocations: 414.3 kB / 266.7 MB, free: 3.203 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.353e-05/0.01993, allocations: 76.33 kB / 266.8 MB, free: 3.109 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.02005, allocations: 49.92 kB / 266.9 MB, free: 3.059 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.02012, allocations: 24.5 kB / 266.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02012, allocations: 0 / 266.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of Templates: time 0.004086/0.02421, allocations: 2.722 MB / 269.6 MB, free: 340 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6801734548062086]