Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001444/0.001444, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001674/0.001674, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.801 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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.89 kB / 379 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2646, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006657/0.2713, allocations: 4.27 MB / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.2734, allocations: 1.627 MB / 438.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.2734, allocations: 0 / 438.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.2737, allocations: 35.77 kB / 438.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.2741, allocations: 123.2 kB / 438.4 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.2747, allocations: 265.7 kB / 438.7 MB, free: 208 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.2751, allocations: 294.9 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.2752, allocations: 13.2 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.2755, allocations: 131.7 kB / 439.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.2756, allocations: 87.59 kB / 439.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.2756, allocations: 8 kB / 439.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.2759, allocations: 95.88 kB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.276, allocations: 39.88 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.804e-05/0.2761, allocations: 67.73 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.2764, allocations: 222 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2764, allocations: 0 / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2764, allocations: 0 / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2764, allocations: 0 / 439.6 MB, free: 15.27 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.0009695/0.2774, allocations: 429.7 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2774, allocations: 11.98 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.2776, allocations: 20.88 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.278, allocations: 146.4 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.278, allocations: 12.59 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.278, allocations: 20.36 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005399/0.2786, allocations: 380.1 kB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2786, allocations: 0 / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.2786, allocations: 11.94 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2786, allocations: 4 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.279, allocations: 143.8 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.2803, allocations: 0.8407 MB / 441.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.2808, allocations: 153.6 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.2809, allocations: 52.83 kB / 441.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005234/0.2814, allocations: 332.1 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2815, allocations: 34.56 kB / 442.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.2815, allocations: 0 / 442.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00256/0.284, allocations: 0.7024 MB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.2841, allocations: 55.34 kB / 442.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2842, allocations: 161.4 kB / 443.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.2843, allocations: 29.7 kB / 443.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2844, allocations: 148 kB / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.2844, allocations: 75.36 kB / 443.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/0.2845, allocations: 61.64 kB / 443.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2847, allocations: 330.8 kB / 443.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.285, allocations: 83.94 kB / 443.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.2853, allocations: 194 kB / 444 MB, free: 10.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.286, allocations: 296.8 kB / 444.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.286, allocations: 4 kB / 444.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007346/0.2867, allocations: 321.2 kB / 444.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2867, allocations: 8 kB / 444.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2867, allocations: 4 kB / 444.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.2867, allocations: 4 kB / 444.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.2871, allocations: 79.89 kB / 444.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.2871, allocations: 11.94 kB / 444.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.2874, allocations: 20.27 kB / 444.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.2874, allocations: 15.98 kB / 444.7 MB, free: 9.77 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.0001344/0.2875, allocations: 134.6 kB / 444.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.2876, allocations: 19.84 kB / 444.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/0.2883, allocations: 238.6 kB / 445.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.2883, allocations: 15.92 kB / 445.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2883, allocations: 0 / 445.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2883, allocations: 0 / 445.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.2896, allocations: 0.5171 MB / 445.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2896, allocations: 4 kB / 445.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.2899, allocations: 55.95 kB / 445.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2899, allocations: 0 / 445.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.2899, allocations: 7.984 kB / 445.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.2899, allocations: 7.938 kB / 445.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2899, allocations: 3.938 kB / 445.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008888/0.2908, allocations: 417.8 kB / 446.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.2909, allocations: 27.91 kB / 446.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.2909, allocations: 8 kB / 446.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.2912, allocations: 15.98 kB / 446.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.2912, allocations: 19.84 kB / 446.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.2913, allocations: 16.06 kB / 446.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.365e-05/0.2914, allocations: 108.1 kB / 446.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2914, allocations: 4 kB / 446.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004031/0.2918, allocations: 59.94 kB / 446.4 MB, free: 8.023 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.0002083/0.292, allocations: 123.2 kB / 446.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006171/0.2926, allocations: 211.2 kB / 446.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2926, allocations: 0 / 446.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.2928, allocations: 101 kB / 446.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.2933, allocations: 31.84 kB / 446.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2943, allocations: 0.503 MB / 447.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.2944, allocations: 107.3 kB / 447.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.2945, allocations: 27.42 kB / 447.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2945, allocations: 0 / 447.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of Templates: time 0.005046/0.2996, allocations: 2.706 MB / 450.2 MB, free: 4.145 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.262143814004958]