Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00421/0.004217, allocations: 360 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.89/3.89, allocations: 388.9 MB / 405.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003657/0.003657, allocations: 220.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5188/0.5188, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006205/0.0006207, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1208, allocations: 54.88 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6025/0.7233, allocations: 79.26 MB / 0.7575 GB, free: 6.059 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.7236, allocations: 77.75 kB / 0.7576 GB, free: 6.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003532/0.7272, allocations: 0.8972 MB / 0.7584 GB, free: 5.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.7272, allocations: 0 / 0.7584 GB, free: 5.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.7273, allocations: 0 / 0.7584 GB, free: 5.211 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002368/0.7275, allocations: 343.1 kB / 0.7588 GB, free: 4.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7276, allocations: 8.031 kB / 0.7588 GB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.7276, allocations: 11.94 kB / 0.7588 GB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.122e-05/0.7277, allocations: 167 kB / 0.7589 GB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.7277, allocations: 6.375 kB / 0.759 GB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.7277, allocations: 4 kB / 0.759 GB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.7279, allocations: 57.45 kB / 0.759 GB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.7279, allocations: 4 kB / 0.759 GB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.7279, allocations: 7.812 kB / 0.759 GB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.728, allocations: 0 / 0.759 GB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.7281, allocations: 55.22 kB / 0.7591 GB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.7283, allocations: 169 kB / 0.7592 GB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.7284, allocations: 73.05 kB / 0.7593 GB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.7285, allocations: 28.28 kB / 0.7593 GB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/0.7288, allocations: 255.6 kB / 0.7596 GB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.7289, allocations: 42.31 kB / 0.7596 GB, free: 3.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.734e-06/0.7289, allocations: 0 / 0.7596 GB, free: 3.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.000266/0.7291, allocations: 96.61 kB / 0.7597 GB, free: 3.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.7292, allocations: 55.41 kB / 0.7598 GB, free: 3.703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.7292, allocations: 93.86 kB / 0.7598 GB, free: 3.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.7293, allocations: 25.7 kB / 0.7599 GB, free: 3.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.7293, allocations: 84.09 kB / 0.76 GB, free: 3.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.7293, allocations: 43.19 kB / 0.76 GB, free: 3.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.7294, allocations: 4 kB / 0.76 GB, free: 3.445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.7294, allocations: 310.8 kB / 0.7603 GB, free: 3.133 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.7295, allocations: 19.55 kB / 0.7603 GB, free: 3.121 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.7295, allocations: 15.81 kB / 0.7603 GB, free: 3.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.898e-05/0.7296, allocations: 19.42 kB / 0.7603 GB, free: 3.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7296, allocations: 4.125 kB / 0.7604 GB, free: 3.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001584/0.7298, allocations: 80.75 kB / 0.7604 GB, free: 3.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.7298, allocations: 8 kB / 0.7604 GB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7298, allocations: 0.6562 kB / 0.7604 GB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.7299, allocations: 3.984 kB / 0.7604 GB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.73, allocations: 15.94 kB / 0.7605 GB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.73, allocations: 3.984 kB / 0.7605 GB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.7301, allocations: 7.906 kB / 0.7605 GB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.7301, allocations: 3.953 kB / 0.7605 GB, free: 2.98 MB / 346.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.174e-05/0.7302, allocations: 118.5 kB / 0.7606 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.7302, allocations: 3.938 kB / 0.7606 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.7304, allocations: 101.3 kB / 0.7607 GB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7305, allocations: 4 kB / 0.7607 GB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7305, allocations: 0 / 0.7607 GB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7305, allocations: 3.562 kB / 0.7607 GB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.7306, allocations: 177 kB / 0.7609 GB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7306, allocations: 3.938 kB / 0.7609 GB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.7307, allocations: 12 kB / 0.7609 GB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.7308, allocations: 4 kB / 0.7609 GB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.7308, allocations: 3.984 kB / 0.7609 GB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7308, allocations: 4 kB / 0.7609 GB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7308, allocations: 0 / 0.7609 GB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.731, allocations: 108.5 kB / 0.761 GB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.731, allocations: 85.02 kB / 0.7611 GB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.731, allocations: 3.984 kB / 0.7611 GB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.662e-05/0.7311, allocations: 3.875 kB / 0.7611 GB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.7311, allocations: 8 kB / 0.7611 GB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.7311, allocations: 3.938 kB / 0.7611 GB, free: 2.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.13e-05/0.7312, allocations: 79.28 kB / 0.7612 GB, free: 2.219 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7312, allocations: 0 / 0.7612 GB, free: 2.219 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.7314, allocations: 27.67 kB / 0.7612 GB, free: 2.195 MB / 346.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001378/0.7316, allocations: 103.2 kB / 0.7613 GB, free: 2.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.7318, allocations: 50.98 kB / 0.7613 GB, free: 2.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7318, allocations: 4.094 kB / 0.7613 GB, free: 2.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.327e-05/0.7319, allocations: 35.86 kB / 0.7614 GB, free: 2.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.732, allocations: 15.14 kB / 0.7614 GB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.7324, allocations: 142.9 kB / 0.7615 GB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.7325, allocations: 0.6809 MB / 0.7622 GB, free: 1.145 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.766e-05/0.7326, allocations: 19.7 kB / 0.7622 GB, free: 1.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.7326, allocations: 11.44 kB / 0.7622 GB, free: 1.113 MB / 346.7 MB Notification: Performance of SimCode: time 6.22e-07/0.7326, allocations: 0 / 0.7622 GB, free: 1.113 MB / 346.7 MB Notification: Performance of Templates: time 0.003219/0.7359, allocations: 0.6131 MB / 0.7628 GB, free: 0.5117 MB / 346.7 MB