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.0009995/0.0009995, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009104/0.0009105, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.286/1.286, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002295/0.0002296, allocations: 7.219 kB / 300.7 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0817/0.08195, allocations: 50.43 MB / 351.1 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003687/0.08567, allocations: 3.695 MB / 354.8 MB, free: 8.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.08719, allocations: 1.516 MB / 356.3 MB, free: 6.516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.08726, allocations: 4 kB / 356.3 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.08746, allocations: 35.75 kB / 356.4 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.0877, allocations: 99.75 kB / 356.5 MB, free: 6.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.08823, allocations: 226.4 kB / 356.7 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.08847, allocations: 167.7 kB / 356.9 MB, free: 5.996 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.08853, allocations: 21.03 kB / 356.9 MB, free: 5.977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.08874, allocations: 115.7 kB / 357 MB, free: 5.863 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.757e-05/0.08885, allocations: 67.75 kB / 357.1 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.08888, allocations: 8 kB / 357.1 MB, free: 5.789 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.08909, allocations: 83.89 kB / 357.1 MB, free: 5.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.08917, allocations: 35.89 kB / 357.2 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.08922, allocations: 49.64 kB / 357.2 MB, free: 5.617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.08943, allocations: 147.9 kB / 357.4 MB, free: 5.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.08944, allocations: 0 / 357.4 MB, free: 5.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.08945, allocations: 0 / 357.4 MB, free: 5.473 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.08946, allocations: 0 / 357.4 MB, free: 5.473 MB / 286.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.0008438/0.09031, allocations: 455.2 kB / 357.8 MB, free: 4.977 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.09035, allocations: 15.97 kB / 357.8 MB, free: 4.961 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.09053, allocations: 19.81 kB / 357.9 MB, free: 4.941 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.09074, allocations: 198.9 kB / 358 MB, free: 4.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.09076, allocations: 12.28 kB / 358.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.0908, allocations: 20 kB / 358.1 MB, free: 4.676 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.09119, allocations: 216.6 kB / 358.3 MB, free: 4.441 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.09121, allocations: 0 / 358.3 MB, free: 4.441 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.09125, allocations: 11.95 kB / 358.3 MB, free: 4.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.09126, allocations: 4 kB / 358.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.09163, allocations: 151.8 kB / 358.5 MB, free: 4.277 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.09286, allocations: 0.9439 MB / 359.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.09326, allocations: 150.8 kB / 359.5 MB, free: 3.102 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/0.09378, allocations: 0.5035 MB / 360.1 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.09382, allocations: 34.56 kB / 360.1 MB, free: 2.492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.09383, allocations: 4 kB / 360.1 MB, free: 2.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002534/0.09637, allocations: 0.7653 MB / 360.9 MB, free: 1.672 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.09642, allocations: 51.41 kB / 360.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.09655, allocations: 156.4 kB / 361.1 MB, free: 1.449 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.09658, allocations: 29.7 kB / 361.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.09666, allocations: 139.8 kB / 361.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.09672, allocations: 67 kB / 361.3 MB, free: 1.207 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.09675, allocations: 4 kB / 361.3 MB, free: 1.203 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.09685, allocations: 338.7 kB / 361.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.0971, allocations: 83.94 kB / 361.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.0974, allocations: 181.9 kB / 361.9 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.09768, allocations: 110.9 kB / 362 MB, free: 460 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.09769, allocations: 0 / 362 MB, free: 460 kB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006778/0.09838, allocations: 325.3 kB / 362.3 MB, free: 132 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.0984, allocations: 8.031 kB / 362.3 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.09842, allocations: 8 kB / 362.3 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.09844, allocations: 7.938 kB / 362.3 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.09882, allocations: 79.89 kB / 362.4 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.09885, allocations: 11.98 kB / 362.4 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.09908, allocations: 15.98 kB / 362.4 MB, free: 0 / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.09914, allocations: 12.05 kB / 362.4 MB, free: 15.98 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.0001238/0.09927, allocations: 149.5 kB / 362.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.09932, allocations: 15.81 kB / 362.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.09997, allocations: 237.4 kB / 362.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.09999, allocations: 4 kB / 362.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1, allocations: 0 / 362.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1, allocations: 4 kB / 362.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.1013, allocations: 0.5952 MB / 363.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1013, allocations: 4 kB / 363.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.1016, allocations: 51.89 kB / 363.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1016, allocations: 4 kB / 363.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1017, allocations: 8 kB / 363.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1017, allocations: 3.984 kB / 363.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1017, allocations: 3.953 kB / 363.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008459/0.1025, allocations: 453.5 kB / 364 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.1026, allocations: 92.94 kB / 364.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.1026, allocations: 11.98 kB / 364.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.1029, allocations: 16.05 kB / 364.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.1029, allocations: 11.98 kB / 364.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.103, allocations: 8 kB / 364.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.103, allocations: 111.2 kB / 364.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.103, allocations: 3.938 kB / 364.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.1034, allocations: 60 kB / 364.3 MB, free: 14.01 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.0001799/0.1036, allocations: 135.1 kB / 364.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000578/0.1042, allocations: 213.5 kB / 364.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1042, allocations: 0 / 364.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.1045, allocations: 95.81 kB / 364.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1048, allocations: 36.94 kB / 364.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009766/0.1058, allocations: 0.5576 MB / 365.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.106, allocations: 0.7128 MB / 366 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.1063, allocations: 49.94 kB / 366.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.1064, allocations: 23.42 kB / 366.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1064, allocations: 0 / 366.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Templates: time 0.005261/0.1117, allocations: 2.478 MB / 368.6 MB, free: 9.668 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","../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches