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.0011/0.0011, allocations: 108.4 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.001109/0.001109, allocations: 191 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.307/1.307, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001157/0.001158, allocations: 51.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07978/0.08095, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00396/0.08494, allocations: 2.851 MB / 331.6 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.08669, allocations: 1.174 MB / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.08684, allocations: 7.938 kB / 332.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.08733, allocations: 191.1 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.08772, allocations: 198.8 kB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.08806, allocations: 151.6 kB / 333.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.08851, allocations: 454 kB / 333.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.08871, allocations: 99.48 kB / 333.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.08889, allocations: 183.3 kB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.08913, allocations: 203.2 kB / 334.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.08919, allocations: 28 kB / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.08932, allocations: 63.98 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.28e-05/0.08942, allocations: 91.61 kB / 334.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.0896, allocations: 202.9 kB / 334.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004955/0.09011, allocations: 486.4 kB / 335.1 MB, free: 13.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.09013, allocations: 0 / 335.1 MB, free: 13.4 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09014, allocations: 4 kB / 335.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.09015, allocations: 0 / 335.1 MB, free: 13.39 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.0009358/0.09109, allocations: 0.6967 MB / 335.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.09113, allocations: 8.031 kB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.904e-05/0.09121, allocations: 44.47 kB / 335.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.09169, allocations: 346.6 kB / 336.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.09172, allocations: 12.81 kB / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.09178, allocations: 24.12 kB / 336.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.09225, allocations: 293.5 kB / 336.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.09228, allocations: 3.938 kB / 336.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.09232, allocations: 8 kB / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.09233, allocations: 8 kB / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.09263, allocations: 145.6 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.001303/0.09394, allocations: 0.8321 MB / 337.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.09434, allocations: 187.1 kB / 337.6 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.0945, allocations: 80.83 kB / 337.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.09455, allocations: 11.98 kB / 337.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.0948, allocations: 135.2 kB / 337.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.09481, allocations: 0 / 337.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008475/0.09566, allocations: 399 kB / 338.3 MB, free: 9.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.09582, allocations: 320.3 kB / 338.6 MB, free: 9.555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.09627, allocations: 441.5 kB / 339 MB, free: 9.117 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.09631, allocations: 33.7 kB / 339 MB, free: 9.078 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.09647, allocations: 196.3 kB / 339.2 MB, free: 8.883 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.09653, allocations: 74.86 kB / 339.3 MB, free: 8.809 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.09663, allocations: 61.7 kB / 339.4 MB, free: 8.742 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.09677, allocations: 350.8 kB / 339.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.09691, allocations: 63.98 kB / 339.8 MB, free: 8.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.09714, allocations: 167.9 kB / 339.9 MB, free: 8.121 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.09747, allocations: 187.2 kB / 340.1 MB, free: 7.926 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.09749, allocations: 3.938 kB / 340.1 MB, free: 7.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004582/0.09795, allocations: 265.9 kB / 340.4 MB, free: 7.652 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.09798, allocations: 8 kB / 340.4 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.09799, allocations: 3.984 kB / 340.4 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.09813, allocations: 36.94 kB / 340.4 MB, free: 7.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.09836, allocations: 51.92 kB / 340.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.09983, allocations: 1.57 MB / 342 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.1, allocations: 23.84 kB / 342.1 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1001, allocations: 12 kB / 342.1 MB, free: 5.797 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.0001682/0.1002, allocations: 165.8 kB / 342.2 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.1003, allocations: 43.53 kB / 342.3 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.792e-05/0.1004, allocations: 55.58 kB / 342.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1004, allocations: 3.938 kB / 342.3 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1004, allocations: 0 / 342.3 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005387/0.101, allocations: 0.5758 MB / 342.9 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008575/0.1018, allocations: 0.7001 MB / 343.6 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1018, allocations: 0 / 343.6 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.1021, allocations: 47.97 kB / 343.7 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1021, allocations: 0 / 343.7 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1021, allocations: 8.094 kB / 343.7 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1021, allocations: 3.938 kB / 343.7 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1021, allocations: 0 / 343.7 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.1027, allocations: 410.6 kB / 344.1 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.1028, allocations: 136.6 kB / 344.2 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.1029, allocations: 8 kB / 344.2 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.1031, allocations: 11.98 kB / 344.2 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.1032, allocations: 16.05 kB / 344.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1032, allocations: 8 kB / 344.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003181/0.1035, allocations: 311.1 kB / 344.6 MB, free: 3.105 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1035, allocations: 0 / 344.6 MB, free: 3.105 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.1039, allocations: 95.84 kB / 344.7 MB, free: 3.012 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.0009442/0.1048, allocations: 426.2 kB / 345.1 MB, free: 2.602 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005765/0.1054, allocations: 310.5 kB / 345.4 MB, free: 2.285 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1054, allocations: 0 / 345.4 MB, free: 2.285 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1056, allocations: 79.91 kB / 345.4 MB, free: 2.207 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.1062, allocations: 110.4 kB / 345.6 MB, free: 2.098 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.1075, allocations: 0.7836 MB / 346.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1079, allocations: 0.7998 MB / 347.1 MB, free: 472 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.1081, allocations: 42.95 kB / 347.2 MB, free: 428 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.1082, allocations: 31.42 kB / 347.2 MB, free: 396 kB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1082, allocations: 0 / 347.2 MB, free: 396 kB / 286.1 MB Notification: Performance of Templates: time 0.01095/0.1191, allocations: 6.098 MB / 353.3 MB, free: 10.28 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 cvode -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