Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.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.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004723/0.004723, allocations: 361.9 kB / 15.95 MB, free: 6.207 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.1/4.1, allocations: 388.9 MB / 405.6 MB, free: 9.574 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.003586/0.003585, allocations: 231.4 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.5155/0.5155, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006203/0.0006207, allocations: 8 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09696/0.09762, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5441, allocations: 79.65 MB / 0.7579 GB, free: 5.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.5444, allocations: 69.5 kB / 0.7579 GB, free: 5.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005928/0.5504, allocations: 1.896 MB / 0.7598 GB, free: 4.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5504, allocations: 0 / 0.7598 GB, free: 4.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.5504, allocations: 0 / 0.7598 GB, free: 4.141 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.0003474/0.5508, allocations: 366.5 kB / 0.7601 GB, free: 3.734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5509, allocations: 8.031 kB / 0.7601 GB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.5509, allocations: 4.922 kB / 0.7601 GB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.957e-05/0.551, allocations: 159.1 kB / 0.7603 GB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.551, allocations: 1.031 kB / 0.7603 GB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.5511, allocations: 7.938 kB / 0.7603 GB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.838e-05/0.5512, allocations: 29.7 kB / 0.7603 GB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5512, allocations: 0 / 0.7603 GB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.5512, allocations: 2.812 kB / 0.7603 GB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5512, allocations: 4 kB / 0.7603 GB, free: 3.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.957e-05/0.5512, allocations: 11.88 kB / 0.7604 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.5514, allocations: 144.6 kB / 0.7605 GB, free: 3.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.918e-05/0.5514, allocations: 18.61 kB / 0.7605 GB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.5514, allocations: 11.45 kB / 0.7605 GB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.5515, allocations: 4 kB / 0.7605 GB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.5515, allocations: 63.83 kB / 0.7606 GB, free: 3.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.5515, allocations: 0 / 0.7606 GB, free: 3.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001735/0.5517, allocations: 63.39 kB / 0.7606 GB, free: 3.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5517, allocations: 77.11 kB / 0.7607 GB, free: 2.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.5518, allocations: 93.17 kB / 0.7608 GB, free: 2.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.5518, allocations: 25.7 kB / 0.7608 GB, free: 2.867 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.669e-05/0.5519, allocations: 84.39 kB / 0.7609 GB, free: 2.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.5519, allocations: 4 kB / 0.7609 GB, free: 2.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.5519, allocations: 0 / 0.7609 GB, free: 2.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.552, allocations: 318.8 kB / 0.7612 GB, free: 2.457 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.552, allocations: 3.938 kB / 0.7612 GB, free: 2.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-06/0.552, allocations: 0 / 0.7612 GB, free: 2.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.329e-05/0.552, allocations: 29.7 kB / 0.7613 GB, free: 2.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.552, allocations: 0 / 0.7613 GB, free: 2.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.298e-05/0.5521, allocations: 66.28 kB / 0.7613 GB, free: 2.344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.5522, allocations: 37.62 kB / 0.7614 GB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5522, allocations: 0 / 0.7614 GB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5522, allocations: 0 / 0.7614 GB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.5522, allocations: 4 kB / 0.7614 GB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5522, allocations: 0 / 0.7614 GB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.5523, allocations: 0 / 0.7614 GB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.5523, allocations: 0 / 0.7614 GB, free: 2.297 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 7.091e-05/0.5524, allocations: 140.3 kB / 0.7615 GB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-06/0.5524, allocations: 3.438 kB / 0.7615 GB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.43e-05/0.5524, allocations: 11.11 kB / 0.7615 GB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.5524, allocations: 0 / 0.7615 GB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5524, allocations: 3.984 kB / 0.7615 GB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5524, allocations: 3.984 kB / 0.7615 GB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.25e-05/0.5525, allocations: 153.6 kB / 0.7617 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5525, allocations: 0 / 0.7617 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-06/0.5525, allocations: 0 / 0.7617 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.5525, allocations: 3.938 kB / 0.7617 GB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.5526, allocations: 0 / 0.7617 GB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5526, allocations: 4 kB / 0.7617 GB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5526, allocations: 15.97 kB / 0.7617 GB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.621e-05/0.5527, allocations: 85.92 kB / 0.7618 GB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.5527, allocations: 81.11 kB / 0.7618 GB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.5528, allocations: 3.984 kB / 0.7618 GB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.5528, allocations: 0 / 0.7618 GB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.5528, allocations: 0.75 kB / 0.7618 GB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.5528, allocations: 0 / 0.7618 GB, free: 1.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.306e-05/0.5528, allocations: 84.19 kB / 0.7619 GB, free: 1.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5529, allocations: 0 / 0.7619 GB, free: 1.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.5532, allocations: 20.61 kB / 0.7619 GB, free: 1.594 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.0004687/0.5536, allocations: 193 kB / 0.7621 GB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.693e-05/0.5537, allocations: 63.97 kB / 0.7622 GB, free: 1.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5538, allocations: 0 / 0.7622 GB, free: 1.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.5538, allocations: 56.34 kB / 0.7622 GB, free: 1.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.554, allocations: 3.953 kB / 0.7622 GB, free: 1.289 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001754/0.5541, allocations: 88.66 kB / 0.7623 GB, free: 1.176 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.5543, allocations: 0.6733 MB / 0.763 GB, free: 488 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.662e-06/0.5543, allocations: 4 kB / 0.763 GB, free: 484 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.5543, allocations: 7.438 kB / 0.763 GB, free: 476 kB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5543, allocations: 0 / 0.763 GB, free: 476 kB / 346.7 MB Notification: Performance of Templates: time 0.003767/0.5581, allocations: 0.6092 MB / 0.7636 GB, free: 15.88 MB / 362.7 MB