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.001314/0.001315, allocations: 101.9 kB / 17.59 MB, free: 5.441 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.001313/0.001314, allocations: 187.3 kB / 18.51 MB, free: 4.531 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.388/1.388, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 46.52 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09458, allocations: 49.46 MB / 350.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006534/0.1012, allocations: 4.452 MB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1033, allocations: 1.81 MB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1034, allocations: 7.875 kB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.1037, allocations: 43.73 kB / 357 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.1042, allocations: 115.2 kB / 357.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006869/0.1049, allocations: 253.8 kB / 357.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.1053, allocations: 286.9 kB / 357.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.1053, allocations: 17.11 kB / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.1057, allocations: 127.7 kB / 357.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1058, allocations: 83.55 kB / 357.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.1058, allocations: 12 kB / 357.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.1062, allocations: 99.88 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.57e-05/0.1062, allocations: 35.88 kB / 358.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.1064, allocations: 75.67 kB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.1067, allocations: 207.8 kB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1067, allocations: 0 / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1067, allocations: 0 / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1067, allocations: 7.984 kB / 358.3 MB, free: 12.79 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.0009821/0.1077, allocations: 489.8 kB / 358.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1078, allocations: 12.03 kB / 358.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.108, allocations: 16.84 kB / 358.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.1082, allocations: 212.1 kB / 359 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1083, allocations: 16.59 kB / 359.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1083, allocations: 12.38 kB / 359.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.1087, allocations: 225.6 kB / 359.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1087, allocations: 0 / 359.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.1088, allocations: 12 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1088, allocations: 4 kB / 359.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.1092, allocations: 151.8 kB / 359.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.1105, allocations: 0.944 MB / 360.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.1109, allocations: 150.8 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1111, allocations: 52.83 kB / 360.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005527/0.1116, allocations: 0.5071 MB / 361.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1117, allocations: 42.5 kB / 361.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1117, allocations: 0 / 361.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002621/0.1143, allocations: 0.7625 MB / 361.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.1144, allocations: 55.41 kB / 362 MB, free: 8.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1145, allocations: 153.2 kB / 362.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.1146, allocations: 33.7 kB / 362.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.1147, allocations: 143.8 kB / 362.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.1147, allocations: 66.95 kB / 362.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/0.1148, allocations: 65.59 kB / 362.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.115, allocations: 326.8 kB / 362.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.1152, allocations: 79.94 kB / 362.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.1155, allocations: 197.9 kB / 363 MB, free: 7.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.1161, allocations: 302.7 kB / 363.3 MB, free: 7.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1162, allocations: 0 / 363.3 MB, free: 7.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007196/0.1169, allocations: 319.3 kB / 363.6 MB, free: 7.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1169, allocations: 8 kB / 363.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1169, allocations: 4 kB / 363.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1169, allocations: 4 kB / 363.6 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.1173, allocations: 88.27 kB / 363.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.1174, allocations: 11.98 kB / 363.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.1176, allocations: 12 kB / 363.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.1177, allocations: 19.92 kB / 363.8 MB, free: 6.895 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.0001239/0.1178, allocations: 133.7 kB / 363.9 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.1178, allocations: 15.81 kB / 363.9 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000674/0.1185, allocations: 238.7 kB / 364.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1185, allocations: 4 kB / 364.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1186, allocations: 0 / 364.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.1186, allocations: 0 / 364.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.1199, allocations: 0.6068 MB / 364.8 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1199, allocations: 0 / 364.8 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.1202, allocations: 56.09 kB / 364.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1202, allocations: 0 / 364.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.1203, allocations: 11.97 kB / 364.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1203, allocations: 3.938 kB / 364.8 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1203, allocations: 7.938 kB / 364.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.1211, allocations: 402.1 kB / 365.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.1212, allocations: 92.91 kB / 365.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.1213, allocations: 12 kB / 365.3 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1215, allocations: 15.98 kB / 365.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.1216, allocations: 19.92 kB / 365.4 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.1216, allocations: 11.98 kB / 365.4 MB, free: 5.156 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.595e-05/0.1217, allocations: 107.3 kB / 365.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.1217, allocations: 0 / 365.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.1221, allocations: 67.88 kB / 365.5 MB, free: 4.984 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.0002903/0.1224, allocations: 131.1 kB / 365.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006404/0.123, allocations: 231.2 kB / 365.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1231, allocations: 0 / 365.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.1233, allocations: 99.47 kB / 366 MB, free: 4.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.1238, allocations: 36.66 kB / 366 MB, free: 4.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1249, allocations: 0.4896 MB / 366.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1252, allocations: 0.7129 MB / 367.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.1253, allocations: 31.41 kB / 367.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1253, allocations: 0 / 367.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of Templates: time 0.004916/0.1302, allocations: 2.631 MB / 369.9 MB, free: 0.5508 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