Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.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.00129/0.00129, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001413/0.001413, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.376/1.376, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.256, allocations: 53.32 MB / 432 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006234/0.2622, allocations: 4.601 MB / 436.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.2643, allocations: 1.818 MB / 438.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.648e-05/0.2644, allocations: 0 / 438.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.2647, allocations: 43.67 kB / 438.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.2651, allocations: 123.2 kB / 438.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.2657, allocations: 246.1 kB / 438.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.2661, allocations: 294.9 kB / 439.1 MB, free: 212 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.2661, allocations: 13.08 kB / 439.1 MB, free: 200 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.2664, allocations: 131.6 kB / 439.3 MB, free: 68 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.2665, allocations: 83.67 kB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.2666, allocations: 8 kB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.2668, allocations: 111.8 kB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.2669, allocations: 35.84 kB / 439.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.267, allocations: 79.7 kB / 439.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.2674, allocations: 228.7 kB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2674, allocations: 4 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2674, allocations: 0 / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2674, allocations: 0 / 439.8 MB, free: 15.53 MB / 350.1 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.001026/0.2684, allocations: 491 kB / 440.3 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2685, allocations: 15.97 kB / 440.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.2686, allocations: 24.88 kB / 440.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.269, allocations: 208.2 kB / 440.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.269, allocations: 12.66 kB / 440.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.2691, allocations: 12.38 kB / 440.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.2695, allocations: 221.6 kB / 440.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2695, allocations: 3.938 kB / 440.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.2696, allocations: 11.94 kB / 440.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2696, allocations: 4 kB / 440.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.2699, allocations: 148.3 kB / 440.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.2713, allocations: 0.9442 MB / 441.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.2717, allocations: 146.7 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.2719, allocations: 52.83 kB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.2725, allocations: 0.5032 MB / 442.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2725, allocations: 46.56 kB / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.2725, allocations: 0 / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002582/0.2751, allocations: 0.7695 MB / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.2751, allocations: 55.41 kB / 443.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.2753, allocations: 165.8 kB / 443.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.2753, allocations: 33.7 kB / 443.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.2754, allocations: 140.2 kB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.2755, allocations: 71.38 kB / 443.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.2756, allocations: 61.69 kB / 443.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2757, allocations: 326.8 kB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.2759, allocations: 79.94 kB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.2763, allocations: 190 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/0.2769, allocations: 304 kB / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2769, allocations: 0 / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000716/0.2776, allocations: 317.1 kB / 445.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2776, allocations: 12.88 kB / 445.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2776, allocations: 4 kB / 445.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2776, allocations: 4 kB / 445.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.278, allocations: 88.33 kB / 445.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.278, allocations: 11.94 kB / 445.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.2783, allocations: 15.98 kB / 445.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.2783, allocations: 16 kB / 445.3 MB, free: 9.629 MB / 350.1 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.0001402/0.2784, allocations: 137.7 kB / 445.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.2785, allocations: 19.84 kB / 445.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006803/0.2792, allocations: 242.5 kB / 445.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2792, allocations: 4 kB / 445.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2792, allocations: 0 / 445.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2792, allocations: 0 / 445.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.2805, allocations: 0.606 MB / 446.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2805, allocations: 0 / 446.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.2808, allocations: 60.02 kB / 446.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2808, allocations: 0 / 446.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.2808, allocations: 11.98 kB / 446.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2808, allocations: 0 / 446.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2808, allocations: 7.938 kB / 446.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/0.2817, allocations: 399.1 kB / 446.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2818, allocations: 108.9 kB / 446.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.2818, allocations: 4 kB / 446.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.2821, allocations: 23.98 kB / 446.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.2821, allocations: 11.98 kB / 446.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.2821, allocations: 11.98 kB / 446.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.082e-05/0.2822, allocations: 111.2 kB / 447 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2822, allocations: 0 / 447 MB, free: 7.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003824/0.2826, allocations: 63.94 kB / 447.1 MB, free: 7.699 MB / 350.1 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.0002205/0.2828, allocations: 135.1 kB / 447.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.2834, allocations: 204.2 kB / 447.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2834, allocations: 0 / 447.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.2837, allocations: 91.81 kB / 447.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.2841, allocations: 50.89 kB / 447.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.2852, allocations: 0.4975 MB / 448 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.2855, allocations: 0.7246 MB / 448.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2856, allocations: 27.42 kB / 448.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2856, allocations: 0 / 448.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of Templates: time 0.004845/0.2905, allocations: 2.619 MB / 451.4 MB, free: 3.273 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.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: 6.752777621615678]