Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001195/0.001195, allocations: 112.3 kB / 17.74 MB, free: 5.336 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.001206/0.001206, allocations: 187 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2464, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004135/0.2506, allocations: 2.858 MB / 404.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2526, allocations: 1.258 MB / 405.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.2528, allocations: 7.938 kB / 405.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004846/0.2533, allocations: 175.2 kB / 405.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.2537, allocations: 202.8 kB / 405.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.2542, allocations: 182.1 kB / 406.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.2547, allocations: 449.9 kB / 406.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.2549, allocations: 107.5 kB / 406.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.2551, allocations: 175.4 kB / 406.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.2554, allocations: 211.1 kB / 407 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.2555, allocations: 32 kB / 407 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.2556, allocations: 67.98 kB / 407.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.2557, allocations: 91.67 kB / 407.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.2559, allocations: 194.9 kB / 407.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.2564, allocations: 487.4 kB / 407.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2564, allocations: 0 / 407.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2564, allocations: 0 / 407.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.2564, allocations: 0 / 407.8 MB, free: 2.387 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.0009472/0.2574, allocations: 0.6892 MB / 408.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2574, allocations: 12.03 kB / 408.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.2575, allocations: 48.38 kB / 408.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.2579, allocations: 350.6 kB / 408.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.2579, allocations: 12.81 kB / 408.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.258, allocations: 24.12 kB / 409 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.2584, allocations: 289.5 kB / 409.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2585, allocations: 0 / 409.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.2585, allocations: 8 kB / 409.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2585, allocations: 7.938 kB / 409.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.2588, allocations: 149.7 kB / 409.4 MB, free: 0.6875 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.001226/0.26, allocations: 0.8321 MB / 410.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.2604, allocations: 188.8 kB / 410.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.2605, allocations: 72.84 kB / 410.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.2606, allocations: 11.89 kB / 410.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.2608, allocations: 135.3 kB / 410.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.034e-06/0.2608, allocations: 0 / 410.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007698/0.2616, allocations: 408.5 kB / 411 MB, free: 14.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.2618, allocations: 316.4 kB / 411.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.2622, allocations: 429.7 kB / 411.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.2622, allocations: 29.7 kB / 411.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.2624, allocations: 208.2 kB / 412 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.2624, allocations: 70.91 kB / 412.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.2625, allocations: 57.7 kB / 412.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2627, allocations: 350.8 kB / 412.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.2628, allocations: 63.97 kB / 412.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.263, allocations: 179.9 kB / 412.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.2633, allocations: 171.3 kB / 412.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2633, allocations: 3.938 kB / 412.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004299/0.2637, allocations: 273.9 kB / 413.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2638, allocations: 4 kB / 413.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2638, allocations: 4.094 kB / 413.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001397/0.2639, allocations: 36.84 kB / 413.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.2641, allocations: 55.91 kB / 413.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.2656, allocations: 1.574 MB / 414.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.2658, allocations: 27.78 kB / 414.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.2659, allocations: 8.094 kB / 414.8 MB, free: 10.79 MB / 334.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.0002032/0.2661, allocations: 173.6 kB / 415 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.2661, allocations: 39.62 kB / 415.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/0.2662, allocations: 39.59 kB / 415.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.2662, allocations: 7.938 kB / 415.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2663, allocations: 0 / 415.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000486/0.2667, allocations: 0.5827 MB / 415.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.2676, allocations: 0.7066 MB / 416.4 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2676, allocations: 0 / 416.4 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.2678, allocations: 43.92 kB / 416.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2678, allocations: 7.984 kB / 416.4 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.2678, allocations: 8 kB / 416.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2679, allocations: 0 / 416.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2679, allocations: 96 / 416.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.2684, allocations: 398.8 kB / 416.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2685, allocations: 140.6 kB / 417 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.2686, allocations: 11.94 kB / 417 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2688, allocations: 16.05 kB / 417 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.2688, allocations: 11.98 kB / 417 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.2689, allocations: 12 kB / 417 MB, free: 8.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002886/0.2692, allocations: 311.1 kB / 417.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2692, allocations: 0 / 417.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000363/0.2695, allocations: 92 kB / 417.4 MB, free: 8.016 MB / 334.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 (23): * Single equations (assignments): 21 * 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.0009128/0.2704, allocations: 418.6 kB / 417.8 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005567/0.271, allocations: 336.5 kB / 418.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.271, allocations: 0 / 418.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2712, allocations: 79.91 kB / 418.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.2717, allocations: 105.6 kB / 418.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2731, allocations: 0.8127 MB / 419.2 MB, free: 6.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.2735, allocations: 0.796 MB / 419.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.2736, allocations: 31.44 kB / 420 MB, free: 5.539 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2736, allocations: 3.938 kB / 420 MB, free: 5.535 MB / 334.1 MB Notification: Performance of Templates: time 0.009233/0.2828, allocations: 5.895 MB / 425.9 MB, free: 15.68 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches