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.001485/0.001485, allocations: 113 kB / 17.68 MB, free: 5.473 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.001698/0.001698, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.335/1.335, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 52.27 kB / 302 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09197, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004232/0.09624, allocations: 2.852 MB / 354.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.0981, allocations: 1.258 MB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.09826, allocations: 4 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.09873, allocations: 183.1 kB / 355.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.09917, allocations: 202.8 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.09969, allocations: 171.2 kB / 356.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005524/0.1003, allocations: 453.9 kB / 356.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.1005, allocations: 107.5 kB / 356.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.1007, allocations: 175.4 kB / 356.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.1009, allocations: 215.1 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.101, allocations: 28 kB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1011, allocations: 67.94 kB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1013, allocations: 83.67 kB / 357.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1014, allocations: 199 kB / 357.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.1019, allocations: 490.2 kB / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1019, allocations: 4 kB / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1019, allocations: 0 / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.102, allocations: 0 / 357.9 MB, free: 13.24 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.0009882/0.1029, allocations: 0.6968 MB / 358.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.103, allocations: 8.031 kB / 358.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.037e-05/0.1031, allocations: 44.47 kB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.1035, allocations: 346.6 kB / 359 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.1035, allocations: 16.81 kB / 359 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.1036, allocations: 20.12 kB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.104, allocations: 293.5 kB / 359.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1041, allocations: 0 / 359.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.1041, allocations: 15.98 kB / 359.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1041, allocations: 4 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.1044, allocations: 145.7 kB / 359.5 MB, free: 11.54 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.001269/0.1057, allocations: 0.8359 MB / 360.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.1061, allocations: 183.1 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.1063, allocations: 76.83 kB / 360.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1063, allocations: 8 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.1066, allocations: 131.3 kB / 360.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.723e-06/0.1066, allocations: 0 / 360.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008094/0.1074, allocations: 410.4 kB / 361.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.1075, allocations: 320.4 kB / 361.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.108, allocations: 437.6 kB / 361.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.108, allocations: 33.7 kB / 361.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1082, allocations: 192.3 kB / 362.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.1083, allocations: 86.83 kB / 362.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.1083, allocations: 57.7 kB / 362.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1085, allocations: 346.8 kB / 362.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1086, allocations: 67.97 kB / 362.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.1089, allocations: 180.4 kB / 362.8 MB, free: 7.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.1092, allocations: 163.4 kB / 363 MB, free: 7.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1092, allocations: 3.938 kB / 363 MB, free: 7.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004678/0.1096, allocations: 281.8 kB / 363.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1097, allocations: 4 kB / 363.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1097, allocations: 0 / 363.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/0.1098, allocations: 28.94 kB / 363.3 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.11, allocations: 59.91 kB / 363.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.1115, allocations: 1.574 MB / 364.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1117, allocations: 23.97 kB / 364.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.1117, allocations: 15.94 kB / 365 MB, free: 5.641 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.0001661/0.1119, allocations: 166.5 kB / 365.1 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.1119, allocations: 39.53 kB / 365.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.112, allocations: 43.58 kB / 365.2 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.112, allocations: 11.94 kB / 365.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.112, allocations: 0 / 365.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004693/0.1125, allocations: 0.571 MB / 365.8 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.1134, allocations: 0.7039 MB / 366.5 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1134, allocations: 3.984 kB / 366.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.1136, allocations: 47.92 kB / 366.5 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1136, allocations: 0 / 366.5 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.1136, allocations: 4 kB / 366.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1136, allocations: 11.98 kB / 366.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1136, allocations: 0 / 366.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.1142, allocations: 400.4 kB / 366.9 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.1143, allocations: 132.6 kB / 367.1 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.1144, allocations: 11.98 kB / 367.1 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1146, allocations: 8 kB / 367.1 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1146, allocations: 15.98 kB / 367.1 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.1147, allocations: 16.05 kB / 367.1 MB, free: 3.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.115, allocations: 311.1 kB / 367.4 MB, free: 2.957 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.115, allocations: 0 / 367.4 MB, free: 2.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.1154, allocations: 99.78 kB / 367.5 MB, free: 2.859 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.0009045/0.1163, allocations: 421.7 kB / 367.9 MB, free: 2.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005447/0.1168, allocations: 309.4 kB / 368.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1168, allocations: 0 / 368.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.117, allocations: 91.7 kB / 368.3 MB, free: 2.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.1176, allocations: 113.4 kB / 368.4 MB, free: 2.082 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1188, allocations: 0.7837 MB / 369.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1192, allocations: 0.7921 MB / 370 MB, free: 464 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.1193, allocations: 46.94 kB / 370.1 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.1194, allocations: 27.44 kB / 370.1 MB, free: 388 kB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1194, allocations: 4 kB / 370.1 MB, free: 384 kB / 302.1 MB Notification: Performance of Templates: time 0.15/0.2694, allocations: 6.091 MB / 376.2 MB, free: 24.66 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 cvode -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