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.001307/0.001307, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001433/0.001433, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.433/1.433, allocations: 230.5 MB / 258.1 MB, free: 8 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.001893/0.001893, allocations: 59.91 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2263, allocations: 53.4 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004485/0.2308, allocations: 2.909 MB / 435.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.2332, allocations: 1.437 MB / 436.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2334, allocations: 7.938 kB / 436.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004846/0.2338, allocations: 179.1 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.2344, allocations: 250.6 kB / 437.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.2347, allocations: 139.6 kB / 437.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005844/0.2353, allocations: 469.4 kB / 437.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2354, allocations: 60.33 kB / 437.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.2357, allocations: 195.3 kB / 438 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.236, allocations: 219.1 kB / 438.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.2361, allocations: 28 kB / 438.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.2362, allocations: 71.98 kB / 438.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2363, allocations: 91.67 kB / 438.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.2365, allocations: 202.9 kB / 438.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.2371, allocations: 491.2 kB / 439.1 MB, free: 52 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2371, allocations: 0 / 439.1 MB, free: 52 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2371, allocations: 0 / 439.1 MB, free: 52 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2371, allocations: 4 kB / 439.1 MB, free: 48 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.001107/0.2383, allocations: 0.6444 MB / 439.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2383, allocations: 12.03 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.2384, allocations: 52.59 kB / 439.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.2389, allocations: 285.1 kB / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.2389, allocations: 16.81 kB / 440.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.239, allocations: 16.38 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.2395, allocations: 293.8 kB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2395, allocations: 0 / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.2395, allocations: 12 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2395, allocations: 4 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.2398, allocations: 145.7 kB / 440.6 MB, free: 14.49 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.001379/0.2412, allocations: 0.7963 MB / 441.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.2416, allocations: 182.7 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.2418, allocations: 68.83 kB / 441.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.2418, allocations: 7.984 kB / 441.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.2421, allocations: 142.3 kB / 441.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.2421, allocations: 0 / 441.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008125/0.2429, allocations: 333.8 kB / 442.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001919/0.2431, allocations: 316.4 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.2436, allocations: 441.6 kB / 442.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.2437, allocations: 33.7 kB / 442.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.2439, allocations: 204.5 kB / 443.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/0.2439, allocations: 87.27 kB / 443.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.244, allocations: 57.69 kB / 443.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.2442, allocations: 358.7 kB / 443.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.2444, allocations: 55.98 kB / 443.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.2446, allocations: 176.7 kB / 443.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.2449, allocations: 176 kB / 444 MB, free: 10.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2449, allocations: 0 / 444 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004886/0.2454, allocations: 270.1 kB / 444.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2454, allocations: 8 kB / 444.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2454, allocations: 8.094 kB / 444.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/0.2456, allocations: 36.78 kB / 444.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.2458, allocations: 47.97 kB / 444.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.2474, allocations: 1.471 MB / 445.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.2476, allocations: 23.83 kB / 445.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2476, allocations: 4 kB / 445.8 MB, free: 8.859 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.0001986/0.2478, allocations: 172.6 kB / 446 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.2479, allocations: 47.72 kB / 446 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.2484, allocations: 262.8 kB / 446.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2484, allocations: 4 kB / 446.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2484, allocations: 3.938 kB / 446.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005735/0.249, allocations: 0.583 MB / 446.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009653/0.2499, allocations: 0.6719 MB / 447.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.2499, allocations: 3.938 kB / 447.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.2501, allocations: 47.92 kB / 447.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2501, allocations: 0 / 447.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.2502, allocations: 11.98 kB / 447.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2502, allocations: 0 / 447.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2502, allocations: 0 / 447.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.2507, allocations: 398.8 kB / 448 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.2509, allocations: 67.66 kB / 448.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.2509, allocations: 15.98 kB / 448.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2511, allocations: 12 kB / 448.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.2512, allocations: 15.97 kB / 448.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.2512, allocations: 8 kB / 448.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003678/0.2516, allocations: 319.1 kB / 448.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2516, allocations: 0 / 448.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.252, allocations: 103.8 kB / 448.5 MB, free: 5.953 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 (23): * Single equations (assignments): 21 * 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.001536/0.2535, allocations: 414.2 kB / 448.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006002/0.2541, allocations: 295 kB / 449.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2541, allocations: 4 kB / 449.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.2543, allocations: 79.7 kB / 449.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.2549, allocations: 112.9 kB / 449.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.2563, allocations: 0.833 MB / 450.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.2568, allocations: 0.7998 MB / 451 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.2569, allocations: 31.44 kB / 451.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2569, allocations: 0 / 451.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of Templates: time 0.009299/0.2662, allocations: 5.943 MB / 457 MB, free: 13.55 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: 8.317383178975433]