Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2341, allocations: 50.53 MB / 409.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003912/0.2381, allocations: 2.869 MB / 412.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.2401, allocations: 1.406 MB / 413.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.2402, allocations: 4 kB / 413.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.2407, allocations: 175.1 kB / 413.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.2412, allocations: 246.6 kB / 413.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.2415, allocations: 143.5 kB / 414.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.242, allocations: 457.9 kB / 414.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.2422, allocations: 107.8 kB / 414.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.2424, allocations: 183.3 kB / 414.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.2427, allocations: 211.2 kB / 415 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.2427, allocations: 28 kB / 415 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2429, allocations: 75.97 kB / 415.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.243, allocations: 87.62 kB / 415.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.2432, allocations: 198.9 kB / 415.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.2436, allocations: 491.6 kB / 415.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2436, allocations: 0 / 415.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2436, allocations: 4 kB / 415.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2436, allocations: 7.938 kB / 415.9 MB, free: 11.11 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.0009517/0.2446, allocations: 0.6891 MB / 416.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2447, allocations: 12.03 kB / 416.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.2447, allocations: 48.38 kB / 416.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.2452, allocations: 346.6 kB / 417 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.2452, allocations: 16.81 kB / 417 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.2453, allocations: 24.11 kB / 417 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.2457, allocations: 293.5 kB / 417.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2457, allocations: 0 / 417.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.2458, allocations: 15.94 kB / 417.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2458, allocations: 4 kB / 417.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.246, allocations: 149.6 kB / 417.4 MB, free: 9.402 MB / 334.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.001184/0.2472, allocations: 0.8127 MB / 418.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.2476, allocations: 194.7 kB / 418.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.2478, allocations: 84.77 kB / 418.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2478, allocations: 7.984 kB / 418.5 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.248, allocations: 142.5 kB / 418.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.654e-06/0.2481, allocations: 0 / 418.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007814/0.2488, allocations: 395 kB / 419.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.249, allocations: 320.4 kB / 419.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.2494, allocations: 437.7 kB / 419.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2495, allocations: 37.7 kB / 419.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.2496, allocations: 208.1 kB / 420 MB, free: 6.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.2497, allocations: 82.84 kB / 420.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/0.2498, allocations: 53.7 kB / 420.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2499, allocations: 354.8 kB / 420.5 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.25, allocations: 55.98 kB / 420.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.2503, allocations: 188 kB / 420.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.2506, allocations: 175.3 kB / 420.9 MB, free: 5.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2506, allocations: 3.938 kB / 420.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004439/0.251, allocations: 269.9 kB / 421.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.251, allocations: 7.984 kB / 421.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2511, allocations: 0 / 421.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.2512, allocations: 32.84 kB / 421.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2514, allocations: 55.91 kB / 421.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.2528, allocations: 1.574 MB / 422.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.253, allocations: 23.75 kB / 422.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.253, allocations: 8 kB / 422.9 MB, free: 3.5 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.0001773/0.2532, allocations: 165.8 kB / 423.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.2532, allocations: 51.41 kB / 423.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.2533, allocations: 43.83 kB / 423.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2533, allocations: 7.938 kB / 423.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2533, allocations: 3.984 kB / 423.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000474/0.2538, allocations: 0.5789 MB / 423.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008465/0.2547, allocations: 0.7069 MB / 424.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2547, allocations: 0 / 424.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.2549, allocations: 39.98 kB / 424.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2549, allocations: 0 / 424.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.2549, allocations: 11.98 kB / 424.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2549, allocations: 96 / 424.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.255, allocations: 3.938 kB / 424.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.2555, allocations: 414.5 kB / 424.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.2556, allocations: 144.6 kB / 425.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.2557, allocations: 4 kB / 425.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.2559, allocations: 8 kB / 425.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.2559, allocations: 23.83 kB / 425.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.256, allocations: 4 kB / 425.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.2563, allocations: 319.1 kB / 425.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2563, allocations: 4.062 kB / 425.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000375/0.2567, allocations: 91.84 kB / 425.5 MB, free: 0.6992 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.0009117/0.2576, allocations: 417.6 kB / 425.9 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005596/0.2582, allocations: 312.1 kB / 426.2 MB, free: 108 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2582, allocations: 192 / 426.2 MB, free: 108 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.2583, allocations: 87.91 kB / 426.3 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.2589, allocations: 108.1 kB / 426.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.2602, allocations: 0.7918 MB / 427.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.2606, allocations: 0.7921 MB / 428 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.2607, allocations: 46.94 kB / 428 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.2608, allocations: 39.42 kB / 428.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2608, allocations: 4 kB / 428.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Templates: time 0.01054/0.2714, allocations: 6.16 MB / 434.2 MB, free: 8.109 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches