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.00103/0.00103, allocations: 93.23 kB / 16.31 MB, free: 5.57 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.001237/0.001237, allocations: 177.6 kB / 17.2 MB, free: 5.492 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.368/1.368, allocations: 223.2 MB / 241.2 MB, free: 352 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002654, allocations: 8 kB / 300.8 MB, free: 6.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.0913, allocations: 50.42 MB / 351.2 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004272/0.0956, allocations: 3.962 MB / 355.2 MB, free: 60 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.09768, allocations: 1.679 MB / 356.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.09783, allocations: 8 kB / 356.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.09808, allocations: 35.8 kB / 356.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.09841, allocations: 107.3 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.099, allocations: 210.6 kB / 357.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.09936, allocations: 318.8 kB / 357.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.09941, allocations: 5.125 kB / 357.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.09966, allocations: 119.6 kB / 357.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.0998, allocations: 91.66 kB / 357.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.09984, allocations: 4 kB / 357.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.1001, allocations: 75.95 kB / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.1001, allocations: 31.89 kB / 357.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.1002, allocations: 53.64 kB / 357.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1004, allocations: 147.9 kB / 358.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1004, allocations: 0 / 358.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1004, allocations: 4 kB / 358.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1004, allocations: 0 / 358.1 MB, free: 13.18 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.0008279/0.1013, allocations: 455.2 kB / 358.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1013, allocations: 8.031 kB / 358.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.1015, allocations: 27.8 kB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1017, allocations: 202.8 kB / 358.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1018, allocations: 12.28 kB / 358.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1018, allocations: 16 kB / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.1022, allocations: 213.5 kB / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1022, allocations: 3.906 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.1023, allocations: 15.95 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1023, allocations: 4 kB / 359 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.1026, allocations: 151.8 kB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.1038, allocations: 0.9363 MB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.1042, allocations: 146.8 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1044, allocations: 60.16 kB / 360.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004998/0.1049, allocations: 0.5071 MB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.1049, allocations: 34.5 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1049, allocations: 0 / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002335/0.1073, allocations: 0.7587 MB / 361.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.1073, allocations: 59.39 kB / 361.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1074, allocations: 150.8 kB / 361.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1075, allocations: 25.7 kB / 361.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.1076, allocations: 151.7 kB / 362 MB, free: 8.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.1076, allocations: 75.03 kB / 362 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.1076, allocations: 8 kB / 362 MB, free: 8.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1077, allocations: 326.8 kB / 362.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.108, allocations: 79.94 kB / 362.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.1083, allocations: 197.8 kB / 362.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.1085, allocations: 100.8 kB / 362.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1086, allocations: 0 / 362.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000643/0.1092, allocations: 324.4 kB / 363 MB, free: 7.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1092, allocations: 6.344 kB / 363 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1092, allocations: 4 kB / 363.1 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1093, allocations: 8 kB / 363.1 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.1096, allocations: 79.89 kB / 363.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.1097, allocations: 11.92 kB / 363.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.1099, allocations: 19.98 kB / 363.2 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.1099, allocations: 20.06 kB / 363.2 MB, free: 7.641 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.11, allocations: 133.7 kB / 363.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.1101, allocations: 19.75 kB / 363.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006113/0.1107, allocations: 241 kB / 363.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1107, allocations: 0 / 363.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1107, allocations: 8 kB / 363.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1108, allocations: 0 / 363.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.1119, allocations: 0.5991 MB / 364.2 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.112, allocations: 4 kB / 364.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.1122, allocations: 47.91 kB / 364.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1123, allocations: 0 / 364.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.1123, allocations: 11.98 kB / 364.2 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.1123, allocations: 7.953 kB / 364.3 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1123, allocations: 4.125 kB / 364.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007581/0.1131, allocations: 402.6 kB / 364.6 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.1131, allocations: 92.86 kB / 364.7 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.1132, allocations: 8 kB / 364.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.1134, allocations: 15.92 kB / 364.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.1135, allocations: 20 kB / 364.8 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.1135, allocations: 15.98 kB / 364.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.928e-05/0.1136, allocations: 105 kB / 364.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1136, allocations: 0 / 364.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.114, allocations: 67.98 kB / 365 MB, free: 5.734 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001986/0.1142, allocations: 127.2 kB / 365.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006539/0.1148, allocations: 211.6 kB / 365.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1149, allocations: 0 / 365.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.1151, allocations: 99.81 kB / 365.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.1156, allocations: 31.98 kB / 365.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1166, allocations: 0.5607 MB / 366 MB, free: 4.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1169, allocations: 0.7168 MB / 366.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002766/0.1172, allocations: 37.95 kB / 366.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1173, allocations: 23.42 kB / 366.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1173, allocations: 8 kB / 366.8 MB, free: 3.859 MB / 302.1 MB Notification: Performance of Templates: time 0.006316/0.1236, allocations: 2.484 MB / 369.3 MB, free: 1.387 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/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