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.0007691/0.0007691, allocations: 91.66 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009644/0.0009645, allocations: 204.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.000269, allocations: 4 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08902/0.08931, allocations: 51.53 MB / 359.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002845/0.0922, allocations: 2.547 MB / 361.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.0943, allocations: 1.309 MB / 363.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.09452, allocations: 7.938 kB / 363.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.09498, allocations: 171.4 kB / 363.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.09548, allocations: 211 kB / 363.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.09579, allocations: 115.8 kB / 363.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.09629, allocations: 434 kB / 364 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.09647, allocations: 99.98 kB / 364.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.09669, allocations: 167.2 kB / 364.3 MB, free: 8.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.09695, allocations: 203.1 kB / 364.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.097, allocations: 20 kB / 364.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.09715, allocations: 55.98 kB / 364.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.98e-05/0.09724, allocations: 79.67 kB / 364.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.09743, allocations: 220.6 kB / 364.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.09784, allocations: 462.5 kB / 365.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.09786, allocations: 0 / 365.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09786, allocations: 0 / 365.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.09788, allocations: 0 / 365.3 MB, free: 7.227 MB / 302.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.0008437/0.09872, allocations: 0.6346 MB / 365.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.09876, allocations: 8.031 kB / 366 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.521e-05/0.09886, allocations: 52.41 kB / 366 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.09925, allocations: 338.6 kB / 366.3 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.09928, allocations: 12.81 kB / 366.3 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.09933, allocations: 28.12 kB / 366.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.09977, allocations: 297.4 kB / 366.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.09979, allocations: 3.984 kB / 366.7 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.09982, allocations: 12 kB / 366.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.09983, allocations: 4 kB / 366.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.1001, allocations: 141.7 kB / 366.8 MB, free: 5.582 MB / 302.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.001154/0.1013, allocations: 0.8322 MB / 367.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.1016, allocations: 195.1 kB / 367.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1018, allocations: 75.84 kB / 367.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.1018, allocations: 11.97 kB / 367.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.1021, allocations: 138.7 kB / 368.1 MB, free: 4.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.1021, allocations: 4 kB / 368.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007518/0.1029, allocations: 410.8 kB / 368.5 MB, free: 3.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.103, allocations: 312.4 kB / 368.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.1034, allocations: 445.6 kB / 369.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1035, allocations: 33.7 kB / 369.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1036, allocations: 208.2 kB / 369.4 MB, free: 2.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.1037, allocations: 70.95 kB / 369.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.1037, allocations: 25.7 kB / 369.5 MB, free: 2.645 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1039, allocations: 358.7 kB / 369.9 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.104, allocations: 59.97 kB / 370 MB, free: 2.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.1042, allocations: 176 kB / 370.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.1045, allocations: 173 kB / 370.3 MB, free: 1.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1045, allocations: 3.938 kB / 370.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004258/0.105, allocations: 277.8 kB / 370.6 MB, free: 1.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.105, allocations: 8 kB / 370.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.105, allocations: 0 / 370.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.1051, allocations: 32.84 kB / 370.6 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.1053, allocations: 51.91 kB / 370.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1542/0.2596, allocations: 1.448 MB / 372.1 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.2599, allocations: 28.08 kB / 372.1 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.26, allocations: 9.109 kB / 372.1 MB, free: 18.5 MB / 302.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.0002488/0.2602, allocations: 179.9 kB / 372.3 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.2603, allocations: 38.89 kB / 372.4 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.2604, allocations: 42.2 kB / 372.4 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2605, allocations: 2.953 kB / 372.4 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2605, allocations: 0.5312 kB / 372.4 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005128/0.261, allocations: 0.5797 MB / 373 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009591/0.262, allocations: 0.7084 MB / 373.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.262, allocations: 0 / 373.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.2622, allocations: 46.09 kB / 373.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2622, allocations: 4.062 kB / 373.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.2622, allocations: 10.14 kB / 373.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2622, allocations: 1 kB / 373.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2622, allocations: 0.9375 kB / 373.7 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.2628, allocations: 399.2 kB / 374.1 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2629, allocations: 147.1 kB / 374.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.263, allocations: 8.156 kB / 374.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.2632, allocations: 15.81 kB / 374.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.2633, allocations: 12.59 kB / 374.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.2633, allocations: 9.422 kB / 374.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003486/0.2637, allocations: 320.8 kB / 374.6 MB, free: 17.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2637, allocations: 0 / 374.6 MB, free: 17.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000442/0.2641, allocations: 90.05 kB / 374.7 MB, free: 17.21 MB / 302.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.00093/0.2651, allocations: 414.8 kB / 375.1 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000628/0.2657, allocations: 316 kB / 375.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.2657, allocations: 1.719 kB / 375.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.2659, allocations: 81.95 kB / 375.5 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.2665, allocations: 95.8 kB / 375.6 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2681, allocations: 0.9793 MB / 376.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.2684, allocations: 0.7967 MB / 377.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.2686, allocations: 49.84 kB / 377.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.2687, allocations: 33.47 kB / 377.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2687, allocations: 4 kB / 377.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Templates: time 0.01181/0.2805, allocations: 5.74 MB / 383.2 MB, free: 14.93 MB / 302.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