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.001738/0.001738, allocations: 107.6 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.002056/0.002056, allocations: 206.6 kB / 24.48 MB, free: 3.973 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.001575/0.001575, allocations: 47.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2837, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006421/0.2901, allocations: 4.271 MB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.2922, allocations: 1.615 MB / 438.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.2922, allocations: 4 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.2925, allocations: 43.62 kB / 438.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.2929, allocations: 123.2 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.2936, allocations: 261.4 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.294, allocations: 294.9 kB / 438.9 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.2941, allocations: 9.266 kB / 438.9 MB, free: 80 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.2944, allocations: 135.7 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2945, allocations: 95.48 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.2946, allocations: 12 kB / 439.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.2948, allocations: 83.95 kB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.349e-05/0.2949, allocations: 43.83 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.295, allocations: 71.7 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.2953, allocations: 225.9 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2953, allocations: 0 / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2953, allocations: 0 / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2954, allocations: 0 / 439.6 MB, free: 15.43 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.001049/0.2964, allocations: 425.8 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2964, allocations: 8.031 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.2966, allocations: 20.89 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.297, allocations: 150.3 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.297, allocations: 12.66 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.297, allocations: 12.38 kB / 440.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/0.2976, allocations: 383.8 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.2977, allocations: 4 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.2977, allocations: 7.984 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.2977, allocations: 4 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.2981, allocations: 152.6 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.2995, allocations: 0.8485 MB / 441.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/0.3, allocations: 142.7 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3001, allocations: 52.77 kB / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005151/0.3006, allocations: 328.2 kB / 442.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3007, allocations: 34.56 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.3007, allocations: 0 / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002729/0.3034, allocations: 0.6985 MB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3034, allocations: 59.39 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.3036, allocations: 163.9 kB / 443 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.3036, allocations: 29.7 kB / 443.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3037, allocations: 148 kB / 443.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.3038, allocations: 75.41 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3039, allocations: 61.66 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3041, allocations: 322.8 kB / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.3043, allocations: 87.94 kB / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.3047, allocations: 194.6 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/0.3053, allocations: 291.5 kB / 444.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3053, allocations: 0 / 444.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007574/0.3061, allocations: 328.2 kB / 444.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3061, allocations: 7.938 kB / 444.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3061, allocations: 4 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3061, allocations: 8 kB / 444.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.3066, allocations: 83.88 kB / 444.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3066, allocations: 4.281 kB / 444.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.3068, allocations: 23.98 kB / 444.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.3069, allocations: 12 kB / 444.7 MB, free: 9.941 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.0001492/0.307, allocations: 141.7 kB / 444.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.3071, allocations: 23.83 kB / 444.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007137/0.3078, allocations: 234.6 kB / 445.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3078, allocations: 0 / 445.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3078, allocations: 0 / 445.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.3078, allocations: 7.922 kB / 445.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.3092, allocations: 0.5249 MB / 445.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3092, allocations: 0 / 445.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.3095, allocations: 51.89 kB / 445.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.3095, allocations: 7.938 kB / 445.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3096, allocations: 8 kB / 445.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3096, allocations: 0 / 445.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3096, allocations: 4 kB / 445.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/0.3105, allocations: 424.2 kB / 446.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.3106, allocations: 27.88 kB / 446.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.3106, allocations: 8 kB / 446.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.3109, allocations: 7.984 kB / 446.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.3109, allocations: 23.98 kB / 446.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.3109, allocations: 7.984 kB / 446.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.311, allocations: 114.9 kB / 446.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.311, allocations: 0 / 446.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.3114, allocations: 63.94 kB / 446.3 MB, free: 8.199 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.0002355/0.3117, allocations: 131.1 kB / 446.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000626/0.3123, allocations: 207.7 kB / 446.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3123, allocations: 0.9375 kB / 446.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.3125, allocations: 100 kB / 446.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.313, allocations: 31.83 kB / 446.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.3141, allocations: 0.5069 MB / 447.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.3142, allocations: 103.3 kB / 447.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3144, allocations: 27.42 kB / 447.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3144, allocations: 0 / 447.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of Templates: time 0.005264/0.3196, allocations: 2.712 MB / 450.1 MB, free: 4.309 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 -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: 7.342683713010047]