Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004004/0.004003, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.972/3.972, allocations: 388.9 MB / 405.6 MB, free: 47.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003598/0.003597, allocations: 224.8 kB / 451 MB, free: 2.383 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7903/0.7903, allocations: 80 MB / 0.5627 GB, free: 6.277 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006952/0.0006955, allocations: 19.94 kB / 0.6265 GB, free: 4.84 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1246, allocations: 54.88 MB / 0.6801 GB, free: 13.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4768/0.6015, allocations: 80.51 MB / 0.7587 GB, free: 39.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.6018, allocations: 71.97 kB / 0.7588 GB, free: 39.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04036/0.6422, allocations: 8.194 MB / 0.7668 GB, free: 31.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6422, allocations: 0.9688 kB / 0.7668 GB, free: 31.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.6422, allocations: 0 / 0.7668 GB, free: 31.89 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003237/0.6426, allocations: 353.1 kB / 0.7671 GB, free: 31.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.6426, allocations: 8.031 kB / 0.7671 GB, free: 31.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.6427, allocations: 6.5 kB / 0.7671 GB, free: 31.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/0.6428, allocations: 159.1 kB / 0.7673 GB, free: 31.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.6428, allocations: 4.531 kB / 0.7673 GB, free: 31.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.6428, allocations: 0.8438 kB / 0.7673 GB, free: 31.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.887e-05/0.6429, allocations: 37.86 kB / 0.7673 GB, free: 31.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.643, allocations: 0 / 0.7673 GB, free: 31.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.643, allocations: 0 / 0.7673 GB, free: 31.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.643, allocations: 0 / 0.7673 GB, free: 31.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.643, allocations: 7.953 kB / 0.7673 GB, free: 31.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.6432, allocations: 149.6 kB / 0.7675 GB, free: 31.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.6432, allocations: 27.11 kB / 0.7675 GB, free: 31.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.6432, allocations: 8.844 kB / 0.7675 GB, free: 31.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.6433, allocations: 4.062 kB / 0.7675 GB, free: 31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.6433, allocations: 32.16 kB / 0.7676 GB, free: 30.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.6433, allocations: 0 / 0.7676 GB, free: 30.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001383/0.6435, allocations: 37.7 kB / 0.7676 GB, free: 30.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.6435, allocations: 52.62 kB / 0.7676 GB, free: 30.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.754e-05/0.6436, allocations: 97.81 kB / 0.7677 GB, free: 30.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.6436, allocations: 26.23 kB / 0.7678 GB, free: 30.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.251e-05/0.6436, allocations: 89.11 kB / 0.7678 GB, free: 30.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.6437, allocations: 4.625 kB / 0.7678 GB, free: 30.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.6437, allocations: 5.594 kB / 0.7679 GB, free: 30.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.6437, allocations: 310.8 kB / 0.7681 GB, free: 30.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.6438, allocations: 4 kB / 0.7682 GB, free: 30.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.6438, allocations: 1 kB / 0.7682 GB, free: 30.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.848e-05/0.6438, allocations: 0 / 0.7682 GB, free: 30.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6438, allocations: 5.156 kB / 0.7682 GB, free: 30.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.63e-05/0.6439, allocations: 34.64 kB / 0.7682 GB, free: 30.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6439, allocations: 8 kB / 0.7682 GB, free: 30.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.6439, allocations: 11.05 kB / 0.7682 GB, free: 30.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.644, allocations: 0 / 0.7682 GB, free: 30.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.934e-06/0.644, allocations: 1.25 kB / 0.7682 GB, free: 30.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.644, allocations: 0 / 0.7682 GB, free: 30.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.644, allocations: 0 / 0.7682 GB, free: 30.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.644, allocations: 7.953 kB / 0.7682 GB, free: 30.24 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.6441, allocations: 109.8 kB / 0.7683 GB, free: 30.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.6441, allocations: 1.969 kB / 0.7683 GB, free: 30.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.6442, allocations: 44.75 kB / 0.7684 GB, free: 30.08 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.6443, allocations: 2.75 kB / 0.7684 GB, free: 30.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6443, allocations: 0 / 0.7684 GB, free: 30.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.6443, allocations: 4.75 kB / 0.7684 GB, free: 30.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.08e-05/0.6444, allocations: 157.6 kB / 0.7685 GB, free: 29.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.6444, allocations: 0 / 0.7685 GB, free: 29.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.6444, allocations: 0 / 0.7685 GB, free: 29.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6444, allocations: 0 / 0.7685 GB, free: 29.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.6444, allocations: 4 kB / 0.7685 GB, free: 29.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6444, allocations: 0 / 0.7685 GB, free: 29.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6444, allocations: 3.375 kB / 0.7685 GB, free: 29.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.462e-05/0.6445, allocations: 69.02 kB / 0.7686 GB, free: 29.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.6446, allocations: 77.11 kB / 0.7687 GB, free: 29.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.6446, allocations: 0 / 0.7687 GB, free: 29.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.6446, allocations: 4 kB / 0.7687 GB, free: 29.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.6447, allocations: 0.6875 kB / 0.7687 GB, free: 29.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.6447, allocations: 0 / 0.7687 GB, free: 29.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.413e-05/0.6447, allocations: 80.16 kB / 0.7688 GB, free: 29.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6447, allocations: 0.5625 kB / 0.7688 GB, free: 29.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.6451, allocations: 51.92 kB / 0.7688 GB, free: 29.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003367/0.6454, allocations: 146.6 kB / 0.7689 GB, free: 29.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.857e-05/0.6455, allocations: 33.69 kB / 0.769 GB, free: 29.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6455, allocations: 0.9375 kB / 0.769 GB, free: 29.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.6456, allocations: 33.64 kB / 0.769 GB, free: 29.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.6457, allocations: 7.891 kB / 0.769 GB, free: 29.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.646, allocations: 84.23 kB / 0.7691 GB, free: 29.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.6461, allocations: 0.6784 MB / 0.7698 GB, free: 28.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.403e-05/0.6461, allocations: 0 / 0.7698 GB, free: 28.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-06/0.6462, allocations: 11.44 kB / 0.7698 GB, free: 28.5 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6462, allocations: 0 / 0.7698 GB, free: 28.5 MB / 394.7 MB Notification: Performance of Templates: time 0.003713/0.6499, allocations: 0.9698 MB / 0.7707 GB, free: 27.58 MB / 394.7 MB