Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001754/0.001754, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002106/0.002106, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.789 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+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_4.1.0_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_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.94 kB / 378.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.262, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005856/0.2679, allocations: 4.274 MB / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.2699, allocations: 1.619 MB / 438.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.2699, allocations: 0 / 438.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.2702, allocations: 35.7 kB / 438.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.2705, allocations: 131.2 kB / 438.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.2711, allocations: 253.4 kB / 438.6 MB, free: 376 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.2715, allocations: 294.9 kB / 438.9 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.2715, allocations: 13.25 kB / 438.9 MB, free: 64 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.2718, allocations: 143.5 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.2719, allocations: 75.69 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.2719, allocations: 8 kB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.2722, allocations: 95.94 kB / 439.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.2722, allocations: 47.75 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.551e-05/0.2723, allocations: 67.78 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.2727, allocations: 221.9 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2727, allocations: 0 / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2727, allocations: 4 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2727, allocations: 0 / 439.6 MB, free: 15.42 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.0009973/0.2737, allocations: 421.8 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.2737, allocations: 8.031 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.2739, allocations: 20.88 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.2742, allocations: 154.3 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2742, allocations: 12.66 kB / 440.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.2742, allocations: 20.36 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.2748, allocations: 379.8 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2748, allocations: 0 / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.2748, allocations: 8 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2748, allocations: 4 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.2752, allocations: 152.6 kB / 440.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.2766, allocations: 0.8406 MB / 441.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.277, allocations: 154.6 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2772, allocations: 52.83 kB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/0.2777, allocations: 328.2 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2777, allocations: 34.56 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.2777, allocations: 0 / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002818/0.2805, allocations: 0.7022 MB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2805, allocations: 51.41 kB / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.2807, allocations: 160 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.2807, allocations: 33.7 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.2808, allocations: 152 kB / 443.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.2809, allocations: 71.42 kB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.281, allocations: 61.64 kB / 443.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2811, allocations: 322.8 kB / 443.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.2814, allocations: 83.94 kB / 443.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.2818, allocations: 198.6 kB / 443.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.2824, allocations: 293.5 kB / 444.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2824, allocations: 0 / 444.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007734/0.2832, allocations: 323.8 kB / 444.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2832, allocations: 8 kB / 444.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2832, allocations: 7.938 kB / 444.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2832, allocations: 4.469 kB / 444.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.2836, allocations: 87.89 kB / 444.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.2836, allocations: 7.984 kB / 444.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.2839, allocations: 16 kB / 444.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.2839, allocations: 15.98 kB / 444.7 MB, free: 9.926 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.0001465/0.2841, allocations: 137.7 kB / 444.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.2841, allocations: 19.84 kB / 444.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007228/0.2849, allocations: 246.5 kB / 445.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2849, allocations: 7.938 kB / 445.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2849, allocations: 0 / 445.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2849, allocations: 0 / 445.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.2863, allocations: 0.5171 MB / 445.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2863, allocations: 4 kB / 445.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.2866, allocations: 51.91 kB / 445.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2866, allocations: 4 kB / 445.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.2866, allocations: 3.984 kB / 445.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.2866, allocations: 8.125 kB / 445.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2866, allocations: 0 / 445.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009095/0.2875, allocations: 413.7 kB / 446.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.2876, allocations: 27.91 kB / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.2877, allocations: 12.06 kB / 446.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.288, allocations: 15.98 kB / 446.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.288, allocations: 15.91 kB / 446.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.288, allocations: 15.97 kB / 446.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.097e-05/0.2881, allocations: 114.9 kB / 446.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2881, allocations: 0 / 446.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.2885, allocations: 63.94 kB / 446.3 MB, free: 8.184 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.000186/0.2887, allocations: 135.1 kB / 446.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000626/0.2893, allocations: 204.6 kB / 446.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2893, allocations: 0 / 446.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.2896, allocations: 98.84 kB / 446.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.29, allocations: 31.84 kB / 446.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.2911, allocations: 485.7 kB / 447.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2912, allocations: 103.3 kB / 447.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.2914, allocations: 53.86 kB / 447.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.2915, allocations: 31.42 kB / 447.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2915, allocations: 0 / 447.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of Templates: time 0.006785/0.2983, allocations: 2.973 MB / 450.4 MB, free: 4.07 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.3455415810021805]