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.0009693/0.0009695, allocations: 92.94 kB / 17.31 MB, free: 6.535 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.0008642/0.0008643, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.354/1.354, allocations: 223.3 MB / 242.2 MB, free: 14.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 7.938 kB / 302.1 MB, free: 5.941 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1052, allocations: 50.41 MB / 352.5 MB, free: 3.512 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005472/0.1107, allocations: 4.123 MB / 356.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.1134, allocations: 1.791 MB / 358.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1135, allocations: 4 kB / 358.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1138, allocations: 31.81 kB / 358.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.1143, allocations: 119.2 kB / 358.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.1151, allocations: 238 kB / 358.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.1156, allocations: 366.8 kB / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.108e-05/0.1157, allocations: 5.125 kB / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.1161, allocations: 123.6 kB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.1163, allocations: 87.66 kB / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.1163, allocations: 4 kB / 359.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.1166, allocations: 99.88 kB / 359.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.1167, allocations: 35.88 kB / 359.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.1169, allocations: 101.4 kB / 359.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.1172, allocations: 147.9 kB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.1172, allocations: 0 / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1172, allocations: 0 / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1172, allocations: 0 / 359.7 MB, free: 12.22 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.001009/0.1182, allocations: 455.4 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1183, allocations: 12.03 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.1185, allocations: 24.73 kB / 360.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1188, allocations: 208.1 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1188, allocations: 16.66 kB / 360.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.1188, allocations: 12.38 kB / 360.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.1193, allocations: 217.6 kB / 360.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1193, allocations: 7.938 kB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.1194, allocations: 4 kB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1194, allocations: 8 kB / 360.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.1198, allocations: 155.8 kB / 360.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.1212, allocations: 0.9363 MB / 361.8 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.1216, allocations: 154.7 kB / 361.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1218, allocations: 60.77 kB / 362 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/0.1224, allocations: 0.507 MB / 362.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1224, allocations: 30.56 kB / 362.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1224, allocations: 0 / 362.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002678/0.1251, allocations: 0.7658 MB / 363.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1251, allocations: 51.41 kB / 363.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1253, allocations: 157.4 kB / 363.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.1253, allocations: 33.64 kB / 363.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.1255, allocations: 147.8 kB / 363.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/0.1255, allocations: 74.94 kB / 363.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.1256, allocations: 29.7 kB / 363.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1257, allocations: 322.8 kB / 364.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.126, allocations: 83.94 kB / 364.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.1263, allocations: 194 kB / 364.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.127, allocations: 297.4 kB / 364.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.127, allocations: 0 / 364.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007405/0.1278, allocations: 314.6 kB / 364.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1278, allocations: 8 kB / 364.9 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1278, allocations: 4 kB / 364.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1278, allocations: 4 kB / 365 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.1282, allocations: 79.89 kB / 365 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.1282, allocations: 11.92 kB / 365 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.1285, allocations: 28.17 kB / 365.1 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.1285, allocations: 12 kB / 365.1 MB, free: 6.395 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.0001347/0.1287, allocations: 133.7 kB / 365.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.1287, allocations: 11.91 kB / 365.2 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007041/0.1295, allocations: 254.5 kB / 365.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1295, allocations: 7.938 kB / 365.5 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1295, allocations: 0 / 365.5 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1295, allocations: 4 kB / 365.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.131, allocations: 0.5905 MB / 366.1 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.131, allocations: 4 kB / 366.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.1313, allocations: 43.97 kB / 366.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.1313, allocations: 12.05 kB / 366.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.1314, allocations: 11.98 kB / 366.1 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.1314, allocations: 7.938 kB / 366.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1314, allocations: 0 / 366.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008863/0.1323, allocations: 408.8 kB / 366.6 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.1323, allocations: 88.95 kB / 366.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.1324, allocations: 11.88 kB / 366.7 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.1326, allocations: 20.05 kB / 366.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1327, allocations: 11.98 kB / 366.7 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.1327, allocations: 11.98 kB / 366.7 MB, free: 4.656 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.032e-05/0.1328, allocations: 107.3 kB / 366.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1328, allocations: 0 / 366.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000389/0.1332, allocations: 60 kB / 366.9 MB, free: 4.492 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.0003187/0.1335, allocations: 139.1 kB / 367 MB, free: 4.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006282/0.1342, allocations: 222 kB / 367.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1342, allocations: 0 / 367.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.1344, allocations: 95.81 kB / 367.3 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1349, allocations: 36.59 kB / 367.3 MB, free: 4.008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.1362, allocations: 0.6021 MB / 367.9 MB, free: 3.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.1366, allocations: 0.7168 MB / 368.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1367, allocations: 31.42 kB / 368.7 MB, free: 2.586 MB / 302.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1368, allocations: 0 / 368.7 MB, free: 2.586 MB / 302.1 MB Notification: Performance of Templates: time 0.1704/0.3071, allocations: 2.614 MB / 371.3 MB, free: 24.62 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 -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