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.001291/0.001291, allocations: 105.4 kB / 19.81 MB, free: 2.516 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.001415/0.001415, allocations: 215.3 kB / 23 MB, free: 5.609 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.499/1.499, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.00186/0.00186, allocations: 63.89 kB / 376.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2338, allocations: 53.32 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00752/0.2413, allocations: 4.989 MB / 434.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.2423, allocations: 0.627 MB / 435.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.2423, allocations: 0 / 435.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.2426, allocations: 27.83 kB / 435.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.244, allocations: 0.5916 MB / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.2442, allocations: 99.05 kB / 436.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.2445, allocations: 175.3 kB / 436.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.956e-05/0.2446, allocations: 11.98 kB / 436.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.2457, allocations: 0.6158 MB / 436.9 MB, free: 408 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.2458, allocations: 47.77 kB / 436.9 MB, free: 360 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2459, allocations: 8 kB / 437 MB, free: 352 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.2473, allocations: 0.8946 MB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.2473, allocations: 19.86 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.2474, allocations: 51.78 kB / 437.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.2478, allocations: 243 kB / 438.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2478, allocations: 0 / 438.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2478, allocations: 4 kB / 438.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.2479, allocations: 0 / 438.2 MB, free: 15.14 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.0005791/0.2484, allocations: 422.8 kB / 438.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2485, allocations: 8.031 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.2489, allocations: 36.86 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.2492, allocations: 196.2 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2492, allocations: 8.375 kB / 438.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.2492, allocations: 11.94 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.2495, allocations: 145 kB / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2495, allocations: 0 / 439 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.2495, allocations: 11.92 kB / 439 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2495, allocations: 4 kB / 439 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.2497, allocations: 103.9 kB / 439.1 MB, free: 14.11 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.0007839/0.2505, allocations: 0.6607 MB / 439.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.2507, allocations: 82.48 kB / 439.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.877e-05/0.2508, allocations: 32.84 kB / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006916/0.2514, allocations: 0.8037 MB / 440.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.2515, allocations: 42.56 kB / 440.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2515, allocations: 0 / 440.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003076/0.2518, allocations: 121.9 kB / 440.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.2518, allocations: 59.34 kB / 440.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2519, allocations: 125.7 kB / 441 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.252, allocations: 29.7 kB / 441 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.252, allocations: 96 kB / 441.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.2521, allocations: 47.58 kB / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.2521, allocations: 41.66 kB / 441.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2522, allocations: 322.8 kB / 441.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.2523, allocations: 23.98 kB / 441.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.643e-05/0.2524, allocations: 65.14 kB / 441.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.2525, allocations: 112.6 kB / 441.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2525, allocations: 0 / 441.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000226/0.2528, allocations: 137.5 kB / 441.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2528, allocations: 12.16 kB / 441.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2528, allocations: 0 / 441.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2528, allocations: 7.938 kB / 441.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.2529, allocations: 35.92 kB / 441.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.2529, allocations: 4 kB / 441.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.253, allocations: 11.89 kB / 441.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.253, allocations: 8 kB / 441.9 MB, free: 10.88 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.0001026/0.2531, allocations: 122.2 kB / 442.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.2532, allocations: 7.953 kB / 442.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.2535, allocations: 138 kB / 442.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2535, allocations: 7.984 kB / 442.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2535, allocations: 0 / 442.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2535, allocations: 3.984 kB / 442.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.254, allocations: 402.2 kB / 442.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.254, allocations: 0 / 442.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.297e-05/0.254, allocations: 23.98 kB / 442.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.254, allocations: 4 kB / 442.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.2541, allocations: 7.938 kB / 442.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2541, allocations: 4 kB / 442.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2541, allocations: 0 / 442.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.2543, allocations: 202.9 kB / 442.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.2544, allocations: 97.05 kB / 442.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2544, allocations: 4 kB / 442.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.2545, allocations: 4 kB / 442.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.2545, allocations: 11.98 kB / 443 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.2545, allocations: 12 kB / 443 MB, free: 9.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.832e-05/0.2546, allocations: 91.27 kB / 443.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2546, allocations: 0 / 443.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.2549, allocations: 59.86 kB / 443.1 MB, free: 9.594 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.0002698/0.2552, allocations: 159 kB / 443.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.2554, allocations: 79.91 kB / 443.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2554, allocations: 0 / 443.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.204e-05/0.2554, allocations: 39.92 kB / 443.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.2559, allocations: 48.41 kB / 443.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.2563, allocations: 247.3 kB / 443.7 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.2567, allocations: 0.6967 MB / 444.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.2568, allocations: 28.75 kB / 444.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.2568, allocations: 27.41 kB / 444.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2568, allocations: 0 / 444.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of Templates: time 0.006161/0.263, allocations: 2.522 MB / 446.9 MB, free: 5.727 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/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_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: 4.420742356218398]