Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 109.1 kB / 21.18 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002117/0.002117, allocations: 209.4 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.5 MB / 258.1 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 59.91 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2592, allocations: 53.4 MB / 432.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00777/0.267, allocations: 4.99 MB / 437.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.268, allocations: 0.6309 MB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.268, allocations: 0 / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.2683, allocations: 27.78 kB / 438.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.2701, allocations: 0.6112 MB / 438.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.2703, allocations: 103.5 kB / 438.8 MB, free: 408 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.2706, allocations: 183.2 kB / 439 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.2707, allocations: 0 / 439 MB, free: 224 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.2719, allocations: 0.6274 MB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-05/0.272, allocations: 51.83 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.272, allocations: 8 kB / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.2736, allocations: 0.9102 MB / 440.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.2737, allocations: 31.89 kB / 440.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.2737, allocations: 43.75 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.2742, allocations: 243 kB / 440.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2742, allocations: 4 kB / 440.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2742, allocations: 0 / 440.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.2742, allocations: 0 / 440.9 MB, free: 14.31 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.0005502/0.2747, allocations: 353.6 kB / 441.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2748, allocations: 12.03 kB / 441.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.2752, allocations: 36.86 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.2755, allocations: 134.4 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.2755, allocations: 8.375 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.2755, allocations: 11.94 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.2758, allocations: 143.8 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2758, allocations: 0 / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.2758, allocations: 0 / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2758, allocations: 4 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.276, allocations: 115.8 kB / 441.7 MB, free: 13.44 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.0007933/0.2768, allocations: 0.6246 MB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.277, allocations: 78.55 kB / 442.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.277, allocations: 32.84 kB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.2773, allocations: 63.94 kB / 442.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.2773, allocations: 34.5 kB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2773, allocations: 0 / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003042/0.2776, allocations: 137.8 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.2777, allocations: 55.34 kB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2778, allocations: 121.7 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.2778, allocations: 25.7 kB / 442.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.2779, allocations: 108 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.2779, allocations: 51.56 kB / 443 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.278, allocations: 41.66 kB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2781, allocations: 314.8 kB / 443.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.2782, allocations: 23.98 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.2783, allocations: 75.56 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.2784, allocations: 104.5 kB / 443.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2784, allocations: 4 kB / 443.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002167/0.2786, allocations: 137.6 kB / 443.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2786, allocations: 4 kB / 443.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2786, allocations: 4 kB / 443.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2787, allocations: 3.938 kB / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.2788, allocations: 35.92 kB / 443.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2788, allocations: 0 / 443.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.2789, allocations: 19.89 kB / 443.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.2789, allocations: 11.98 kB / 443.8 MB, free: 11.18 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.596e-05/0.279, allocations: 118 kB / 443.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.279, allocations: 15.89 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.2793, allocations: 146.3 kB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2793, allocations: 0 / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2793, allocations: 0 / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2793, allocations: 0 / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.2798, allocations: 365.4 kB / 444.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2798, allocations: 0 / 444.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.2799, allocations: 27.98 kB / 444.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2799, allocations: 4 kB / 444.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.2799, allocations: 0 / 444.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2799, allocations: 0 / 444.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2799, allocations: 0 / 444.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.2801, allocations: 215.3 kB / 444.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.2802, allocations: 15.94 kB / 444.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2802, allocations: 4 kB / 444.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2803, allocations: 11.98 kB / 444.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.2803, allocations: 7.984 kB / 444.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2803, allocations: 4 kB / 444.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.272e-05/0.2804, allocations: 95.2 kB / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2804, allocations: 0 / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.2808, allocations: 59.88 kB / 444.8 MB, free: 10.03 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.0002849/0.281, allocations: 163 kB / 445 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.2812, allocations: 83.33 kB / 445.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2812, allocations: 0 / 445.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/0.2813, allocations: 35.98 kB / 445.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.2817, allocations: 52.14 kB / 445.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.2822, allocations: 266 kB / 445.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.2826, allocations: 0.6967 MB / 446.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.2826, allocations: 23.42 kB / 446.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2826, allocations: 0 / 446.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of Templates: time 0.004534/0.2871, allocations: 2.219 MB / 448.3 MB, free: 6.449 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.256605149945244]