Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00131/0.001311, allocations: 107.3 kB / 18.36 MB, free: 4.641 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.001296/0.001296, allocations: 192 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 55.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08501/0.08607, allocations: 46.62 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003742/0.08984, allocations: 2.858 MB / 331.6 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.09161, allocations: 1.177 MB / 332.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.09175, allocations: 0 / 332.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.09222, allocations: 183.1 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.09263, allocations: 206.8 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.09299, allocations: 151.6 kB / 333.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.09344, allocations: 446 kB / 333.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.09363, allocations: 103.5 kB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.09382, allocations: 183.3 kB / 334 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.09407, allocations: 207.1 kB / 334.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.09412, allocations: 32 kB / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.09427, allocations: 63.98 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-05/0.09437, allocations: 79.69 kB / 334.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.09457, allocations: 206.9 kB / 334.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.09503, allocations: 486.3 kB / 335.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.09504, allocations: 4 kB / 335.1 MB, free: 13.4 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09505, allocations: 0 / 335.1 MB, free: 13.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.09506, allocations: 0 / 335.1 MB, free: 13.4 MB / 286.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.000984/0.09605, allocations: 0.6968 MB / 335.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.09609, allocations: 8.031 kB / 335.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.404e-05/0.09618, allocations: 48.45 kB / 335.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.09666, allocations: 346.6 kB / 336.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.09669, allocations: 16.81 kB / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.09674, allocations: 24.11 kB / 336.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.0972, allocations: 289.5 kB / 336.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.09723, allocations: 4 kB / 336.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.09727, allocations: 12 kB / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.09728, allocations: 4 kB / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.09755, allocations: 149.7 kB / 336.6 MB, free: 11.69 MB / 286.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.001194/0.09876, allocations: 0.8281 MB / 337.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.09913, allocations: 187.1 kB / 337.6 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.09928, allocations: 76.83 kB / 337.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.09933, allocations: 11.98 kB / 337.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.09956, allocations: 135.3 kB / 337.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.09957, allocations: 0 / 337.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007942/0.1004, allocations: 406.9 kB / 338.3 MB, free: 9.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.1005, allocations: 316.4 kB / 338.6 MB, free: 9.559 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.1009, allocations: 437.6 kB / 339 MB, free: 9.125 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.101, allocations: 29.7 kB / 339 MB, free: 9.09 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1011, allocations: 196.3 kB / 339.2 MB, free: 8.895 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.1012, allocations: 78.84 kB / 339.3 MB, free: 8.816 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.1013, allocations: 61.7 kB / 339.4 MB, free: 8.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1014, allocations: 346.8 kB / 339.7 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1015, allocations: 63.97 kB / 339.8 MB, free: 8.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1017, allocations: 179.9 kB / 339.9 MB, free: 8.121 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.102, allocations: 175.2 kB / 340.1 MB, free: 7.938 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.102, allocations: 3.938 kB / 340.1 MB, free: 7.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000446/0.1025, allocations: 273.9 kB / 340.4 MB, free: 7.656 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1025, allocations: 4 kB / 340.4 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1025, allocations: 0 / 340.4 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001127/0.1027, allocations: 32.84 kB / 340.4 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.1029, allocations: 60 kB / 340.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.1042, allocations: 1.567 MB / 342 MB, free: 5.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.1044, allocations: 31.78 kB / 342.1 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1044, allocations: 12.08 kB / 342.1 MB, free: 5.801 MB / 286.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.0001612/0.1046, allocations: 173.7 kB / 342.2 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.1047, allocations: 39.53 kB / 342.3 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.1048, allocations: 39.59 kB / 342.3 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1048, allocations: 7.938 kB / 342.3 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1048, allocations: 4 kB / 342.3 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004701/0.1053, allocations: 0.5874 MB / 342.9 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008839/0.1061, allocations: 0.7041 MB / 343.6 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1062, allocations: 0 / 343.6 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.1064, allocations: 43.92 kB / 343.7 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1064, allocations: 0 / 343.7 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1064, allocations: 11.98 kB / 343.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1064, allocations: 0 / 343.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1064, allocations: 4 kB / 343.7 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.107, allocations: 402.6 kB / 344.1 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.1071, allocations: 140.6 kB / 344.2 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.1072, allocations: 4 kB / 344.2 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.1074, allocations: 12 kB / 344.2 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.1074, allocations: 15.97 kB / 344.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.1075, allocations: 8 kB / 344.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002925/0.1078, allocations: 315.2 kB / 344.6 MB, free: 3.102 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1078, allocations: 0 / 344.6 MB, free: 3.102 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.1081, allocations: 99.84 kB / 344.7 MB, free: 3.004 MB / 286.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.0008915/0.109, allocations: 413.8 kB / 345.1 MB, free: 2.602 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.1096, allocations: 306.5 kB / 345.4 MB, free: 2.289 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1096, allocations: 8.188 kB / 345.4 MB, free: 2.281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1098, allocations: 83.91 kB / 345.5 MB, free: 2.199 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.1103, allocations: 106.2 kB / 345.6 MB, free: 2.094 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1115, allocations: 0.772 MB / 346.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1119, allocations: 0.8114 MB / 347.1 MB, free: 468 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.112, allocations: 46.94 kB / 347.2 MB, free: 420 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.1121, allocations: 35.44 kB / 347.2 MB, free: 384 kB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1121, allocations: 0 / 347.2 MB, free: 384 kB / 286.1 MB Notification: Performance of Templates: time 0.01037/0.1225, allocations: 6.09 MB / 353.3 MB, free: 10.27 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches