Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.0008471, allocations: 91.75 kB / 17.31 MB, free: 5.59 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.0008985/0.0008985, allocations: 182.4 kB / 18.21 MB, free: 5.191 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.282/1.282, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002779, allocations: 9.188 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09036/0.09065, allocations: 50.41 MB / 352.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005819/0.0965, allocations: 4.568 MB / 357.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008888/0.09742, allocations: 0.6388 MB / 357.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.0975, allocations: 3.938 kB / 357.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.09773, allocations: 27.83 kB / 357.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.09916, allocations: 0.518 MB / 358.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.09948, allocations: 91 kB / 358.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.09983, allocations: 215.2 kB / 358.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.09989, allocations: 4 kB / 358.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.1011, allocations: 0.6975 MB / 359.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1012, allocations: 59.77 kB / 359.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1012, allocations: 4 kB / 359.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.1026, allocations: 0.9476 MB / 360.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.1027, allocations: 27.91 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.1028, allocations: 65.56 kB / 360.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.1031, allocations: 171.6 kB / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1031, allocations: 0 / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1031, allocations: 0 / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1031, allocations: 0 / 360.5 MB, free: 11.64 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004762/0.1036, allocations: 403.2 kB / 360.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1037, allocations: 8.031 kB / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/0.1041, allocations: 32.81 kB / 360.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1043, allocations: 196.2 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1043, allocations: 12.31 kB / 361.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1043, allocations: 11.94 kB / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.1046, allocations: 135.9 kB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1046, allocations: 0 / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.1046, allocations: 8 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1046, allocations: 0 / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.1048, allocations: 115.9 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.1055, allocations: 0.6605 MB / 362.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1057, allocations: 90.42 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.1057, allocations: 40.84 kB / 362.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.1064, allocations: 0.804 MB / 363 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1064, allocations: 38.5 kB / 363 MB, free: 8.727 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1064, allocations: 0 / 363 MB, free: 8.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002832/0.1067, allocations: 121.7 kB / 363.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.1068, allocations: 63.34 kB / 363.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.1069, allocations: 117.8 kB / 363.3 MB, free: 8.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1069, allocations: 33.7 kB / 363.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.107, allocations: 95.89 kB / 363.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.107, allocations: 51.28 kB / 363.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.107, allocations: 21.7 kB / 363.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1071, allocations: 318.8 kB / 363.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.1072, allocations: 23.98 kB / 363.9 MB, free: 7.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.1073, allocations: 69.12 kB / 363.9 MB, free: 7.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1074, allocations: 112.6 kB / 364 MB, free: 7.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1074, allocations: 0 / 364 MB, free: 7.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002044/0.1077, allocations: 133.5 kB / 364.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1077, allocations: 10.97 kB / 364.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1077, allocations: 0 / 364.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.1077, allocations: 11.92 kB / 364.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1078, allocations: 35.92 kB / 364.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1079, allocations: 4 kB / 364.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.1079, allocations: 11.89 kB / 364.2 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.108, allocations: 8 kB / 364.3 MB, free: 7.418 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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 9.509e-05/0.1081, allocations: 133.9 kB / 364.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.1081, allocations: 11.84 kB / 364.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.1084, allocations: 142.4 kB / 364.5 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1084, allocations: 4 kB / 364.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1084, allocations: 0 / 364.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1084, allocations: 0 / 364.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.1088, allocations: 390.3 kB / 364.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1089, allocations: 0 / 364.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.1089, allocations: 23.98 kB / 364.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.109, allocations: 0 / 364.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.109, allocations: 0 / 364.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.109, allocations: 7.938 kB / 365 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.109, allocations: 0 / 365 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.1092, allocations: 207.4 kB / 365.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.1093, allocations: 104.9 kB / 365.3 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1093, allocations: 0 / 365.3 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.1094, allocations: 7.938 kB / 365.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.1094, allocations: 7.984 kB / 365.3 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1094, allocations: 8 kB / 365.3 MB, free: 6.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.693e-05/0.1095, allocations: 91.27 kB / 365.4 MB, free: 6.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1095, allocations: 0 / 365.4 MB, free: 6.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.1098, allocations: 56 kB / 365.4 MB, free: 6.141 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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.0003045/0.1101, allocations: 183 kB / 365.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1103, allocations: 83.53 kB / 365.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1103, allocations: 0 / 365.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.1104, allocations: 39.92 kB / 365.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.1108, allocations: 52.14 kB / 365.8 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.1113, allocations: 314.5 kB / 366.1 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1115, allocations: 0.6931 MB / 366.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.1116, allocations: 23.44 kB / 366.8 MB, free: 4.695 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1116, allocations: 0 / 366.8 MB, free: 4.695 MB / 302.1 MB Notification: Performance of Templates: time 0.004007/0.1156, allocations: 2.171 MB / 369 MB, free: 2.531 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches