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.001567/0.001567, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002054/0.002054, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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.445/1.445, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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 1.282e-06/1.282e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.246e-05, allocations: 6.25 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007766/0.007789, allocations: 4.579 MB / 271.9 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009934/0.008782, allocations: 0.58 MB / 272.5 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.008824, allocations: 0 / 272.5 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.009055, allocations: 27.78 kB / 272.5 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.01066, allocations: 0.6146 MB / 273.1 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.01091, allocations: 91.8 kB / 273.2 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.01118, allocations: 187.1 kB / 273.4 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.087e-05/0.01121, allocations: 7.984 kB / 273.4 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.01257, allocations: 0.6548 MB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.01266, allocations: 43.89 kB / 274.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.01268, allocations: 4 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.01423, allocations: 0.8811 MB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.01429, allocations: 27.89 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.01435, allocations: 31.92 kB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.01481, allocations: 251.3 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.01482, allocations: 0 / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01482, allocations: 0 / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.01482, allocations: 0 / 275.3 MB, free: 14.73 MB / 266.7 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.0005369/0.01536, allocations: 345.6 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.01539, allocations: 12.91 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.01585, allocations: 64.64 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.0161, allocations: 137.6 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.01611, allocations: 4.375 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.01614, allocations: 12.38 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.01647, allocations: 222.4 kB / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.01648, allocations: 0 / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.01649, allocations: 4 kB / 276 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.0165, allocations: 0 / 276 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.01672, allocations: 111.9 kB / 276.2 MB, free: 13.74 MB / 266.7 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.0007798/0.0175, allocations: 0.5399 MB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.01766, allocations: 90.11 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.01774, allocations: 32.84 kB / 276.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/0.01803, allocations: 55.95 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.01807, allocations: 34.56 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.01807, allocations: 0 / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003419/0.01841, allocations: 133.9 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.01846, allocations: 59.28 kB / 277.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.01859, allocations: 125.7 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.01862, allocations: 29.7 kB / 277.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.01871, allocations: 99.84 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.01876, allocations: 55.58 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.01882, allocations: 33.7 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.01901, allocations: 326.8 kB / 277.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.01906, allocations: 23.98 kB / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.01916, allocations: 69.14 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.01933, allocations: 101.1 kB / 277.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.01934, allocations: 4 kB / 277.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002706/0.01961, allocations: 149.4 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01962, allocations: 6.969 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01963, allocations: 4 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.01964, allocations: 0 / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.01977, allocations: 31.98 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01978, allocations: 0 / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.01985, allocations: 16.05 kB / 278.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.01987, allocations: 15.94 kB / 278.2 MB, free: 11.58 MB / 266.7 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.0001145/0.01998, allocations: 121.8 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.02003, allocations: 15.94 kB / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.02035, allocations: 146 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.02036, allocations: 4 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.02036, allocations: 0 / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.02037, allocations: 3.984 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.02107, allocations: 334.1 kB / 278.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.02107, allocations: 0 / 278.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.02116, allocations: 23.94 kB / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.02117, allocations: 0 / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.02118, allocations: 7.984 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.02118, allocations: 0 / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.02119, allocations: 7.938 kB / 278.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.02144, allocations: 199.5 kB / 279 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.0215, allocations: 23.81 kB / 279 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.02152, allocations: 8 kB / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.02162, allocations: 0 / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.02165, allocations: 19.92 kB / 279.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.02167, allocations: 7.984 kB / 279.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.093e-05/0.02174, allocations: 91.22 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02174, allocations: 0 / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.02208, allocations: 63.86 kB / 279.2 MB, free: 10.46 MB / 266.7 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.0002878/0.02237, allocations: 159.1 kB / 279.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.02256, allocations: 75.91 kB / 279.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02256, allocations: 0 / 279.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.02263, allocations: 39.92 kB / 279.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.02309, allocations: 52.25 kB / 279.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.02353, allocations: 208.8 kB / 279.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.039e-05/0.02362, allocations: 79.83 kB / 279.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.02374, allocations: 33.11 kB / 279.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.0238, allocations: 20.48 kB / 279.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of SimCode: time 4.3e-07/0.0238, allocations: 4 kB / 279.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of Templates: time 0.006659/0.03046, allocations: 2.536 MB / 282.4 MB, free: 7.266 MB / 266.7 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.37169590301346]