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.001538/0.001538, allocations: 108.7 kB / 16.92 MB, free: 6.145 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.001313/0.001314, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.284/1.284, allocations: 222.9 MB / 241.5 MB, free: 15.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 48.27 kB / 300.6 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0981/0.09912, allocations: 49.44 MB / 350 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004347/0.1035, allocations: 2.854 MB / 352.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1056, allocations: 1.258 MB / 354.2 MB, free: 320 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/0.1059, allocations: 3.938 kB / 354.2 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.1065, allocations: 179.1 kB / 354.3 MB, free: 136 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006529/0.1072, allocations: 202.8 kB / 354.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.1078, allocations: 173 kB / 354.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006772/0.1085, allocations: 461.3 kB / 355.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.1087, allocations: 99.47 kB / 355.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.109, allocations: 175.4 kB / 355.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.1093, allocations: 211.1 kB / 355.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.1094, allocations: 28 kB / 355.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1096, allocations: 67.98 kB / 355.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1097, allocations: 91.67 kB / 355.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.1099, allocations: 195 kB / 356 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.1105, allocations: 478.6 kB / 356.5 MB, free: 14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1105, allocations: 4 kB / 356.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1105, allocations: 4 kB / 356.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.1105, allocations: 0 / 356.5 MB, free: 13.99 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.001184/0.1117, allocations: 0.6929 MB / 357.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1117, allocations: 8.031 kB / 357.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.1119, allocations: 44.47 kB / 357.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.1123, allocations: 346.6 kB / 357.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.1123, allocations: 20.81 kB / 357.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.1124, allocations: 28.06 kB / 357.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.1128, allocations: 289.5 kB / 357.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1129, allocations: 0 / 357.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.1129, allocations: 12 kB / 357.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1129, allocations: 4 kB / 357.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.1132, allocations: 145.7 kB / 358 MB, free: 12.29 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.001526/0.1147, allocations: 0.8359 MB / 358.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.1151, allocations: 187.1 kB / 359.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.1153, allocations: 76.83 kB / 359.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.1154, allocations: 4 kB / 359.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.1157, allocations: 135.3 kB / 359.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.1157, allocations: 0 / 359.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008865/0.1166, allocations: 414.4 kB / 359.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003053/0.1169, allocations: 312.4 kB / 360 MB, free: 10.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.1175, allocations: 433.6 kB / 360.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.1176, allocations: 33.7 kB / 360.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1177, allocations: 196.3 kB / 360.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.142e-05/0.1178, allocations: 94.7 kB / 360.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1179, allocations: 53.7 kB / 360.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002545/0.1182, allocations: 354.8 kB / 361.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1183, allocations: 63.97 kB / 361.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.1186, allocations: 180.4 kB / 361.4 MB, free: 8.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1189, allocations: 167.4 kB / 361.5 MB, free: 8.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1189, allocations: 3.938 kB / 361.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004926/0.1194, allocations: 273.9 kB / 361.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.1194, allocations: 8 kB / 361.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1194, allocations: 0 / 361.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.1196, allocations: 32.84 kB / 361.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.1198, allocations: 51.91 kB / 361.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.1214, allocations: 1.582 MB / 363.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.1216, allocations: 27.88 kB / 363.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1217, allocations: 4 kB / 363.5 MB, free: 6.387 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.0002173/0.1219, allocations: 166.3 kB / 363.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.122, allocations: 43.53 kB / 363.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.492e-05/0.1221, allocations: 39.59 kB / 363.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1221, allocations: 3.938 kB / 363.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1221, allocations: 7.984 kB / 363.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005646/0.1226, allocations: 0.5828 MB / 364.3 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1237, allocations: 0.6962 MB / 365 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1237, allocations: 0 / 365 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1239, allocations: 51.91 kB / 365.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1239, allocations: 4 kB / 365.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.124, allocations: 0 / 365.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.124, allocations: 0 / 365.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.124, allocations: 4 kB / 365.1 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.1245, allocations: 400.4 kB / 365.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.1247, allocations: 144.6 kB / 365.6 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.1248, allocations: 8 kB / 365.6 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.125, allocations: 11.98 kB / 365.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.125, allocations: 15.92 kB / 365.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.1251, allocations: 8 kB / 365.7 MB, free: 4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002991/0.1254, allocations: 319.2 kB / 366 MB, free: 3.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1254, allocations: 3.938 kB / 366 MB, free: 3.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.1258, allocations: 91.84 kB / 366.1 MB, free: 3.602 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.0009579/0.1267, allocations: 418 kB / 366.5 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007865/0.1275, allocations: 329.2 kB / 366.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1275, allocations: 4.188 kB / 366.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1277, allocations: 79.91 kB / 366.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.1283, allocations: 109 kB / 367 MB, free: 2.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.1299, allocations: 0.7986 MB / 367.8 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1303, allocations: 0.7921 MB / 368.6 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.1305, allocations: 46.94 kB / 368.6 MB, free: 1.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.1306, allocations: 39.42 kB / 368.7 MB, free: 1.094 MB / 302.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1306, allocations: 0 / 368.7 MB, free: 1.094 MB / 302.1 MB Notification: Performance of Templates: time 0.1599/0.2905, allocations: 6.083 MB / 374.8 MB, free: 25.49 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/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches