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.001271/0.001271, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001339/0.001339, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.444/1.444, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.001831/0.001831, allocations: 63.91 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09917, allocations: 53.31 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1786/0.2778, allocations: 4.934 MB / 432.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.2785, allocations: 0.6168 MB / 433.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.2785, allocations: 7.312 kB / 433.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.2787, allocations: 31.06 kB / 433.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.28, allocations: 0.5905 MB / 434 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.2802, allocations: 92.27 kB / 434.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.2804, allocations: 175.2 kB / 434.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.2804, allocations: 6.75 kB / 434.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009036/0.2813, allocations: 0.6158 MB / 434.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.2814, allocations: 50.78 kB / 434.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2814, allocations: 8.125 kB / 434.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.2827, allocations: 0.8862 MB / 435.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.2828, allocations: 27.78 kB / 435.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.2828, allocations: 44.09 kB / 435.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.2832, allocations: 242.4 kB / 436.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2832, allocations: 3 kB / 436.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2832, allocations: 0 / 436.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.2832, allocations: 0.75 kB / 436.1 MB, free: 8.473 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.0004175/0.2837, allocations: 427.3 kB / 436.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.2837, allocations: 9.656 kB / 436.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/0.2841, allocations: 34.34 kB / 436.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.2843, allocations: 198.9 kB / 436.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2843, allocations: 10.59 kB / 436.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.2843, allocations: 8.25 kB / 436.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.2845, allocations: 142.1 kB / 436.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2845, allocations: 4.938 kB / 436.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.2846, allocations: 8.391 kB / 437 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2846, allocations: 2.219 kB / 437 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.2847, allocations: 111.9 kB / 437.1 MB, free: 7.785 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.0005451/0.2853, allocations: 0.6566 MB / 437.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.2854, allocations: 79.62 kB / 437.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.2855, allocations: 34.12 kB / 437.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003752/0.2858, allocations: 0.8091 MB / 438.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2859, allocations: 32.56 kB / 438.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2859, allocations: 1.094 kB / 438.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002725/0.2861, allocations: 127 kB / 438.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.2862, allocations: 52.59 kB / 438.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.2862, allocations: 123.7 kB / 439 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2862, allocations: 30.55 kB / 439 MB, free: 5.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.2863, allocations: 109.1 kB / 439.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.2863, allocations: 48.8 kB / 439.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.2863, allocations: 36.73 kB / 439.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4e-05/0.2864, allocations: 320.8 kB / 439.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.2864, allocations: 26.39 kB / 439.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.2865, allocations: 66.12 kB / 439.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.2866, allocations: 104.6 kB / 439.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2866, allocations: 1.656 kB / 439.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001921/0.2868, allocations: 137.7 kB / 439.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2868, allocations: 5.531 kB / 439.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2868, allocations: 1.797 kB / 439.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2868, allocations: 2.156 kB / 439.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.287, allocations: 36.7 kB / 439.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.287, allocations: 6.656 kB / 439.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.752e-05/0.287, allocations: 13.84 kB / 439.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.2871, allocations: 10.31 kB / 439.9 MB, free: 5.32 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 5.845e-05/0.2871, allocations: 127.2 kB / 440 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.2872, allocations: 10.7 kB / 440 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.2874, allocations: 143 kB / 440.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.2874, allocations: 5.875 kB / 440.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2874, allocations: 1.641 kB / 440.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2874, allocations: 4.547 kB / 440.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.2878, allocations: 392.2 kB / 440.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2878, allocations: 4.75 kB / 440.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-05/0.2879, allocations: 24.88 kB / 440.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2879, allocations: 1.312 kB / 440.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.2879, allocations: 5.562 kB / 440.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2879, allocations: 1.156 kB / 440.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2879, allocations: 5.562 kB / 440.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.288, allocations: 197.8 kB / 440.8 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.2881, allocations: 103.1 kB / 440.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.2881, allocations: 5.688 kB / 440.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.2882, allocations: 1.953 kB / 440.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.2882, allocations: 11.33 kB / 440.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.2882, allocations: 7.156 kB / 440.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.2883, allocations: 90.28 kB / 441 MB, free: 4.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2883, allocations: 0 / 441 MB, free: 4.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.2886, allocations: 61.64 kB / 441.1 MB, free: 4.496 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.0002307/0.2888, allocations: 172 kB / 441.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.289, allocations: 73.38 kB / 441.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.289, allocations: 0 / 441.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.289, allocations: 37.94 kB / 441.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.2895, allocations: 43.94 kB / 441.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.2898, allocations: 287.7 kB / 441.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2899, allocations: 0.6922 MB / 442.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.29, allocations: 25.53 kB / 442.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.29, allocations: 0 / 442.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of Templates: time 0.004376/0.2944, allocations: 2.221 MB / 444.6 MB, free: 3.242 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.82709007919766]