Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.002032/0.002032, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002339/0.002339, allocations: 217.9 kB / 24.48 MB, free: 3.836 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.45/1.45, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 379 MB, free: 2.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2355, allocations: 53.4 MB / 432.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00435/0.2398, allocations: 2.684 MB / 435.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.2423, allocations: 1.331 MB / 436.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.2424, allocations: 4 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.2429, allocations: 183.1 kB / 436.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005656/0.2435, allocations: 254.6 kB / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.2438, allocations: 139.6 kB / 437 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005707/0.2444, allocations: 465.8 kB / 437.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.2445, allocations: 64.33 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.2448, allocations: 183.3 kB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.245, allocations: 199.1 kB / 437.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.2451, allocations: 35.94 kB / 437.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.2453, allocations: 71.98 kB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2454, allocations: 91.67 kB / 438 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.2455, allocations: 163.2 kB / 438.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.2461, allocations: 493.6 kB / 438.7 MB, free: 228 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2461, allocations: 0 / 438.7 MB, free: 228 kB / 334.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.2461, allocations: 3.984 kB / 438.7 MB, free: 224 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2461, allocations: 0 / 438.7 MB, free: 224 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001095/0.2472, allocations: 0.6408 MB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2473, allocations: 15.98 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.2474, allocations: 48.66 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.2479, allocations: 281.2 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.2479, allocations: 16.81 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.248, allocations: 28.3 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/0.2486, allocations: 0.5959 MB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2486, allocations: 0 / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.2487, allocations: 8 kB / 440.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.2487, allocations: 12 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.249, allocations: 141.7 kB / 440.5 MB, free: 14.27 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.00126/0.2502, allocations: 0.6531 MB / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.2506, allocations: 174.7 kB / 441.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.2508, allocations: 68.83 kB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.2508, allocations: 4 kB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.2511, allocations: 186.8 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.2511, allocations: 0 / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008224/0.2519, allocations: 337.8 kB / 441.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/0.2521, allocations: 316.4 kB / 442.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.2526, allocations: 433.6 kB / 442.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2526, allocations: 29.7 kB / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.2528, allocations: 208.4 kB / 442.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.662e-05/0.2529, allocations: 83.33 kB / 442.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.474e-05/0.253, allocations: 57.7 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2532, allocations: 346.8 kB / 443.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2533, allocations: 67.97 kB / 443.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.2537, allocations: 433.7 kB / 443.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.254, allocations: 175.9 kB / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.254, allocations: 0 / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005051/0.2545, allocations: 286.1 kB / 444.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2545, allocations: 4 kB / 444.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2546, allocations: 0 / 444.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.2547, allocations: 32.94 kB / 444.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.2549, allocations: 55.84 kB / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.2565, allocations: 1.444 MB / 445.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.2567, allocations: 27.92 kB / 445.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.2567, allocations: 11.94 kB / 445.8 MB, free: 8.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.2569, allocations: 172.5 kB / 446 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.257, allocations: 43.72 kB / 446 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.2575, allocations: 270.6 kB / 446.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2575, allocations: 4 kB / 446.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2575, allocations: 7.938 kB / 446.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005905/0.2581, allocations: 0.5789 MB / 446.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009384/0.2591, allocations: 0.6178 MB / 447.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2591, allocations: 0 / 447.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.2593, allocations: 44.2 kB / 447.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2593, allocations: 0 / 447.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2593, allocations: 11.94 kB / 447.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2593, allocations: 0 / 447.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2593, allocations: 0 / 447.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.2599, allocations: 419.6 kB / 448 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.2601, allocations: 63.69 kB / 448 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.2601, allocations: 16 kB / 448.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.2603, allocations: 8 kB / 448.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.2604, allocations: 19.97 kB / 448.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.2604, allocations: 4 kB / 448.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000347/0.2608, allocations: 311.1 kB / 448.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2608, allocations: 0 / 448.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.2612, allocations: 99.88 kB / 448.5 MB, free: 5.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001662/0.2628, allocations: 440 kB / 448.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006339/0.2635, allocations: 310.5 kB / 449.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2635, allocations: 0 / 449.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.2636, allocations: 75.91 kB / 449.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.2642, allocations: 105.1 kB / 449.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2657, allocations: 0.8524 MB / 450.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.2659, allocations: 195.5 kB / 450.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.266, allocations: 35.42 kB / 450.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.266, allocations: 0 / 450.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of Templates: time 0.00981/0.2758, allocations: 6.02 MB / 456.5 MB, free: 13.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.9867755197919905]