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.0007523/0.0007523, allocations: 97.95 kB / 17.31 MB, free: 6.391 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.0008734/0.0008736, allocations: 179 kB / 18.21 MB, free: 5.551 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.262/1.262, allocations: 223.3 MB / 242.3 MB, free: 14.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8.438 kB / 302.1 MB, free: 5.938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09745, allocations: 50.41 MB / 352.5 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002959/0.1005, allocations: 2.545 MB / 355 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1027, allocations: 1.157 MB / 356.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1029, allocations: 7.938 kB / 356.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.1034, allocations: 163.4 kB / 356.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.1038, allocations: 187 kB / 356.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.1042, allocations: 151.1 kB / 356.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.1046, allocations: 430 kB / 357.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1048, allocations: 95.7 kB / 357.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.105, allocations: 163.3 kB / 357.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.1053, allocations: 199.1 kB / 357.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.1053, allocations: 20 kB / 357.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1055, allocations: 59.92 kB / 357.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.1056, allocations: 75.73 kB / 357.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1057, allocations: 212.6 kB / 357.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.1061, allocations: 355.3 kB / 358.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1061, allocations: 3.938 kB / 358.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1061, allocations: 0 / 358.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1061, allocations: 0 / 358.3 MB, free: 13.7 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.0008702/0.107, allocations: 0.6307 MB / 358.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.107, allocations: 8.031 kB / 358.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.1071, allocations: 52.36 kB / 358.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.1075, allocations: 330.7 kB / 359.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1076, allocations: 16.81 kB / 359.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.1076, allocations: 20.12 kB / 359.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.1081, allocations: 289.5 kB / 359.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1081, allocations: 0 / 359.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.1081, allocations: 12 kB / 359.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1081, allocations: 4 kB / 359.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.1084, allocations: 153.6 kB / 359.8 MB, free: 12.07 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.001274/0.1097, allocations: 0.8361 MB / 360.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.1101, allocations: 183.1 kB / 360.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1102, allocations: 79.83 kB / 360.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1103, allocations: 4 kB / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.1106, allocations: 142.5 kB / 361 MB, free: 10.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.1106, allocations: 0 / 361 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008142/0.1114, allocations: 406.8 kB / 361.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.1115, allocations: 320.4 kB / 361.7 MB, free: 9.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.112, allocations: 437.5 kB / 362.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.112, allocations: 29.7 kB / 362.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.1121, allocations: 204.2 kB / 362.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/0.1122, allocations: 82.78 kB / 362.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.1123, allocations: 29.7 kB / 362.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1124, allocations: 346.8 kB / 362.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1125, allocations: 67.97 kB / 362.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.1127, allocations: 172 kB / 363 MB, free: 8.523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.113, allocations: 171.4 kB / 363.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.113, allocations: 3.938 kB / 363.2 MB, free: 8.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004277/0.1135, allocations: 273.8 kB / 363.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1135, allocations: 7.938 kB / 363.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1135, allocations: 4 kB / 363.5 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.1136, allocations: 32.84 kB / 363.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.1138, allocations: 47.97 kB / 363.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.1151, allocations: 1.449 MB / 365 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.1153, allocations: 31.69 kB / 365.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.1154, allocations: 12 kB / 365.1 MB, free: 6.336 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.0001886/0.1156, allocations: 166.1 kB / 365.2 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.1156, allocations: 47.45 kB / 365.3 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/0.1157, allocations: 47.58 kB / 365.3 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1157, allocations: 0 / 365.3 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1157, allocations: 0 / 365.3 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005331/0.1163, allocations: 0.5848 MB / 365.9 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009132/0.1172, allocations: 0.6963 MB / 366.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1172, allocations: 3.938 kB / 366.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.1174, allocations: 47.91 kB / 366.6 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1174, allocations: 4 kB / 366.7 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1175, allocations: 4 kB / 366.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1175, allocations: 0 / 366.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1175, allocations: 0 / 366.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.118, allocations: 406.5 kB / 367.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.1182, allocations: 144.5 kB / 367.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.1182, allocations: 11.98 kB / 367.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.1184, allocations: 8 kB / 367.2 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.1185, allocations: 15.92 kB / 367.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1185, allocations: 11.98 kB / 367.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000325/0.1188, allocations: 315.2 kB / 367.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1188, allocations: 0 / 367.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.1192, allocations: 95.84 kB / 367.6 MB, free: 3.543 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.000929/0.1202, allocations: 425.3 kB / 368.1 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.1207, allocations: 302.4 kB / 368.4 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.1208, allocations: 8.188 kB / 368.4 MB, free: 2.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1209, allocations: 83.91 kB / 368.4 MB, free: 2.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.1215, allocations: 100.2 kB / 368.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1233, allocations: 1.017 MB / 369.6 MB, free: 1.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.1238, allocations: 0.7885 MB / 370.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.1239, allocations: 35.44 kB / 370.4 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.124, allocations: 0 / 370.4 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of Templates: time 0.1629/0.2869, allocations: 5.75 MB / 376.1 MB, free: 22.85 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 -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