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.000753/0.0007531, allocations: 91.16 kB / 16.65 MB, free: 6.586 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.0008534/0.0008535, allocations: 180.2 kB / 17.56 MB, free: 6.203 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.3/1.3, allocations: 223.3 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 12.08 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09158, allocations: 50.41 MB / 351.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005781/0.09741, allocations: 4.572 MB / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009479/0.0984, allocations: 0.6388 MB / 357 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.09848, allocations: 0 / 357 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.0987, allocations: 27.83 kB / 357.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.1001, allocations: 0.518 MB / 357.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1004, allocations: 87.25 kB / 357.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.1007, allocations: 219.2 kB / 357.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.1007, allocations: 4 kB / 357.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.1019, allocations: 0.6976 MB / 358.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.102, allocations: 55.77 kB / 358.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1021, allocations: 4 kB / 358.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.1035, allocations: 0.9515 MB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.1036, allocations: 15.98 kB / 359.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.1036, allocations: 77.42 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.1041, allocations: 235.5 kB / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1041, allocations: 0 / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1041, allocations: 0 / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1041, allocations: 4 kB / 359.9 MB, free: 11.58 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.0004526/0.1046, allocations: 399.2 kB / 360.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1046, allocations: 12.03 kB / 360.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.105, allocations: 36.75 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.1052, allocations: 192.2 kB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1052, allocations: 4.375 kB / 360.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1053, allocations: 15.94 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.1055, allocations: 135.8 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1055, allocations: 0 / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.1056, allocations: 4 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1056, allocations: 8 kB / 360.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1058, allocations: 111.8 kB / 360.8 MB, free: 10.58 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.0007124/0.1065, allocations: 0.6644 MB / 361.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1066, allocations: 82.55 kB / 361.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.1067, allocations: 36.84 kB / 361.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/0.1073, allocations: 0.8154 MB / 362.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1074, allocations: 30.56 kB / 362.4 MB, free: 8.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.737e-06/0.1074, allocations: 4 kB / 362.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002884/0.1077, allocations: 141.4 kB / 362.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.1077, allocations: 55.34 kB / 362.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.1078, allocations: 113.8 kB / 362.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.1078, allocations: 29.7 kB / 362.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.1079, allocations: 99.88 kB / 362.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1079, allocations: 47.3 kB / 362.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.108, allocations: 17.72 kB / 362.9 MB, free: 8.133 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1081, allocations: 322.8 kB / 363.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.414e-05/0.1082, allocations: 27.98 kB / 363.3 MB, free: 7.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.1082, allocations: 71.73 kB / 363.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.1084, allocations: 105.1 kB / 363.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1084, allocations: 0 / 363.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002125/0.1086, allocations: 137.4 kB / 363.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1086, allocations: 4 kB / 363.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1087, allocations: 4 kB / 363.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1087, allocations: 4.094 kB / 363.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1088, allocations: 43.92 kB / 363.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1088, allocations: 3.984 kB / 363.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.1089, allocations: 7.906 kB / 363.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1089, allocations: 15.94 kB / 363.7 MB, free: 7.352 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.084e-05/0.109, allocations: 121.8 kB / 363.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.1091, allocations: 7.906 kB / 363.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.1094, allocations: 150.3 kB / 363.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1094, allocations: 0 / 363.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1094, allocations: 0 / 363.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1094, allocations: 0 / 363.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.1098, allocations: 401.1 kB / 364.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1099, allocations: 0 / 364.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/0.1099, allocations: 16 kB / 364.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.11, allocations: 4 kB / 364.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.11, allocations: 11.98 kB / 364.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.11, allocations: 0 / 364.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.11, allocations: 3.938 kB / 364.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1102, allocations: 207.3 kB / 364.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1103, allocations: 96.94 kB / 364.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1103, allocations: 4 kB / 364.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.1104, allocations: 4 kB / 364.7 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1104, allocations: 11.98 kB / 364.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1105, allocations: 15.98 kB / 364.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.689e-05/0.1105, allocations: 87.28 kB / 364.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1105, allocations: 0 / 364.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.1109, allocations: 55.98 kB / 364.8 MB, free: 6.074 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.000306/0.1112, allocations: 167.1 kB / 365 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.1114, allocations: 88.02 kB / 365.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1114, allocations: 12.06 kB / 365.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.1114, allocations: 35.98 kB / 365.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.1119, allocations: 39.84 kB / 365.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.1124, allocations: 292.4 kB / 365.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1126, allocations: 0.6931 MB / 366.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.1128, allocations: 37.02 kB / 366.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.1129, allocations: 23.44 kB / 366.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1129, allocations: 0 / 366.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of Templates: time 0.005637/0.1185, allocations: 2.372 MB / 368.6 MB, free: 2.289 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/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