Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 108.3 kB / 18.41 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 182.2 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 55.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07146/0.07261, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003623/0.07626, allocations: 2.842 MB / 378.6 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.0779, allocations: 1.181 MB / 379.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.07804, allocations: 7.938 kB / 379.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.0785, allocations: 183.2 kB / 380 MB, free: 364 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000385/0.0789, allocations: 206.8 kB / 380.2 MB, free: 156 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.07924, allocations: 151.6 kB / 380.4 MB, free: 4 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1485/0.2277, allocations: 450.8 kB / 380.8 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.2279, allocations: 102.9 kB / 380.9 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.2282, allocations: 182.8 kB / 381.1 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.2284, allocations: 209.7 kB / 381.3 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.2285, allocations: 29.59 kB / 381.3 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.2286, allocations: 69.47 kB / 381.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.794e-05/0.2287, allocations: 93.05 kB / 381.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.2289, allocations: 192.6 kB / 381.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005353/0.2295, allocations: 486.7 kB / 382.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2295, allocations: 1.375 kB / 382.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2295, allocations: 0 / 382.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.2295, allocations: 0 / 382.1 MB, free: 9.703 MB / 318.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.000989/0.2305, allocations: 0.6958 MB / 382.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2305, allocations: 8.5 kB / 382.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.2306, allocations: 48.81 kB / 382.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.2312, allocations: 343.6 kB / 383.2 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.2312, allocations: 13.33 kB / 383.2 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.2312, allocations: 20.25 kB / 383.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.2318, allocations: 301.5 kB / 383.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2318, allocations: 0.7188 kB / 383.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.2318, allocations: 11.16 kB / 383.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.2318, allocations: 7.734 kB / 383.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.2321, allocations: 146.7 kB / 383.7 MB, free: 8.789 MB / 318.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.001158/0.2333, allocations: 0.8251 MB / 384.5 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.2337, allocations: 193.4 kB / 384.7 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.2338, allocations: 76.89 kB / 384.8 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.2339, allocations: 8.172 kB / 384.8 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.2341, allocations: 140.9 kB / 385 MB, free: 8.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.694e-06/0.2341, allocations: 1.344 kB / 385 MB, free: 8.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008218/0.235, allocations: 403 kB / 385.3 MB, free: 8.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.235, allocations: 318.5 kB / 385.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.2355, allocations: 427 kB / 386.1 MB, free: 7.645 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.2355, allocations: 40.08 kB / 386.1 MB, free: 7.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.2356, allocations: 203.4 kB / 386.3 MB, free: 7.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.2357, allocations: 78.66 kB / 386.4 MB, free: 7.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/0.2358, allocations: 57.61 kB / 386.4 MB, free: 7.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.2358, allocations: 351.1 kB / 386.8 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.236, allocations: 59.81 kB / 386.8 MB, free: 7.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.2362, allocations: 176.5 kB / 387 MB, free: 6.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.2365, allocations: 177 kB / 387.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2365, allocations: 1.594 kB / 387.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004399/0.2369, allocations: 277.4 kB / 387.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2369, allocations: 6.422 kB / 387.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2369, allocations: 0 / 387.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.2371, allocations: 30.14 kB / 387.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.2373, allocations: 54.48 kB / 387.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.2385, allocations: 1.574 MB / 389.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.2387, allocations: 25.06 kB / 389.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.2387, allocations: 11.62 kB / 389.2 MB, free: 5.137 MB / 318.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.0001515/0.2389, allocations: 170.6 kB / 389.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.2389, allocations: 40.25 kB / 389.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.381e-05/0.239, allocations: 41.83 kB / 389.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003881/0.2394, allocations: 0.5743 MB / 390 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.2394, allocations: 0 / 390 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.2396, allocations: 145.4 kB / 390.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.2396, allocations: 12.16 kB / 390.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.2398, allocations: 14.09 kB / 390.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.2399, allocations: 15.38 kB / 390.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005019/0.2404, allocations: 296.5 kB / 390.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005367/0.2409, allocations: 491.1 kB / 390.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001411/0.2411, allocations: 84.06 kB / 391 MB, free: 3.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003044/0.2414, allocations: 314.8 kB / 391.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of Backend: time 4.41e-07/0.2414, allocations: 1.125 kB / 391.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.2431, allocations: 0.7119 MB / 392 MB, free: 3.051 MB / 318.1 MB Notification: Performance of SimCode: time 0.001263/0.2443, allocations: 1.235 MB / 393.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of Templates: time 0.01061/0.255, allocations: 6.077 MB / 399.4 MB, free: 1.18 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches