Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001281/0.001281, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001391/0.001391, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.492/1.492, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002957/0.002957, allocations: 63.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2238, allocations: 53.32 MB / 432 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004371/0.2281, allocations: 2.906 MB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.2305, allocations: 1.422 MB / 436.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.2306, allocations: 7.938 kB / 436.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.2311, allocations: 179.1 kB / 436.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.2316, allocations: 250.6 kB / 436.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.2319, allocations: 139.6 kB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000548/0.2324, allocations: 461.9 kB / 437.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2326, allocations: 67.83 kB / 437.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.2328, allocations: 187.3 kB / 437.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.2331, allocations: 223.1 kB / 437.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.422e-05/0.2331, allocations: 28 kB / 437.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2333, allocations: 71.98 kB / 437.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2334, allocations: 87.67 kB / 438 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.2336, allocations: 194.9 kB / 438.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.2342, allocations: 495.3 kB / 438.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2342, allocations: 0 / 438.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2342, allocations: 0 / 438.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2342, allocations: 0 / 438.7 MB, free: 0.6602 MB / 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.001119/0.2353, allocations: 0.7238 MB / 439.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2353, allocations: 8.031 kB / 439.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.2354, allocations: 56.58 kB / 439.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.2359, allocations: 339 kB / 439.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.236, allocations: 20.8 kB / 439.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.236, allocations: 28.06 kB / 439.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.2365, allocations: 289.5 kB / 440.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2365, allocations: 4 kB / 440.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.2365, allocations: 4 kB / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2365, allocations: 8 kB / 440.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.2368, allocations: 145.7 kB / 440.3 MB, free: 14.92 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.001371/0.2382, allocations: 0.8324 MB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.2386, allocations: 179.1 kB / 441.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.2388, allocations: 68.83 kB / 441.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.2388, allocations: 8 kB / 441.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.2391, allocations: 139.2 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.2391, allocations: 0 / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.00087/0.2399, allocations: 406 kB / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002062/0.2401, allocations: 312.4 kB / 442.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.2407, allocations: 437.7 kB / 442.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.2407, allocations: 37.7 kB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.2409, allocations: 208.3 kB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.241, allocations: 83.27 kB / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.695e-05/0.2411, allocations: 65.62 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2412, allocations: 350.8 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.2414, allocations: 63.98 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.2417, allocations: 184.4 kB / 443.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.242, allocations: 164 kB / 443.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.242, allocations: 4 kB / 443.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005052/0.2425, allocations: 278 kB / 444.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2425, allocations: 8 kB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2425, allocations: 0 / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.2427, allocations: 28.84 kB / 444.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.2429, allocations: 55.91 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.2445, allocations: 1.567 MB / 445.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.2447, allocations: 23.89 kB / 445.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.2447, allocations: 16.03 kB / 445.8 MB, free: 9.027 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.0001914/0.2449, allocations: 162 kB / 445.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.245, allocations: 55.69 kB / 446 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.2455, allocations: 250 kB / 446.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005742/0.2461, allocations: 0.5938 MB / 446.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.2461, allocations: 0 / 446.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.2463, allocations: 136.9 kB / 446.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.2463, allocations: 11.94 kB / 447 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2465, allocations: 11.98 kB / 447 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.2465, allocations: 11.98 kB / 447 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005735/0.2471, allocations: 300.7 kB / 447.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006607/0.2478, allocations: 0.4897 MB / 447.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001441/0.2479, allocations: 67.98 kB / 447.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003523/0.2483, allocations: 319.1 kB / 448.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of Backend: time 1.6e-07/0.2483, allocations: 0 / 448.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.2507, allocations: 0.7048 MB / 448.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of SimCode: time 0.001628/0.2523, allocations: 1.264 MB / 450.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of Templates: time 0.01181/0.2642, allocations: 6.258 MB / 456.4 MB, free: 14.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.462383372243494]