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.00134/0.00134, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001413/0.001413, allocations: 208.7 kB / 24.48 MB, free: 3.969 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.438/1.438, allocations: 230.6 MB / 258.3 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.001585/0.001585, allocations: 47.92 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.209, allocations: 53.37 MB / 432.3 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004086/0.2131, allocations: 2.696 MB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.2153, allocations: 1.332 MB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.2154, allocations: 7.938 kB / 436.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.2159, allocations: 175.1 kB / 436.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.2164, allocations: 254.6 kB / 436.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.2167, allocations: 147.5 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005274/0.2172, allocations: 457.9 kB / 437.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.2174, allocations: 68.31 kB / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.2176, allocations: 183.3 kB / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.2179, allocations: 219.1 kB / 437.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.34e-05/0.218, allocations: 32 kB / 437.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.2181, allocations: 71.98 kB / 437.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2182, allocations: 95.61 kB / 438 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.2184, allocations: 159.2 kB / 438.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.2189, allocations: 0.4892 MB / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2189, allocations: 0 / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2189, allocations: 0 / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2189, allocations: 0 / 438.7 MB, free: 420 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.001071/0.22, allocations: 0.6367 MB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2201, allocations: 8.031 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.418e-05/0.2201, allocations: 52.66 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.2206, allocations: 289.1 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.2206, allocations: 16.8 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.2207, allocations: 32.05 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.2214, allocations: 0.5839 MB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2214, allocations: 0 / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.2214, allocations: 12 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2214, allocations: 4 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.2217, allocations: 149.7 kB / 440.4 MB, free: 14.47 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.001246/0.223, allocations: 0.6454 MB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.2234, allocations: 171.1 kB / 441.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2235, allocations: 72.83 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2235, allocations: 4 kB / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.2238, allocations: 186.7 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.723e-06/0.2238, allocations: 4 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008573/0.2247, allocations: 331.6 kB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.2248, allocations: 312.4 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.2253, allocations: 441.5 kB / 442.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.2254, allocations: 33.7 kB / 442.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.2255, allocations: 200.4 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.2256, allocations: 83.31 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-05/0.2257, allocations: 53.7 kB / 442.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2259, allocations: 354.8 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.226, allocations: 67.91 kB / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.2264, allocations: 433.8 kB / 443.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.2267, allocations: 171.4 kB / 443.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2267, allocations: 7.938 kB / 443.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005014/0.2272, allocations: 270.1 kB / 444.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2272, allocations: 8.094 kB / 444.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2272, allocations: 4 kB / 444.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.2274, allocations: 36.78 kB / 444.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.2276, allocations: 55.91 kB / 444.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.2292, allocations: 1.44 MB / 445.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.2294, allocations: 27.86 kB / 445.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.2294, allocations: 12 kB / 445.8 MB, free: 8.684 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.0001889/0.2296, allocations: 166 kB / 446 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.735e-05/0.2296, allocations: 43.72 kB / 446 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005379/0.2302, allocations: 269.5 kB / 446.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005785/0.2308, allocations: 0.5828 MB / 446.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2308, allocations: 0 / 446.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.2309, allocations: 71.59 kB / 446.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.231, allocations: 8 kB / 446.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.2311, allocations: 15.98 kB / 446.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.2312, allocations: 11.98 kB / 446.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006017/0.2318, allocations: 304.7 kB / 447.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006729/0.2325, allocations: 0.4931 MB / 447.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001555/0.2326, allocations: 75.98 kB / 447.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003351/0.233, allocations: 311.1 kB / 448.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of Backend: time 3.31e-07/0.233, allocations: 3.938 kB / 448.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.2355, allocations: 0.7354 MB / 448.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of SimCode: time 0.001572/0.2371, allocations: 1.272 MB / 450.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of Templates: time 0.01249/0.2496, allocations: 7.097 MB / 457.2 MB, free: 13.43 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/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.370463302002463]