Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009053/0.0009054, allocations: 94.7 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002686, allocations: 12 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2557, allocations: 47.56 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0888/0.3446, allocations: 80.02 MB / 455.8 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.3448, allocations: 67.97 kB / 455.9 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.3614, allocations: 6.155 MB / 462 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3615, allocations: 0 / 462 MB, free: 10.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.3615, allocations: 8 kB / 462.1 MB, free: 10.39 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001002/0.3625, allocations: 0.6249 MB / 462.7 MB, free: 9.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3625, allocations: 8.031 kB / 462.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.935e-05/0.3626, allocations: 39.62 kB / 462.7 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.3631, allocations: 291 kB / 463 MB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/0.3632, allocations: 50.09 kB / 463.1 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.3632, allocations: 24 kB / 463.1 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.3638, allocations: 321.4 kB / 463.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3638, allocations: 7.984 kB / 463.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.3638, allocations: 12 kB / 463.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3638, allocations: 8 kB / 463.4 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.3643, allocations: 205.6 kB / 463.6 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.3657, allocations: 0.7992 MB / 464.4 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/0.3664, allocations: 316.6 kB / 464.7 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.3665, allocations: 11.97 kB / 464.7 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3665, allocations: 38.56 kB / 464.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.3665, allocations: 0 / 464.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001015/0.3675, allocations: 493 kB / 465.3 MB, free: 6.949 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.3677, allocations: 316.4 kB / 465.6 MB, free: 6.566 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.3679, allocations: 258 kB / 465.8 MB, free: 6.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.368, allocations: 33.7 kB / 465.9 MB, free: 6.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3681, allocations: 168.8 kB / 466 MB, free: 6.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.3682, allocations: 102.4 kB / 466.1 MB, free: 6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.3682, allocations: 4 kB / 466.1 MB, free: 5.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3684, allocations: 342.8 kB / 466.5 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.3686, allocations: 95.95 kB / 466.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.3689, allocations: 212.4 kB / 466.8 MB, free: 5.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.3691, allocations: 143 kB / 466.9 MB, free: 5.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3692, allocations: 0 / 466.9 MB, free: 5.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000641/0.3698, allocations: 381.8 kB / 467.3 MB, free: 4.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.3699, allocations: 37.7 kB / 467.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3699, allocations: 0 / 467.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/0.37, allocations: 36.84 kB / 467.3 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.3711, allocations: 203.8 kB / 467.5 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.3748, allocations: 3.106 MB / 470.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.3751, allocations: 43.72 kB / 470.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.3752, allocations: 11.94 kB / 470.7 MB, free: 1.066 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 2} Notification: Performance of prepare postOptimizeDAE: time 0.000205/0.3754, allocations: 149.8 kB / 470.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.3754, allocations: 43.56 kB / 470.9 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.391e-05/0.3755, allocations: 43.02 kB / 470.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3755, allocations: 0 / 470.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3756, allocations: 0 / 470.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007011/0.3763, allocations: 0.6621 MB / 471.6 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004455/0.3767, allocations: 385.2 kB / 472 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3767, allocations: 4 kB / 472 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.3781, allocations: 251.7 kB / 472.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.125e-05/0.3782, allocations: 24.84 kB / 472.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.3782, allocations: 4 kB / 472.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.3813, allocations: 2.938 MB / 475.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3813, allocations: 128 / 475.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.3821, allocations: 0.5194 MB / 475.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3823, allocations: 140.7 kB / 475.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.3823, allocations: 4 kB / 475.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.3825, allocations: 23.92 kB / 475.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.3826, allocations: 23.97 kB / 475.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.3827, allocations: 7.984 kB / 475.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.3829, allocations: 202 kB / 476.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3829, allocations: 0 / 476.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004339/0.3833, allocations: 111.8 kB / 476.2 MB, free: 11.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001814/0.3835, allocations: 134 kB / 476.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.385, allocations: 0.5565 MB / 476.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.385, allocations: 7.938 kB / 476.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.3864, allocations: 426.9 kB / 477.3 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.3869, allocations: 76.55 kB / 477.4 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3887, allocations: 1.029 MB / 478.4 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.389, allocations: 0.784 MB / 479.2 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.3892, allocations: 34.97 kB / 479.2 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.3893, allocations: 27.42 kB / 479.3 MB, free: 7.91 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3893, allocations: 4 kB / 479.3 MB, free: 7.906 MB / 362.7 MB Notification: Performance of Templates: time 0.009463/0.3988, allocations: 5.469 MB / 484.7 MB, free: 2.469 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches