Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 51.92 kB / 373.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.09011, allocations: 53.33 MB / 426.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1783/0.2684, allocations: 4.937 MB / 431.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007624/0.2691, allocations: 0.6214 MB / 432.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.2692, allocations: 0.6875 kB / 432.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.2694, allocations: 33.41 kB / 432.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.2707, allocations: 0.5842 MB / 433 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.2709, allocations: 95.72 kB / 433 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.2711, allocations: 187.9 kB / 433.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.2712, allocations: 0.9688 kB / 433.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008814/0.272, allocations: 0.6086 MB / 433.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.2721, allocations: 55.66 kB / 433.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2721, allocations: 7.672 kB / 433.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.2734, allocations: 0.8842 MB / 434.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.2735, allocations: 20.11 kB / 434.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.2735, allocations: 54.02 kB / 434.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.274, allocations: 245.1 kB / 435.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.274, allocations: 0 / 435.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.274, allocations: 0 / 435.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.274, allocations: 0 / 435.1 MB, free: 7.895 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.000455/0.2744, allocations: 433.3 kB / 435.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2745, allocations: 9.031 kB / 435.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.2749, allocations: 32.17 kB / 435.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.2751, allocations: 198.5 kB / 435.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2751, allocations: 7.25 kB / 435.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.2751, allocations: 9.938 kB / 435.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.2753, allocations: 138.6 kB / 435.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2753, allocations: 0.625 kB / 435.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.2753, allocations: 7.578 kB / 435.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2754, allocations: 5.938 kB / 435.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.2755, allocations: 105.9 kB / 436 MB, free: 7.207 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.000587/0.2761, allocations: 0.6583 MB / 436.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2763, allocations: 75.94 kB / 436.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.2763, allocations: 37.59 kB / 436.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003973/0.2767, allocations: 0.8075 MB / 437.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2767, allocations: 40.06 kB / 437.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2767, allocations: 0 / 437.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002832/0.277, allocations: 127.2 kB / 437.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.2771, allocations: 56.91 kB / 437.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.2771, allocations: 122.7 kB / 437.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.2771, allocations: 31.3 kB / 438 MB, free: 5.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.2772, allocations: 98.53 kB / 438.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.2772, allocations: 48.5 kB / 438.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.2772, allocations: 38.67 kB / 438.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.2773, allocations: 320.1 kB / 438.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.2774, allocations: 25.64 kB / 438.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.2774, allocations: 76.91 kB / 438.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.2776, allocations: 101.5 kB / 438.7 MB, free: 4.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2776, allocations: 1.547 kB / 438.7 MB, free: 4.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002203/0.2778, allocations: 140.2 kB / 438.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2778, allocations: 6.078 kB / 438.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2778, allocations: 1.281 kB / 438.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2778, allocations: 3.219 kB / 438.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.278, allocations: 35.39 kB / 438.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.278, allocations: 11.89 kB / 438.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.278, allocations: 13.83 kB / 438.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.278, allocations: 10.72 kB / 438.9 MB, free: 4.738 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 6.347e-05/0.2781, allocations: 124.1 kB / 439 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.2781, allocations: 8.797 kB / 439 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.2784, allocations: 139.8 kB / 439.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2784, allocations: 6.281 kB / 439.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2784, allocations: 0 / 439.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2784, allocations: 0.7031 kB / 439.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.2788, allocations: 401.5 kB / 439.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2788, allocations: 1.219 kB / 439.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.2789, allocations: 25.22 kB / 439.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2789, allocations: 0.875 kB / 439.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2789, allocations: 4.594 kB / 439.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2789, allocations: 1.75 kB / 439.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2789, allocations: 0 / 439.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.2791, allocations: 200.5 kB / 439.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.2791, allocations: 103.5 kB / 439.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.2792, allocations: 2.641 kB / 439.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2793, allocations: 12.23 kB / 439.9 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.2793, allocations: 6.906 kB / 439.9 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.2793, allocations: 5.453 kB / 439.9 MB, free: 4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.525e-05/0.2793, allocations: 90.19 kB / 440 MB, free: 3.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2793, allocations: 1.094 kB / 440 MB, free: 3.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.2797, allocations: 60.23 kB / 440.1 MB, free: 3.918 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.0002518/0.2799, allocations: 163.5 kB / 440.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.2801, allocations: 85.84 kB / 440.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2801, allocations: 320 / 440.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.8e-05/0.2802, allocations: 42.19 kB / 440.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.2806, allocations: 46.2 kB / 440.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.281, allocations: 248.5 kB / 440.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.2812, allocations: 0.6969 MB / 441.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.2813, allocations: 32.09 kB / 441.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.2813, allocations: 24.88 kB / 441.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2813, allocations: 1.281 kB / 441.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of Templates: time 0.00628/0.2876, allocations: 2.485 MB / 443.9 MB, free: 2.699 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.720712885260582]