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.001357/0.001357, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 9.023 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 60.56 kB / 306.9 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09671/0.09807, allocations: 50.53 MB / 357.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004764/0.1029, allocations: 2.916 MB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.1055, allocations: 1.391 MB / 361.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.1059, allocations: 7.938 kB / 361.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006394/0.1066, allocations: 171.3 kB / 361.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006666/0.1073, allocations: 215 kB / 362.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.1077, allocations: 115.8 kB / 362.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006285/0.1083, allocations: 441.5 kB / 362.7 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.1085, allocations: 104 kB / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.1088, allocations: 167.3 kB / 362.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.1091, allocations: 207.1 kB / 363.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.1092, allocations: 24 kB / 363.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.1094, allocations: 63.97 kB / 363.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1095, allocations: 71.69 kB / 363.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.1097, allocations: 202.9 kB / 363.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.1102, allocations: 363.4 kB / 363.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1102, allocations: 0 / 363.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1102, allocations: 0 / 363.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.1102, allocations: 0 / 363.8 MB, free: 7.852 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.001281/0.1115, allocations: 0.7008 MB / 364.5 MB, free: 7.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1115, allocations: 8.031 kB / 364.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1117, allocations: 52.31 kB / 364.6 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.1122, allocations: 342.6 kB / 364.9 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.1122, allocations: 16.81 kB / 364.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.1123, allocations: 24.06 kB / 365 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.1128, allocations: 289.5 kB / 365.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1128, allocations: 0 / 365.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.1129, allocations: 12 kB / 365.3 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1129, allocations: 4 kB / 365.3 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.1132, allocations: 153.7 kB / 365.4 MB, free: 6.137 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.001506/0.1147, allocations: 0.8283 MB / 366.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.1152, allocations: 183.1 kB / 366.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.1153, allocations: 77.58 kB / 366.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1154, allocations: 4 kB / 366.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.1157, allocations: 140.5 kB / 366.6 MB, free: 4.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.1157, allocations: 0 / 366.6 MB, free: 4.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008691/0.1166, allocations: 410.2 kB / 367 MB, free: 4.395 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.1167, allocations: 316.4 kB / 367.4 MB, free: 4.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.1173, allocations: 449.6 kB / 367.8 MB, free: 3.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1173, allocations: 29.7 kB / 367.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1175, allocations: 204.3 kB / 368 MB, free: 3.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.1176, allocations: 82.78 kB / 368.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1177, allocations: 57.7 kB / 368.2 MB, free: 3.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1178, allocations: 346.8 kB / 368.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.118, allocations: 59.97 kB / 368.6 MB, free: 2.773 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.1182, allocations: 183.9 kB / 368.7 MB, free: 2.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.1186, allocations: 177 kB / 368.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1186, allocations: 7.875 kB / 368.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005139/0.1191, allocations: 269.8 kB / 369.2 MB, free: 2.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.1191, allocations: 8 kB / 369.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1191, allocations: 0 / 369.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.1193, allocations: 32.84 kB / 369.2 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.1195, allocations: 56 kB / 369.3 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.121, allocations: 1.448 MB / 370.7 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.1213, allocations: 31.69 kB / 370.8 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1213, allocations: 12.23 kB / 370.8 MB, free: 368 kB / 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.0002052/0.1215, allocations: 169.7 kB / 370.9 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.1216, allocations: 43.52 kB / 371 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.1217, allocations: 47.59 kB / 371 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1217, allocations: 4 kB / 371 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1217, allocations: 0 / 371 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1555/0.2772, allocations: 0.5742 MB / 371.6 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.2783, allocations: 0.7012 MB / 372.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2783, allocations: 3.516 kB / 372.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.2785, allocations: 43.95 kB / 372.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.2785, allocations: 1.297 kB / 372.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.2786, allocations: 6.484 kB / 372.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2786, allocations: 2.625 kB / 372.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2786, allocations: 0.8438 kB / 372.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.2792, allocations: 403.3 kB / 372.8 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.2793, allocations: 136.8 kB / 372.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.2794, allocations: 10.16 kB / 372.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.2796, allocations: 16.06 kB / 372.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.2797, allocations: 11.52 kB / 372.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.2797, allocations: 10.11 kB / 372.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003482/0.28, allocations: 319.7 kB / 373.2 MB, free: 19.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2801, allocations: 0.5625 kB / 373.2 MB, free: 19.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.2805, allocations: 93.25 kB / 373.3 MB, free: 19.19 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.0009669/0.2815, allocations: 417.5 kB / 373.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005966/0.2821, allocations: 320.9 kB / 374.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.2821, allocations: 1.062 kB / 374.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.2823, allocations: 89.38 kB / 374.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.2829, allocations: 92.27 kB / 374.2 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2843, allocations: 0.9311 MB / 375.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2846, allocations: 0.8037 MB / 376 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.2846, allocations: 31.7 kB / 376 MB, free: 17.69 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2847, allocations: 0 / 376 MB, free: 17.69 MB / 302.1 MB Notification: Performance of Templates: time 0.009545/0.2942, allocations: 5.877 MB / 381.9 MB, free: 16.82 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/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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches