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.001088/0.001088, allocations: 111.9 kB / 17.68 MB, free: 5.332 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.001083/0.001083, allocations: 192 kB / 18.62 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.365/1.365, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009559/0.0009559, allocations: 51.23 kB / 302 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08871, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004365/0.09313, allocations: 2.851 MB / 354.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.09515, allocations: 1.262 MB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.0953, allocations: 3.938 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.09584, allocations: 187.1 kB / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006414/0.09651, allocations: 202.8 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.09697, allocations: 173.8 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.09751, allocations: 449.9 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.09771, allocations: 99.48 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.09792, allocations: 183.3 kB / 356.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.09817, allocations: 207.2 kB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/0.09822, allocations: 32 kB / 357.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.09837, allocations: 67.97 kB / 357.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.09848, allocations: 79.69 kB / 357.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.09867, allocations: 202.9 kB / 357.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.09915, allocations: 482.4 kB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.09917, allocations: 0 / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.09918, allocations: 3.938 kB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.09919, allocations: 0 / 357.9 MB, free: 13.23 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.001074/0.1003, allocations: 0.6969 MB / 358.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1003, allocations: 8.031 kB / 358.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.753e-05/0.1004, allocations: 44.47 kB / 358.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.101, allocations: 350.5 kB / 359 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.101, allocations: 20.81 kB / 359 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.1011, allocations: 20.12 kB / 359 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.1015, allocations: 289.5 kB / 359.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1015, allocations: 0 / 359.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.1016, allocations: 12 kB / 359.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1016, allocations: 4 kB / 359.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.1019, allocations: 145.7 kB / 359.5 MB, free: 11.53 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.001304/0.1032, allocations: 0.832 MB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.1036, allocations: 190.3 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.1038, allocations: 76.83 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.1038, allocations: 7.984 kB / 360.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.1041, allocations: 139.2 kB / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.1041, allocations: 0 / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007818/0.1049, allocations: 410.5 kB / 361.1 MB, free: 9.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.105, allocations: 316.4 kB / 361.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.1055, allocations: 437.6 kB / 361.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.1055, allocations: 29.7 kB / 361.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.1056, allocations: 200.3 kB / 362.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.1057, allocations: 78.86 kB / 362.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.1058, allocations: 57.7 kB / 362.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.106, allocations: 350.8 kB / 362.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1061, allocations: 63.92 kB / 362.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.1064, allocations: 180.5 kB / 362.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.1067, allocations: 167.3 kB / 363 MB, free: 7.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1067, allocations: 7.938 kB / 363 MB, free: 7.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004526/0.1071, allocations: 269.9 kB / 363.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1072, allocations: 4 kB / 363.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1072, allocations: 0 / 363.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.1073, allocations: 40.77 kB / 363.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.1075, allocations: 55.98 kB / 363.3 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.109, allocations: 1.578 MB / 364.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1092, allocations: 23.84 kB / 364.9 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.1092, allocations: 12 kB / 364.9 MB, free: 5.625 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.0001782/0.1094, allocations: 166.3 kB / 365.1 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.1095, allocations: 43.53 kB / 365.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.1095, allocations: 43.58 kB / 365.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1096, allocations: 7.938 kB / 365.2 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1096, allocations: 0 / 365.2 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005161/0.1101, allocations: 0.5788 MB / 365.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.111, allocations: 0.6962 MB / 366.5 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.111, allocations: 0 / 366.5 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.1112, allocations: 55.84 kB / 366.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1112, allocations: 0 / 366.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1112, allocations: 4 kB / 366.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1113, allocations: 0 / 366.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1113, allocations: 0 / 366.5 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.1118, allocations: 416.3 kB / 366.9 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.112, allocations: 132.6 kB / 367.1 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.112, allocations: 8 kB / 367.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.1122, allocations: 15.98 kB / 367.1 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.1123, allocations: 7.984 kB / 367.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.1123, allocations: 16 kB / 367.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003158/0.1126, allocations: 311.1 kB / 367.4 MB, free: 2.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1126, allocations: 0 / 367.4 MB, free: 2.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.113, allocations: 99.91 kB / 367.5 MB, free: 2.84 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.0009013/0.1139, allocations: 434.9 kB / 367.9 MB, free: 2.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005618/0.1145, allocations: 305.4 kB / 368.2 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1145, allocations: 3.938 kB / 368.2 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.1147, allocations: 87.77 kB / 368.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.1152, allocations: 104.9 kB / 368.4 MB, free: 2.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1165, allocations: 0.7876 MB / 369.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1169, allocations: 0.796 MB / 370 MB, free: 444 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.1171, allocations: 46.94 kB / 370.1 MB, free: 396 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.1171, allocations: 35.42 kB / 370.1 MB, free: 360 kB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1171, allocations: 0 / 370.1 MB, free: 360 kB / 302.1 MB Notification: Performance of Templates: time 0.1547/0.2718, allocations: 6.081 MB / 376.2 MB, free: 24.63 MB / 302.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 -s gbode -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