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.001506/0.001506, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.00169/0.00169, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.001542/0.001542, allocations: 43.92 kB / 379 MB, free: 2.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2274, allocations: 53.37 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007431/0.2348, allocations: 4.978 MB / 437.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.2357, allocations: 0.6309 MB / 438 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.2358, allocations: 0 / 438 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.236, allocations: 31.75 kB / 438 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.2375, allocations: 0.6073 MB / 438.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.2378, allocations: 90.23 kB / 438.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.238, allocations: 187.2 kB / 438.9 MB, free: 436 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.2381, allocations: 4 kB / 438.9 MB, free: 432 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.2392, allocations: 0.6314 MB / 439.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.2393, allocations: 51.83 kB / 439.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2393, allocations: 4 kB / 439.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.2409, allocations: 0.9141 MB / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.2409, allocations: 23.91 kB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/0.241, allocations: 51.73 kB / 440.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.2414, allocations: 239 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2414, allocations: 4 kB / 440.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2414, allocations: 0 / 440.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.2414, allocations: 0 / 440.8 MB, free: 14.51 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.0005089/0.2419, allocations: 353.6 kB / 441.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.242, allocations: 16.03 kB / 441.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.2424, allocations: 36.8 kB / 441.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.2426, allocations: 138.4 kB / 441.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2426, allocations: 8.375 kB / 441.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.2427, allocations: 15.92 kB / 441.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.2429, allocations: 133 kB / 441.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2429, allocations: 11.94 kB / 441.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.2429, allocations: 4 kB / 441.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2429, allocations: 0 / 441.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.2431, allocations: 107.9 kB / 441.6 MB, free: 13.63 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.0007483/0.2439, allocations: 0.6324 MB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.244, allocations: 78.55 kB / 442.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/0.2441, allocations: 36.84 kB / 442.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.2443, allocations: 55.89 kB / 442.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2443, allocations: 34.56 kB / 442.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2443, allocations: 3.938 kB / 442.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002854/0.2446, allocations: 129.5 kB / 442.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.2447, allocations: 63.34 kB / 442.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/0.2448, allocations: 117.8 kB / 442.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.2448, allocations: 29.7 kB / 442.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.2448, allocations: 104 kB / 442.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.2449, allocations: 47.58 kB / 442.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.2449, allocations: 33.67 kB / 443 MB, free: 12.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2451, allocations: 322.8 kB / 443.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.2451, allocations: 35.92 kB / 443.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.2452, allocations: 67.95 kB / 443.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.2454, allocations: 101.1 kB / 443.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2454, allocations: 0 / 443.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00021/0.2456, allocations: 137.5 kB / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2456, allocations: 4 kB / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2456, allocations: 384 / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2456, allocations: 7.938 kB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.2457, allocations: 35.92 kB / 443.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2458, allocations: 4.156 kB / 443.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.2458, allocations: 19.83 kB / 443.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.2458, allocations: 15.98 kB / 443.7 MB, free: 11.37 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.0001091/0.2459, allocations: 117.8 kB / 443.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.246, allocations: 7.953 kB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.2463, allocations: 145.9 kB / 444 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2463, allocations: 4 kB / 444 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2463, allocations: 4 kB / 444 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2463, allocations: 4 kB / 444 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.2467, allocations: 369.4 kB / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2467, allocations: 0 / 444.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.2468, allocations: 16 kB / 444.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2468, allocations: 0 / 444.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2468, allocations: 11.98 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2468, allocations: 0 / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2468, allocations: 7.922 kB / 444.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.2471, allocations: 213.1 kB / 444.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.2471, allocations: 15.94 kB / 444.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2471, allocations: 4 kB / 444.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.2472, allocations: 4 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.2472, allocations: 7.984 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.2472, allocations: 11.98 kB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.2473, allocations: 91.27 kB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2473, allocations: 0 / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.2476, allocations: 59.88 kB / 444.8 MB, free: 10.21 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.0002416/0.2479, allocations: 151.1 kB / 444.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.2481, allocations: 87.83 kB / 445 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2481, allocations: 0 / 445 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.835e-05/0.2481, allocations: 41.8 kB / 445 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.2485, allocations: 47.16 kB / 445.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.249, allocations: 270.3 kB / 445.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.2493, allocations: 0.6928 MB / 446.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.2494, allocations: 27.41 kB / 446.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2494, allocations: 0 / 446.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Templates: time 0.004269/0.2536, allocations: 2.211 MB / 448.3 MB, free: 6.645 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/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_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: 6.728146955836564]