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.001013/0.001013, allocations: 113.7 kB / 16.63 MB, free: 6.34 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.000933/0.000933, allocations: 188 kB / 17.55 MB, free: 5.801 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.273/1.273, allocations: 222.9 MB / 241.2 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009555/0.0009555, allocations: 47.48 kB / 300.1 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08669, allocations: 49.45 MB / 349.6 MB, free: 4.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00557/0.09231, allocations: 4.498 MB / 354.1 MB, free: 16 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.09425, allocations: 1.814 MB / 355.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.09433, allocations: 0 / 355.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.09458, allocations: 27.81 kB / 355.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.09499, allocations: 115.3 kB / 356 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.09561, allocations: 242.2 kB / 356.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.09595, allocations: 286.9 kB / 356.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.096, allocations: 13.11 kB / 356.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.09625, allocations: 131.6 kB / 356.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.09639, allocations: 87.61 kB / 356.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.09642, allocations: 8 kB / 356.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.09665, allocations: 95.92 kB / 356.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.09673, allocations: 39.84 kB / 356.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.09683, allocations: 79.64 kB / 357 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.09713, allocations: 199.8 kB / 357.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.09715, allocations: 3.938 kB / 357.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09715, allocations: 4 kB / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.09717, allocations: 4 kB / 357.2 MB, free: 12.89 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.001057/0.09823, allocations: 491.2 kB / 357.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.09828, allocations: 8.031 kB / 357.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.09848, allocations: 28.83 kB / 357.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.09869, allocations: 212 kB / 357.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.09872, allocations: 12.66 kB / 357.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.09876, allocations: 16.38 kB / 357.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.09917, allocations: 213.6 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.0992, allocations: 4 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.09923, allocations: 4 kB / 358.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.09924, allocations: 8 kB / 358.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.0996, allocations: 147.8 kB / 358.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1009, allocations: 0.9401 MB / 359.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.1013, allocations: 154.7 kB / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.1014, allocations: 56.83 kB / 359.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/0.1019, allocations: 0.4954 MB / 359.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.102, allocations: 38.56 kB / 360 MB, free: 9.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.102, allocations: 4 kB / 360 MB, free: 9.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.00251/0.1045, allocations: 0.762 MB / 360.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1046, allocations: 55.41 kB / 360.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1047, allocations: 153.5 kB / 360.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1047, allocations: 37.7 kB / 361 MB, free: 8.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.1048, allocations: 139.8 kB / 361.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.1049, allocations: 74.92 kB / 361.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.105, allocations: 61.59 kB / 361.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1051, allocations: 326.8 kB / 361.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.1053, allocations: 83.88 kB / 361.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.1056, allocations: 198 kB / 361.8 MB, free: 7.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.1062, allocations: 298.9 kB / 362.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1062, allocations: 4 kB / 362.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006703/0.1069, allocations: 314.9 kB / 362.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1069, allocations: 4 kB / 362.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1069, allocations: 4 kB / 362.5 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1069, allocations: 8 kB / 362.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.1073, allocations: 84.17 kB / 362.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.1073, allocations: 8 kB / 362.6 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.1076, allocations: 15.98 kB / 362.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.1076, allocations: 12 kB / 362.6 MB, free: 7.016 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.0001153/0.1077, allocations: 141.7 kB / 362.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.1078, allocations: 15.81 kB / 362.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006502/0.1085, allocations: 250.5 kB / 363 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1085, allocations: 4 kB / 363 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1085, allocations: 0 / 363 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1085, allocations: 0 / 363 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1098, allocations: 0.5946 MB / 363.6 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1098, allocations: 0 / 363.6 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.1101, allocations: 56.02 kB / 363.6 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1101, allocations: 4 kB / 363.6 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1101, allocations: 8 kB / 363.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1101, allocations: 7.922 kB / 363.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1101, allocations: 0 / 363.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.1109, allocations: 410.5 kB / 364.1 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.111, allocations: 88.95 kB / 364.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.111, allocations: 15.92 kB / 364.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.1113, allocations: 12.06 kB / 364.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.1113, allocations: 19.97 kB / 364.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.1114, allocations: 4 kB / 364.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.869e-05/0.1114, allocations: 114.4 kB / 364.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1115, allocations: 3.938 kB / 364.3 MB, free: 5.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003724/0.1118, allocations: 64 kB / 364.4 MB, free: 5.102 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.0002274/0.1121, allocations: 135.1 kB / 364.5 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006137/0.1127, allocations: 232 kB / 364.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1127, allocations: 0 / 364.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.1129, allocations: 95.81 kB / 364.8 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1133, allocations: 44.66 kB / 364.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.1144, allocations: 0.5074 MB / 365.4 MB, free: 4.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1147, allocations: 0.7207 MB / 366.1 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002766/0.115, allocations: 41.94 kB / 366.1 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.1151, allocations: 27.42 kB / 366.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1151, allocations: 0 / 366.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of Templates: time 0.005621/0.1207, allocations: 2.671 MB / 368.8 MB, free: 0.582 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