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.0008557/0.0008557, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.001991, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006959/0.0006959, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009514/0.001647, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9695/0.9695, allocations: 177.5 MB / 190.1 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1117/1.081, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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 2.023e-06/2.023e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.628e-05, allocations: 5.406 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006809/0.006835, allocations: 4.673 MB / 249.9 MB, free: 8.883 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.009057, allocations: 1.829 MB / 251.7 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.009127, allocations: 8 kB / 251.7 MB, free: 7.043 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.00932, allocations: 43.67 kB / 251.7 MB, free: 7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.009635, allocations: 127.1 kB / 251.9 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.01025, allocations: 251.2 kB / 252.1 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.01064, allocations: 302.7 kB / 252.4 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.01069, allocations: 9.969 kB / 252.4 MB, free: 6.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.01101, allocations: 179.6 kB / 252.6 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.01113, allocations: 59.81 kB / 252.7 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.01116, allocations: 8 kB / 252.7 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.01142, allocations: 103.8 kB / 252.8 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.01147, allocations: 27.92 kB / 252.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.01154, allocations: 47.94 kB / 252.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.01186, allocations: 175.4 kB / 253 MB, free: 5.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.01187, allocations: 0 / 253 MB, free: 5.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.01188, allocations: 0 / 253 MB, free: 5.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.01189, allocations: 0 / 253 MB, free: 5.73 MB / 250.7 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.0008326/0.01272, allocations: 0.5011 MB / 253.5 MB, free: 5.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.01276, allocations: 12.62 kB / 253.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.01295, allocations: 44.78 kB / 253.6 MB, free: 5.129 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.01316, allocations: 149.5 kB / 253.7 MB, free: 4.957 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.01318, allocations: 8.656 kB / 253.7 MB, free: 4.949 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.01322, allocations: 20.36 kB / 253.7 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.01357, allocations: 343.5 kB / 254.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.01358, allocations: 8.062 kB / 254.1 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.01361, allocations: 16.12 kB / 254.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.01362, allocations: 4 kB / 254.1 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.01376, allocations: 74.72 kB / 254.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009499/0.01471, allocations: 0.7522 MB / 254.9 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.01494, allocations: 137.2 kB / 255.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.01499, allocations: 28.8 kB / 255.1 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004137/0.0154, allocations: 334.3 kB / 255.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.01544, allocations: 38.56 kB / 255.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.01544, allocations: 0 / 255.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001856/0.0173, allocations: 0.6372 MB / 256.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.01733, allocations: 55.41 kB / 256.1 MB, free: 2.344 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.01744, allocations: 158.5 kB / 256.3 MB, free: 2.176 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.01747, allocations: 29.7 kB / 256.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.01754, allocations: 140.1 kB / 256.5 MB, free: 2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.01761, allocations: 83.28 kB / 256.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.0177, allocations: 61.64 kB / 256.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.01781, allocations: 330.7 kB / 256.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.01787, allocations: 34.81 kB / 257 MB, free: 1.484 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.01801, allocations: 157.4 kB / 257.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.01826, allocations: 222.5 kB / 257.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01826, allocations: 4 kB / 257.3 MB, free: 1.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000301/0.01857, allocations: 204 kB / 257.5 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.01859, allocations: 8.469 kB / 257.5 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.0186, allocations: 8 kB / 257.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01861, allocations: 4 kB / 257.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.01892, allocations: 91.88 kB / 257.6 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.01893, allocations: 7.938 kB / 257.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.01908, allocations: 15.94 kB / 257.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.01911, allocations: 19.98 kB / 257.7 MB, free: 0.6523 MB / 250.7 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.0001042/0.01922, allocations: 132.5 kB / 257.8 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.01927, allocations: 15.98 kB / 257.8 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.01953, allocations: 157.6 kB / 258 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01954, allocations: 4 kB / 258 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01954, allocations: 0 / 258 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.01954, allocations: 3.938 kB / 258 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006734/0.02022, allocations: 410.1 kB / 258.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02022, allocations: 4.031 kB / 258.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.02044, allocations: 59.95 kB / 258.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.02049, allocations: 19.88 kB / 258.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.02049, allocations: 0 / 258.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.02052, allocations: 11.98 kB / 258.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.02052, allocations: 4 kB / 258.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.02052, allocations: 3.938 kB / 258.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.02087, allocations: 322 kB / 258.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.02091, allocations: 12 kB / 258.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.02106, allocations: 7.984 kB / 258.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.02109, allocations: 15.92 kB / 258.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.0211, allocations: 11.98 kB / 258.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.02114, allocations: 34.66 kB / 258.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02114, allocations: 0 / 258.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003567/0.0215, allocations: 67.92 kB / 259 MB, free: 15.3 MB / 266.7 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.00017/0.02167, allocations: 100.4 kB / 259.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.02192, allocations: 146.5 kB / 259.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.02193, allocations: 4 kB / 259.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.02204, allocations: 83.73 kB / 259.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.02241, allocations: 71.83 kB / 259.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.0266, allocations: 416.1 kB / 259.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.02665, allocations: 72.34 kB / 259.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.02685, allocations: 45.88 kB / 259.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.02707, allocations: 99.31 kB / 260 MB, free: 14.21 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02707, allocations: 0 / 260 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Templates: time 0.006605/0.03367, allocations: 2.999 MB / 263 MB, free: 11.24 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4625274091959]