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.008905/0.008905, allocations: 106.6 kB / 21.98 MB, free: 5.223 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.002386/0.002386, allocations: 212.6 kB / 25.29 MB, free: 3.203 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.475/1.475, allocations: 230.6 MB / 259 MB, free: 8.047 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.001976/0.001976, allocations: 59.91 kB / 379.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.274, allocations: 53.37 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006697/0.2807, allocations: 4.594 MB / 437.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.283, allocations: 1.825 MB / 439.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.283, allocations: 0 / 439.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.2833, allocations: 43.69 kB / 439.6 MB, free: 492 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.2837, allocations: 123.2 kB / 439.7 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.2844, allocations: 261.1 kB / 440 MB, free: 112 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.2849, allocations: 294.9 kB / 440.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.2849, allocations: 13.27 kB / 440.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.2852, allocations: 139.5 kB / 440.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.2854, allocations: 83.67 kB / 440.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.2854, allocations: 8 kB / 440.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.2857, allocations: 111.8 kB / 440.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.2857, allocations: 35.89 kB / 440.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.564e-05/0.2858, allocations: 75.67 kB / 440.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.2862, allocations: 228.5 kB / 441 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2862, allocations: 0 / 441 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2862, allocations: 4 kB / 441 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2862, allocations: 0 / 441 MB, free: 15.14 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.001013/0.2872, allocations: 421.8 kB / 441.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2873, allocations: 8.031 kB / 441.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.2875, allocations: 16.89 kB / 441.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.2878, allocations: 162.2 kB / 441.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2878, allocations: 8.656 kB / 441.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.2878, allocations: 16.38 kB / 441.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.2883, allocations: 221.5 kB / 441.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2883, allocations: 8 kB / 441.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.2884, allocations: 4 kB / 441.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.2884, allocations: 4 kB / 441.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.2887, allocations: 151.8 kB / 442 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.2901, allocations: 0.9025 MB / 442.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.2906, allocations: 150.6 kB / 443 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.2907, allocations: 48.83 kB / 443.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000505/0.2912, allocations: 332.2 kB / 443.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.2912, allocations: 38.56 kB / 443.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.2912, allocations: 0 / 443.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002582/0.2938, allocations: 0.7019 MB / 444.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.2939, allocations: 51.41 kB / 444.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.294, allocations: 163.1 kB / 444.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2941, allocations: 33.7 kB / 444.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2942, allocations: 140.1 kB / 444.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.2942, allocations: 75.38 kB / 444.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.2943, allocations: 61.69 kB / 444.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2945, allocations: 322.8 kB / 444.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.2948, allocations: 87.88 kB / 445 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.2951, allocations: 198 kB / 445.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006237/0.2958, allocations: 295.1 kB / 445.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2958, allocations: 4 kB / 445.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007221/0.2965, allocations: 320.4 kB / 445.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2965, allocations: 10.66 kB / 445.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2965, allocations: 4 kB / 445.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.2965, allocations: 4 kB / 445.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.2969, allocations: 80.2 kB / 445.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2969, allocations: 15.98 kB / 445.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.2972, allocations: 16 kB / 446 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.2972, allocations: 15.98 kB / 446 MB, free: 9.766 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.0001355/0.2973, allocations: 133.7 kB / 446.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.2974, allocations: 23.78 kB / 446.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.2981, allocations: 242.6 kB / 446.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2981, allocations: 4 kB / 446.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2981, allocations: 0 / 446.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2981, allocations: 0 / 446.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.2995, allocations: 0.5645 MB / 446.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2995, allocations: 0 / 446.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.2998, allocations: 59.89 kB / 447 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2998, allocations: 8.062 kB / 447 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.2998, allocations: 7.984 kB / 447 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.2998, allocations: 4 kB / 447 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.2998, allocations: 3.938 kB / 447 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.3007, allocations: 409.8 kB / 447.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.3007, allocations: 27.91 kB / 447.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.3008, allocations: 12 kB / 447.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.301, allocations: 19.98 kB / 447.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.3011, allocations: 15.97 kB / 447.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.3011, allocations: 8 kB / 447.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.624e-05/0.3012, allocations: 118.9 kB / 447.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3012, allocations: 3.938 kB / 447.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003871/0.3016, allocations: 63.94 kB / 447.7 MB, free: 7.961 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.0002245/0.3018, allocations: 127.1 kB / 447.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.3024, allocations: 212.4 kB / 448 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3024, allocations: 0 / 448 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.3027, allocations: 86.36 kB / 448.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.3031, allocations: 48.25 kB / 448.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.3042, allocations: 0.5029 MB / 448.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3046, allocations: 0.7207 MB / 449.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3047, allocations: 31.42 kB / 449.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3047, allocations: 0 / 449.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of Templates: time 0.00545/0.3102, allocations: 2.651 MB / 452.1 MB, free: 3.512 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/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-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: 7.242906066821888]