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.0007847/0.0007848, allocations: 91.41 kB / 16.65 MB, free: 6.586 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.0008699/0.00087, allocations: 183 kB / 17.56 MB, free: 6.203 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.316/1.316, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002466, allocations: 9 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08787, allocations: 50.42 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002896/0.0908, allocations: 2.541 MB / 354.4 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.09272, allocations: 1.161 MB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.09291, allocations: 0 / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.09339, allocations: 163.4 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.09383, allocations: 187 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.09426, allocations: 151.7 kB / 356 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.09476, allocations: 425.9 kB / 356.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.09495, allocations: 91.72 kB / 356.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.09518, allocations: 163.3 kB / 356.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.09545, allocations: 203.1 kB / 356.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.09551, allocations: 23.94 kB / 356.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.09566, allocations: 59.97 kB / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.09576, allocations: 71.75 kB / 357 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.09595, allocations: 212.6 kB / 357.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.09641, allocations: 470.5 kB / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.09643, allocations: 0 / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.09643, allocations: 0 / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.09645, allocations: 0 / 357.7 MB, free: 13.8 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.0009105/0.09736, allocations: 0.6192 MB / 358.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.09741, allocations: 8.031 kB / 358.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.941e-05/0.0975, allocations: 48.38 kB / 358.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.09792, allocations: 338.7 kB / 358.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.09796, allocations: 16.81 kB / 358.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.098, allocations: 24.06 kB / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.09848, allocations: 297.4 kB / 359 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.09851, allocations: 0 / 359 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.09855, allocations: 15.98 kB / 359.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.09856, allocations: 8 kB / 359.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.09886, allocations: 145.7 kB / 359.2 MB, free: 12.17 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.001314/0.1002, allocations: 0.8361 MB / 360 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.1006, allocations: 183.1 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.1007, allocations: 83.83 kB / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1008, allocations: 4 kB / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.1011, allocations: 131.3 kB / 360.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.713e-06/0.1011, allocations: 0 / 360.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008349/0.1019, allocations: 417 kB / 360.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.1021, allocations: 312.4 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.1025, allocations: 437.6 kB / 361.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.1026, allocations: 29.7 kB / 361.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1027, allocations: 204.2 kB / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.1028, allocations: 74.86 kB / 361.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.1028, allocations: 29.7 kB / 361.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.103, allocations: 346.8 kB / 362.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1031, allocations: 67.97 kB / 362.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.1034, allocations: 172 kB / 362.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.1037, allocations: 171.4 kB / 362.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1037, allocations: 3.938 kB / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000482/0.1042, allocations: 277.8 kB / 362.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1042, allocations: 4 kB / 362.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.1042, allocations: 8 kB / 362.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.1043, allocations: 33.03 kB / 363 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.1045, allocations: 63.78 kB / 363 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.106, allocations: 1.452 MB / 364.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1062, allocations: 27.69 kB / 364.5 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1063, allocations: 12 kB / 364.5 MB, free: 6.422 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.0001952/0.1065, allocations: 161.8 kB / 364.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.1065, allocations: 39.53 kB / 364.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/0.1066, allocations: 51.58 kB / 364.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1066, allocations: 4 kB / 364.8 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1066, allocations: 0 / 364.8 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005249/0.1072, allocations: 0.5788 MB / 365.3 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009145/0.1081, allocations: 0.6959 MB / 366 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1081, allocations: 0 / 366 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.1083, allocations: 51.91 kB / 366.1 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1083, allocations: 4 kB / 366.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1084, allocations: 0 / 366.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1084, allocations: 4 kB / 366.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1084, allocations: 3.938 kB / 366.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.1089, allocations: 398.9 kB / 366.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1091, allocations: 140.8 kB / 366.6 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.1091, allocations: 11.98 kB / 366.6 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.1094, allocations: 12 kB / 366.7 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.1094, allocations: 24.03 kB / 366.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1095, allocations: 11.98 kB / 366.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.1098, allocations: 307.2 kB / 367 MB, free: 3.734 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1098, allocations: 0 / 367 MB, free: 3.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000382/0.1102, allocations: 103.8 kB / 367.1 MB, free: 3.633 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.0009232/0.1111, allocations: 418.2 kB / 367.5 MB, free: 3.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005718/0.1117, allocations: 310.3 kB / 367.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.1117, allocations: 4 kB / 367.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.1119, allocations: 83.91 kB / 367.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.1125, allocations: 104.2 kB / 368 MB, free: 2.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1139, allocations: 0.9735 MB / 369 MB, free: 1.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1142, allocations: 0.8002 MB / 369.8 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.1144, allocations: 50.88 kB / 369.8 MB, free: 1.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.1145, allocations: 31.44 kB / 369.8 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1145, allocations: 0 / 369.8 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of Templates: time 0.166/0.2805, allocations: 5.696 MB / 375.5 MB, free: 23.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/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