Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001863/0.001863, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002383/0.002383, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 51.91 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2346, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004317/0.2389, allocations: 2.684 MB / 434.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.2414, allocations: 1.328 MB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.2416, allocations: 7.938 kB / 435.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.2421, allocations: 171.1 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.2426, allocations: 254.6 kB / 436 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.243, allocations: 147.5 kB / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005706/0.2435, allocations: 454 kB / 436.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.2437, allocations: 66.86 kB / 436.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.2439, allocations: 187.3 kB / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.2442, allocations: 203.1 kB / 437 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/0.2443, allocations: 35.94 kB / 437.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.2445, allocations: 75.92 kB / 437.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2446, allocations: 91.67 kB / 437.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.2447, allocations: 155.2 kB / 437.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.2453, allocations: 0.4898 MB / 437.9 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2453, allocations: 0 / 437.9 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2453, allocations: 0 / 437.9 MB, free: 396 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2454, allocations: 0 / 437.9 MB, free: 396 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.001146/0.2465, allocations: 0.6445 MB / 438.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2465, allocations: 12.03 kB / 438.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.2466, allocations: 48.66 kB / 438.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.2472, allocations: 281.1 kB / 438.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.2472, allocations: 20.81 kB / 438.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.2472, allocations: 20.12 kB / 438.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.2479, allocations: 0.5878 MB / 439.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2479, allocations: 0 / 439.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.2479, allocations: 12 kB / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2479, allocations: 4 kB / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.2483, allocations: 153.7 kB / 439.7 MB, free: 14.45 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.001274/0.2495, allocations: 0.6453 MB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.2499, allocations: 175.1 kB / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2501, allocations: 72.83 kB / 440.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2501, allocations: 0 / 440.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.2504, allocations: 186.8 kB / 440.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.2504, allocations: 4 kB / 440.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008536/0.2513, allocations: 335.6 kB / 441.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.2514, allocations: 312.4 kB / 441.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.2519, allocations: 441.5 kB / 441.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.252, allocations: 33.7 kB / 441.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.2521, allocations: 200.4 kB / 442 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.2522, allocations: 87.31 kB / 442.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.2523, allocations: 57.7 kB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2525, allocations: 350.8 kB / 442.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2526, allocations: 59.97 kB / 442.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.253, allocations: 437.7 kB / 443 MB, free: 10.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.2533, allocations: 167.4 kB / 443.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2533, allocations: 0 / 443.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004986/0.2538, allocations: 282.1 kB / 443.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2539, allocations: 4 kB / 443.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2539, allocations: 4 kB / 443.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.254, allocations: 32.94 kB / 443.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.2542, allocations: 59.84 kB / 443.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.2558, allocations: 1.436 MB / 445 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.256, allocations: 35.89 kB / 445 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.256, allocations: 8 kB / 445 MB, free: 8.66 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.0001911/0.2562, allocations: 168.6 kB / 445.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.2563, allocations: 43.95 kB / 445.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.2568, allocations: 265.6 kB / 445.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2568, allocations: 7.984 kB / 445.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2568, allocations: 3.938 kB / 445.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005791/0.2574, allocations: 0.5905 MB / 446.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/0.2583, allocations: 0.61 MB / 446.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2583, allocations: 3.984 kB / 446.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.2586, allocations: 39.98 kB / 446.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.2586, allocations: 11.88 kB / 446.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.2586, allocations: 7.984 kB / 446.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2586, allocations: 4 kB / 446.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2586, allocations: 0 / 446.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.2592, allocations: 413.8 kB / 447.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.2593, allocations: 71.62 kB / 447.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.2594, allocations: 8.062 kB / 447.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.2596, allocations: 15.98 kB / 447.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.2596, allocations: 15.84 kB / 447.3 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.2597, allocations: 11.98 kB / 447.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003596/0.26, allocations: 311.2 kB / 447.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.26, allocations: 0 / 447.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.2604, allocations: 95.88 kB / 447.7 MB, free: 5.82 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.001669/0.2621, allocations: 445 kB / 448.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.2627, allocations: 302.5 kB / 448.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.2627, allocations: 3.938 kB / 448.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.2629, allocations: 79.91 kB / 448.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.2635, allocations: 103.7 kB / 448.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.265, allocations: 0.8342 MB / 449.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.2652, allocations: 191.5 kB / 449.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.2653, allocations: 46.94 kB / 449.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.2654, allocations: 35.42 kB / 449.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2654, allocations: 0 / 449.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of Templates: time 0.01369/0.2791, allocations: 6.932 MB / 456.6 MB, free: 13.15 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.808153122663498]