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.001807/0.001807, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.002178/0.002178, allocations: 158 kB / 24.48 MB, free: 3.465 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.437/1.437, allocations: 173.5 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] 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.001615/0.001615, allocations: 46.52 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08351/0.08512, allocations: 52.16 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007299/0.09242, allocations: 4.567 MB / 376.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009328/0.09335, allocations: 0.5764 MB / 376.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.09341, allocations: 0 / 376.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.09364, allocations: 31.78 kB / 376.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.09521, allocations: 0.6034 MB / 377.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.09548, allocations: 95.78 kB / 377.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.09573, allocations: 179.3 kB / 377.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.09577, allocations: 11.92 kB / 377.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.09689, allocations: 0.6313 MB / 378.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.09698, allocations: 47.77 kB / 378.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.097, allocations: 8 kB / 378.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.0985, allocations: 0.8774 MB / 379.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.09856, allocations: 35.83 kB / 379.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.163e-05/0.09863, allocations: 31.88 kB / 379.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.09904, allocations: 227.4 kB / 379.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.09904, allocations: 0 / 379.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09904, allocations: 0 / 379.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.09904, allocations: 0 / 379.5 MB, free: 15.42 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.0005217/0.09957, allocations: 361.6 kB / 379.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.0996, allocations: 8.922 kB / 379.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003975/0.1, allocations: 32.86 kB / 379.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1002, allocations: 138.3 kB / 380 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1003, allocations: 8.375 kB / 380 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1003, allocations: 11.94 kB / 380 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.1006, allocations: 217.4 kB / 380.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1006, allocations: 0 / 380.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.1006, allocations: 8 kB / 380.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1006, allocations: 0 / 380.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1008, allocations: 111.9 kB / 380.3 MB, free: 14.45 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.000683/0.1015, allocations: 0.5438 MB / 380.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1016, allocations: 86.48 kB / 381 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.1017, allocations: 32.84 kB / 381 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.102, allocations: 56.2 kB / 381.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.102, allocations: 34.56 kB / 381.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.102, allocations: 0 / 381.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002956/0.1023, allocations: 128.6 kB / 381.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1023, allocations: 63.34 kB / 381.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1024, allocations: 129.6 kB / 381.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1025, allocations: 25.7 kB / 381.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.1025, allocations: 111.9 kB / 381.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.1026, allocations: 43.64 kB / 381.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.1026, allocations: 33.72 kB / 381.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1028, allocations: 318.8 kB / 381.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.1028, allocations: 23.98 kB / 382 MB, free: 12.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.378e-05/0.1029, allocations: 65.14 kB / 382 MB, free: 12.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1031, allocations: 109.1 kB / 382.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1031, allocations: 0 / 382.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002309/0.1033, allocations: 145.2 kB / 382.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1033, allocations: 4 kB / 382.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1033, allocations: 0 / 382.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1033, allocations: 4 kB / 382.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1035, allocations: 36.08 kB / 382.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1035, allocations: 7.938 kB / 382.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1035, allocations: 15.89 kB / 382.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.1035, allocations: 11.98 kB / 382.3 MB, free: 12.3 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 0.0001007/0.1036, allocations: 121.8 kB / 382.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.1037, allocations: 7.953 kB / 382.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.104, allocations: 142.3 kB / 382.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.104, allocations: 3.938 kB / 382.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.104, allocations: 4 kB / 382.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.104, allocations: 0 / 382.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.1044, allocations: 330 kB / 382.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1044, allocations: 0 / 382.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.1045, allocations: 27.98 kB / 383 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1045, allocations: 3.938 kB / 383 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1045, allocations: 3.938 kB / 383 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1045, allocations: 4 kB / 383 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1045, allocations: 4 kB / 383 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1047, allocations: 199.5 kB / 383.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.1048, allocations: 31.81 kB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1048, allocations: 3.938 kB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.1049, allocations: 7.984 kB / 383.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.1049, allocations: 7.984 kB / 383.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1049, allocations: 8 kB / 383.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.105, allocations: 95.2 kB / 383.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.105, allocations: 0 / 383.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000333/0.1053, allocations: 55.94 kB / 383.4 MB, free: 11.19 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.0002468/0.1056, allocations: 159 kB / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1058, allocations: 79.89 kB / 383.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1058, allocations: 0 / 383.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.1058, allocations: 39.92 kB / 383.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1063, allocations: 40.27 kB / 383.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.1067, allocations: 239.2 kB / 383.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.383e-05/0.1068, allocations: 83.83 kB / 384 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.1069, allocations: 33.11 kB / 384 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.1069, allocations: 20.5 kB / 384.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1069, allocations: 0 / 384.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Templates: time 0.006082/0.113, allocations: 2.421 MB / 386.5 MB, free: 8.082 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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.349140833015554]