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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 119.5 kB / 18.41 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 192.3 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 55.91 kB / 358.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09389, allocations: 49.43 MB / 408.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006936/0.1009, allocations: 4.858 MB / 412.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.1018, allocations: 0.6075 MB / 413.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.1018, allocations: 4 kB / 413.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1021, allocations: 27.84 kB / 413.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.1034, allocations: 0.5839 MB / 414.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1036, allocations: 87.36 kB / 414.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.1039, allocations: 187.2 kB / 414.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.1039, allocations: 4 kB / 414.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.105, allocations: 0.6157 MB / 415.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.1051, allocations: 47.84 kB / 415.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1051, allocations: 7.938 kB / 415.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.1065, allocations: 0.8463 MB / 416 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.1065, allocations: 27.84 kB / 416 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.1066, allocations: 43.8 kB / 416 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.1071, allocations: 231.4 kB / 416.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1071, allocations: 7.938 kB / 416.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1071, allocations: 0 / 416.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1071, allocations: 0 / 416.3 MB, free: 14.7 MB / 350.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.0005281/0.1076, allocations: 430.7 kB / 416.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1077, allocations: 12.03 kB / 416.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/0.1081, allocations: 32.86 kB / 416.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1083, allocations: 204.2 kB / 416.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1083, allocations: 4.375 kB / 416.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.1084, allocations: 15.94 kB / 416.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.1086, allocations: 134.3 kB / 417.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1087, allocations: 3.938 kB / 417.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1087, allocations: 0 / 417.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1087, allocations: 4 kB / 417.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.1089, allocations: 111.8 kB / 417.2 MB, free: 13.66 MB / 350.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.0007577/0.1096, allocations: 0.6567 MB / 417.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1098, allocations: 82.55 kB / 417.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.1099, allocations: 44.78 kB / 418 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/0.1106, allocations: 0.8076 MB / 418.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1106, allocations: 34.56 kB / 418.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1106, allocations: 0 / 418.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002956/0.1109, allocations: 125.9 kB / 418.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.111, allocations: 63.33 kB / 419 MB, free: 11.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1111, allocations: 117.8 kB / 419.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1111, allocations: 25.7 kB / 419.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.1112, allocations: 100 kB / 419.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.1112, allocations: 51.52 kB / 419.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.1113, allocations: 41.64 kB / 419.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1114, allocations: 322.8 kB / 419.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.1115, allocations: 23.98 kB / 419.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.433e-05/0.1116, allocations: 65.67 kB / 419.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1117, allocations: 105.1 kB / 419.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1118, allocations: 0 / 419.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002265/0.112, allocations: 152.1 kB / 420 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.112, allocations: 7.938 kB / 420 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.112, allocations: 0 / 420 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.112, allocations: 11.92 kB / 420 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1122, allocations: 31.92 kB / 420 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1122, allocations: 4 kB / 420 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.1122, allocations: 15.89 kB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1123, allocations: 4 kB / 420.1 MB, free: 10.43 MB / 350.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.681e-05/0.1124, allocations: 130.4 kB / 420.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.1124, allocations: 12.02 kB / 420.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.1127, allocations: 130 kB / 420.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1127, allocations: 7.984 kB / 420.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1127, allocations: 0 / 420.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1127, allocations: 0 / 420.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.1132, allocations: 398.3 kB / 420.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1132, allocations: 0 / 420.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.1133, allocations: 28 kB / 420.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1133, allocations: 0 / 420.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1133, allocations: 7.984 kB / 420.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1133, allocations: 0 / 420.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1133, allocations: 0 / 420.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1136, allocations: 211.2 kB / 421 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.1136, allocations: 97.05 kB / 421.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1137, allocations: 0 / 421.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.1138, allocations: 8 kB / 421.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.1138, allocations: 11.98 kB / 421.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1138, allocations: 8 kB / 421.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.582e-05/0.1139, allocations: 95.2 kB / 421.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1139, allocations: 0 / 421.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.1142, allocations: 63.86 kB / 421.2 MB, free: 9.137 MB / 350.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.0002499/0.1145, allocations: 159.5 kB / 421.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1147, allocations: 84.19 kB / 421.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1147, allocations: 0 / 421.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.1147, allocations: 39.92 kB / 421.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.1152, allocations: 54.27 kB / 421.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.1156, allocations: 273 kB / 421.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.116, allocations: 0.6967 MB / 422.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.116, allocations: 19.44 kB / 422.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.116, allocations: 0 / 422.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of Templates: time 0.004094/0.1201, allocations: 2.133 MB / 424.7 MB, free: 5.633 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.035552573972382]