Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 114 kB / 17.69 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 191 kB / 18.63 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 50.67 kB / 302 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.09059, allocations: 49.45 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006332/0.09696, allocations: 4.472 MB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.09885, allocations: 1.81 MB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.09894, allocations: 7.938 kB / 357.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.0992, allocations: 35.73 kB / 357.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.09958, allocations: 123.3 kB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.1002, allocations: 250.3 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.1005, allocations: 290.9 kB / 358.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.1006, allocations: 9.125 kB / 358.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.1008, allocations: 123.6 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.101, allocations: 79.67 kB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.101, allocations: 8 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.1013, allocations: 99.88 kB / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.1013, allocations: 47.88 kB / 358.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.1014, allocations: 79.64 kB / 358.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1017, allocations: 207.4 kB / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1017, allocations: 0 / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1018, allocations: 0 / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1018, allocations: 3.938 kB / 359.1 MB, free: 12.05 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.0008971/0.1027, allocations: 491.2 kB / 359.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1027, allocations: 12.03 kB / 359.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.1029, allocations: 24.83 kB / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.1032, allocations: 212 kB / 359.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1033, allocations: 12.66 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.1033, allocations: 12.38 kB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.1037, allocations: 225.6 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1037, allocations: 0 / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.1038, allocations: 8 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1038, allocations: 4 kB / 360.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.1041, allocations: 152.3 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.1055, allocations: 0.9362 MB / 361.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.1058, allocations: 152.7 kB / 361.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.106, allocations: 52.83 kB / 361.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005195/0.1065, allocations: 0.5148 MB / 361.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1066, allocations: 34.56 kB / 361.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.1066, allocations: 0 / 361.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0025/0.1091, allocations: 0.7704 MB / 362.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.1091, allocations: 51.41 kB / 362.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1093, allocations: 153.8 kB / 362.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1093, allocations: 29.7 kB / 362.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.1094, allocations: 143.8 kB / 363.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.13e-05/0.1095, allocations: 74.92 kB / 363.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.1096, allocations: 61.61 kB / 363.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1097, allocations: 330.8 kB / 363.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.11, allocations: 75.94 kB / 363.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.1103, allocations: 198 kB / 363.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.1108, allocations: 298.7 kB / 364.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1108, allocations: 0 / 364.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007204/0.1116, allocations: 319.7 kB / 364.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1116, allocations: 8 kB / 364.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1116, allocations: 12.03 kB / 364.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1116, allocations: 4 kB / 364.4 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.112, allocations: 83.88 kB / 364.5 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.112, allocations: 11.94 kB / 364.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.1122, allocations: 15.98 kB / 364.5 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.1123, allocations: 12 kB / 364.5 MB, free: 6.164 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.0002126/0.1125, allocations: 141.7 kB / 364.7 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.1126, allocations: 19.8 kB / 364.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006283/0.1132, allocations: 234.6 kB / 364.9 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1132, allocations: 4 kB / 364.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1132, allocations: 0 / 364.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1132, allocations: 3.984 kB / 364.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.1145, allocations: 0.6031 MB / 365.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1145, allocations: 0 / 365.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.1148, allocations: 47.95 kB / 365.6 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1148, allocations: 4 kB / 365.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.1149, allocations: 8 kB / 365.6 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.1149, allocations: 3.938 kB / 365.6 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1149, allocations: 7.938 kB / 365.6 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.1157, allocations: 406.1 kB / 366 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.1157, allocations: 92.95 kB / 366.1 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.1158, allocations: 7.938 kB / 366.1 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.116, allocations: 11.98 kB / 366.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.116, allocations: 19.92 kB / 366.1 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.1161, allocations: 7.984 kB / 366.1 MB, free: 4.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.164e-05/0.1162, allocations: 111.2 kB / 366.2 MB, free: 4.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1162, allocations: 4.062 kB / 366.2 MB, free: 4.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003884/0.1166, allocations: 67.94 kB / 366.3 MB, free: 4.254 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.0002201/0.1168, allocations: 115.2 kB / 366.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005791/0.1174, allocations: 234.7 kB / 366.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.1174, allocations: 0 / 366.7 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.1176, allocations: 90.2 kB / 366.7 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.118, allocations: 43.89 kB / 366.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1191, allocations: 475.6 kB / 367.3 MB, free: 3.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1194, allocations: 0.7128 MB / 368 MB, free: 2.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.1196, allocations: 45.94 kB / 368 MB, free: 2.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.1197, allocations: 27.42 kB / 368 MB, free: 2.453 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1197, allocations: 0 / 368 MB, free: 2.453 MB / 302.1 MB Notification: Performance of Templates: time 0.1379/0.2576, allocations: 2.671 MB / 370.7 MB, free: 26.45 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches