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.001948/0.001948, allocations: 85.03 kB / 20.68 MB, free: 1.039 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.002338/0.002338, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.477/1.477, allocations: 177 MB / 204.1 MB, free: 9.199 MB / 190.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 1.262e-06/1.262e-06, allocations: 0 / 325 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.673e-05, allocations: 10.16 kB / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006064/0.00609, allocations: 4.271 MB / 329.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.008336, allocations: 1.617 MB / 330.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.008421, allocations: 1.125 kB / 330.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.008707, allocations: 43.5 kB / 330.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.009144, allocations: 128 kB / 331 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.009944, allocations: 253.8 kB / 331.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.01037, allocations: 301.2 kB / 331.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.01043, allocations: 14.73 kB / 331.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.01078, allocations: 176.4 kB / 331.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.01091, allocations: 72.86 kB / 331.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.01095, allocations: 11.62 kB / 331.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.01121, allocations: 91.14 kB / 331.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.99e-05/0.0113, allocations: 42.33 kB / 332 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.68e-05/0.0114, allocations: 58.59 kB / 332 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.01182, allocations: 243.1 kB / 332.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01182, allocations: 0 / 332.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01182, allocations: 1.125 kB / 332.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.01183, allocations: 0 / 332.3 MB, free: 11.69 MB / 302.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.001035/0.01287, allocations: 422.9 kB / 332.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.01291, allocations: 13.14 kB / 332.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.01311, allocations: 22.97 kB / 332.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.01345, allocations: 151.7 kB / 332.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.01346, allocations: 10.28 kB / 332.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.01351, allocations: 14.28 kB / 332.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005897/0.0141, allocations: 376.8 kB / 333.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.01411, allocations: 9.188 kB / 333.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.01415, allocations: 11.75 kB / 333.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.01416, allocations: 3.781 kB / 333.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.01456, allocations: 150.7 kB / 333.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.016, allocations: 0.8312 MB / 334.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.01644, allocations: 149 kB / 334.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.0166, allocations: 49.61 kB / 334.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005283/0.01713, allocations: 332.2 kB / 334.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.01716, allocations: 33.06 kB / 334.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.01717, allocations: 0 / 334.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002783/0.01995, allocations: 0.7037 MB / 335.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.02, allocations: 52.78 kB / 335.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.02016, allocations: 175.8 kB / 335.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.02019, allocations: 26.55 kB / 335.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.02029, allocations: 144.2 kB / 335.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.986e-05/0.02036, allocations: 76.38 kB / 336 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.02047, allocations: 58.81 kB / 336 MB, free: 8.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.02063, allocations: 327.3 kB / 336.4 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.02091, allocations: 88.67 kB / 336.5 MB, free: 8.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.0213, allocations: 196.2 kB / 336.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/0.02196, allocations: 292.5 kB / 336.9 MB, free: 7.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02196, allocations: 1.375 kB / 336.9 MB, free: 7.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007922/0.02275, allocations: 327.7 kB / 337.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.02277, allocations: 6.688 kB / 337.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.02278, allocations: 2.656 kB / 337.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.0228, allocations: 14.77 kB / 337.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.0232, allocations: 76.55 kB / 337.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.02321, allocations: 4.688 kB / 337.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.02346, allocations: 21.45 kB / 337.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.0235, allocations: 15.53 kB / 337.4 MB, free: 7.535 MB / 302.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.0001475/0.02365, allocations: 143.7 kB / 337.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.0237, allocations: 14.75 kB / 337.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007495/0.02445, allocations: 238.2 kB / 337.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.02446, allocations: 10.28 kB / 337.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.02447, allocations: 3.984 kB / 337.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.02447, allocations: 1.094 kB / 337.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.02586, allocations: 0.5184 MB / 338.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.02587, allocations: 1.125 kB / 338.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.02619, allocations: 53.05 kB / 338.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.02619, allocations: 2.125 kB / 338.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.02622, allocations: 7.156 kB / 338.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.02622, allocations: 2.875 kB / 338.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.02622, allocations: 1.438 kB / 338.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/0.02717, allocations: 411.6 kB / 338.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/0.02726, allocations: 35.14 kB / 338.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.0273, allocations: 11.47 kB / 338.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.02756, allocations: 14.23 kB / 338.8 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.02759, allocations: 11.08 kB / 338.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.02763, allocations: 14.2 kB / 338.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.602e-05/0.02772, allocations: 120.3 kB / 339 MB, free: 6.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02772, allocations: 0 / 339 MB, free: 6.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004121/0.02814, allocations: 62.88 kB / 339 MB, free: 6.328 MB / 302.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.0002262/0.02836, allocations: 123.3 kB / 339.2 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006708/0.02903, allocations: 208.4 kB / 339.4 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02904, allocations: 0 / 339.4 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.02932, allocations: 102.4 kB / 339.5 MB, free: 6.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.02975, allocations: 38.94 kB / 339.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.03085, allocations: 424.8 kB / 339.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.03096, allocations: 107.5 kB / 340 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.03119, allocations: 45.94 kB / 340.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.0313, allocations: 24.48 kB / 340.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.0313, allocations: 0 / 340.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of Templates: time 0.007013/0.03831, allocations: 2.692 MB / 342.8 MB, free: 2.824 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/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: 4.400158312171698]