Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002826/0.002826, allocations: 362 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 4.069/4.069, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003552/0.003552, allocations: 228.3 kB / 451 MB, free: 145.1 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.5082/0.5082, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007372/0.0007375, allocations: 15.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1382, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4848/0.623, allocations: 79.69 MB / 0.7579 GB, free: 5.555 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.6234, allocations: 74.08 kB / 0.758 GB, free: 5.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007522/0.6309, allocations: 1.914 MB / 0.7598 GB, free: 3.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.631, allocations: 3.219 kB / 0.7598 GB, free: 3.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.631, allocations: 0 / 0.7598 GB, free: 3.867 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000274/0.6313, allocations: 369.6 kB / 0.7602 GB, free: 3.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6313, allocations: 8.031 kB / 0.7602 GB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.6313, allocations: 3.953 kB / 0.7602 GB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.984e-05/0.6314, allocations: 166.4 kB / 0.7604 GB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.6314, allocations: 0 / 0.7604 GB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.6315, allocations: 0.6875 kB / 0.7604 GB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.6315, allocations: 29.7 kB / 0.7604 GB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6316, allocations: 7.984 kB / 0.7604 GB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.6316, allocations: 0 / 0.7604 GB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6316, allocations: 3.938 kB / 0.7604 GB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.6316, allocations: 7.891 kB / 0.7604 GB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.6317, allocations: 141.7 kB / 0.7606 GB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.252e-05/0.6318, allocations: 26.22 kB / 0.7606 GB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.6318, allocations: 4.859 kB / 0.7606 GB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.6318, allocations: 4 kB / 0.7606 GB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.6319, allocations: 64.31 kB / 0.7606 GB, free: 2.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.6319, allocations: 0 / 0.7606 GB, free: 2.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001776/0.6321, allocations: 66.91 kB / 0.7607 GB, free: 2.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.6321, allocations: 77.11 kB / 0.7608 GB, free: 2.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.647e-05/0.6322, allocations: 89.86 kB / 0.7609 GB, free: 2.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.6322, allocations: 25.7 kB / 0.7609 GB, free: 2.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.686e-05/0.6322, allocations: 80.27 kB / 0.761 GB, free: 2.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.6323, allocations: 4 kB / 0.761 GB, free: 2.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.6323, allocations: 0 / 0.761 GB, free: 2.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.6323, allocations: 322.8 kB / 0.7613 GB, free: 2.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.6324, allocations: 0 / 0.7613 GB, free: 2.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-06/0.6324, allocations: 0 / 0.7613 GB, free: 2.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.6324, allocations: 25.7 kB / 0.7613 GB, free: 2.148 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6324, allocations: 4 kB / 0.7613 GB, free: 2.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.104e-05/0.6325, allocations: 58.59 kB / 0.7614 GB, free: 2.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.6325, allocations: 45.72 kB / 0.7614 GB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6326, allocations: 0 / 0.7614 GB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.6326, allocations: 0 / 0.7614 GB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-06/0.6326, allocations: 0 / 0.7614 GB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6326, allocations: 3.938 kB / 0.7614 GB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.6326, allocations: 0 / 0.7614 GB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.6327, allocations: 0 / 0.7614 GB, free: 2.023 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: 1 (result) * 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: 1 * 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 8.277e-05/0.6327, allocations: 144.3 kB / 0.7616 GB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.6328, allocations: 0 / 0.7616 GB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.66e-05/0.6328, allocations: 14.2 kB / 0.7616 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6328, allocations: 0 / 0.7616 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6328, allocations: 4 kB / 0.7616 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.6328, allocations: 0 / 0.7616 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.264e-05/0.6329, allocations: 151.4 kB / 0.7617 GB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6329, allocations: 0 / 0.7617 GB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.6329, allocations: 3.938 kB / 0.7617 GB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6329, allocations: 0 / 0.7617 GB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.633, allocations: 4 kB / 0.7617 GB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.633, allocations: 0.5469 kB / 0.7617 GB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.633, allocations: 0 / 0.7617 GB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.885e-05/0.6331, allocations: 98.41 kB / 0.7618 GB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.6331, allocations: 81.11 kB / 0.7619 GB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.6331, allocations: 0 / 0.7619 GB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.6332, allocations: 0 / 0.7619 GB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.6332, allocations: 3.984 kB / 0.7619 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.6332, allocations: 0 / 0.7619 GB, free: 1.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.701e-05/0.6332, allocations: 79.28 kB / 0.762 GB, free: 1.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6332, allocations: 4.031 kB / 0.762 GB, free: 1.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.6336, allocations: 43.62 kB / 0.762 GB, free: 1.309 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: 1 (result) * Number of discrete states: 1 (result) * 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: 1 * 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.0005553/0.6342, allocations: 227.9 kB / 0.7622 GB, free: 1.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.024e-05/0.6343, allocations: 59.39 kB / 0.7623 GB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6343, allocations: 0 / 0.7623 GB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.6343, allocations: 55.41 kB / 0.7623 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.6345, allocations: 7.266 kB / 0.7624 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001711/0.6347, allocations: 82.08 kB / 0.7624 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.6348, allocations: 0.677 MB / 0.7631 GB, free: 168 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.611e-06/0.6348, allocations: 0 / 0.7631 GB, free: 168 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.103e-05/0.6348, allocations: 11.56 kB / 0.7631 GB, free: 156 kB / 346.7 MB Notification: Performance of SimCode: time 7.02e-07/0.6348, allocations: 0 / 0.7631 GB, free: 156 kB / 346.7 MB Notification: Performance of Templates: time 0.004209/0.6391, allocations: 0.8445 MB / 0.7639 GB, free: 15.32 MB / 362.7 MB