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.001866/0.001866, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002188/0.002188, allocations: 208.2 kB / 24.48 MB, free: 3.977 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.483/1.483, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001524/0.001524, allocations: 51.92 kB / 378.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2162, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004194/0.2204, allocations: 2.692 MB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.2226, allocations: 1.324 MB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.2228, allocations: 7.938 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.2232, allocations: 171.1 kB / 436.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005457/0.2238, allocations: 258.6 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.2241, allocations: 139.6 kB / 436.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.2246, allocations: 457.9 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2248, allocations: 72.27 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.225, allocations: 187.3 kB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.2253, allocations: 219.1 kB / 437.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.2253, allocations: 32 kB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.2255, allocations: 71.98 kB / 437.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.2256, allocations: 91.67 kB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.2258, allocations: 159.1 kB / 438.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.2263, allocations: 0.4892 MB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2263, allocations: 0 / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2263, allocations: 0 / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.2263, allocations: 0 / 438.6 MB, free: 408 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.001092/0.2274, allocations: 0.6405 MB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2275, allocations: 12.03 kB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.742e-05/0.2276, allocations: 52.59 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.228, allocations: 285.1 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.2281, allocations: 12.81 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.2281, allocations: 28.11 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.2288, allocations: 0.5917 MB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2288, allocations: 0 / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.2288, allocations: 11.98 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.2288, allocations: 12 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.2292, allocations: 141.7 kB / 440.4 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.001289/0.2304, allocations: 0.6492 MB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.2308, allocations: 180.4 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.231, allocations: 64.84 kB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.231, allocations: 7.984 kB / 441.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.2313, allocations: 194.7 kB / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.2313, allocations: 0 / 441.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008665/0.2322, allocations: 331.6 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.2324, allocations: 312.4 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.2329, allocations: 441.5 kB / 442.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.2329, allocations: 29.7 kB / 442.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.2331, allocations: 204.4 kB / 442.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.2331, allocations: 75.33 kB / 442.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.2332, allocations: 65.64 kB / 442.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2334, allocations: 346.8 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2336, allocations: 67.97 kB / 443.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.2339, allocations: 433.8 kB / 443.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.2343, allocations: 171.4 kB / 443.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2343, allocations: 0 / 443.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005074/0.2348, allocations: 278.1 kB / 444.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2348, allocations: 7.938 kB / 444.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2348, allocations: 0 / 444.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.2349, allocations: 32.84 kB / 444.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.2352, allocations: 51.97 kB / 444.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.2367, allocations: 1.44 MB / 445.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.2369, allocations: 27.92 kB / 445.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.2369, allocations: 8 kB / 445.8 MB, free: 8.68 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.0001883/0.2371, allocations: 168.7 kB / 445.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.2372, allocations: 47.66 kB / 446 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.2377, allocations: 273.5 kB / 446.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.2377, allocations: 4 kB / 446.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2377, allocations: 3.938 kB / 446.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005903/0.2383, allocations: 0.5828 MB / 446.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009281/0.2393, allocations: 0.6217 MB / 447.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.2393, allocations: 0 / 447.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.2395, allocations: 47.91 kB / 447.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2395, allocations: 3.938 kB / 447.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.2395, allocations: 8 kB / 447.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2395, allocations: 4 kB / 447.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2395, allocations: 0 / 447.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.2402, allocations: 417.8 kB / 447.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.2403, allocations: 67.64 kB / 448 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.2404, allocations: 12.06 kB / 448 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.2406, allocations: 11.98 kB / 448 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.2406, allocations: 23.77 kB / 448 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.2407, allocations: 4 kB / 448 MB, free: 6.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003473/0.241, allocations: 315.1 kB / 448.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.241, allocations: 0 / 448.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.2414, allocations: 91.89 kB / 448.4 MB, free: 5.836 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.001677/0.2431, allocations: 449.2 kB / 448.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006212/0.2437, allocations: 314.4 kB / 449.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2437, allocations: 0 / 449.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.2439, allocations: 79.91 kB / 449.3 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.2445, allocations: 103.4 kB / 449.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.246, allocations: 0.8234 MB / 450.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.2462, allocations: 195.5 kB / 450.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.2463, allocations: 42.95 kB / 450.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.2464, allocations: 31.42 kB / 450.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2464, allocations: 4 kB / 450.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of Templates: time 0.01313/0.2595, allocations: 6.998 MB / 457.5 MB, free: 13.11 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 -s gbode -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/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_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.480794823990436]