Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.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.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002771/0.002776, 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.824/3.824, 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.00363/0.00363, allocations: 228.7 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.9079/0.9079, allocations: 80.01 MB / 0.5627 GB, free: 5.988 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008651/0.0008655, allocations: 12 kB / 0.6265 GB, free: 4.562 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.141, allocations: 54.88 MB / 0.6801 GB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4395/0.5806, allocations: 81.44 MB / 0.7596 GB, free: 38.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.5809, allocations: 68.62 kB / 0.7597 GB, free: 38.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01247/0.5934, allocations: 2.695 MB / 0.7623 GB, free: 36.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5935, allocations: 0 / 0.7623 GB, free: 36.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.5935, allocations: 1.312 kB / 0.7623 GB, free: 36.11 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.0003734/0.5939, allocations: 391.4 kB / 0.7627 GB, free: 35.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5939, allocations: 8.031 kB / 0.7627 GB, free: 35.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.594, allocations: 4.625 kB / 0.7627 GB, free: 35.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.268e-05/0.5941, allocations: 160.6 kB / 0.7629 GB, free: 35.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.5941, allocations: 0 / 0.7629 GB, free: 35.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.5941, allocations: 4 kB / 0.7629 GB, free: 35.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.664e-05/0.5942, allocations: 33.64 kB / 0.7629 GB, free: 35.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5942, allocations: 0 / 0.7629 GB, free: 35.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5942, allocations: 0 / 0.7629 GB, free: 35.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.5942, allocations: 0 / 0.7629 GB, free: 35.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.5943, allocations: 15.34 kB / 0.7629 GB, free: 35.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.5944, allocations: 141.7 kB / 0.763 GB, free: 35.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.252e-05/0.5944, allocations: 14.67 kB / 0.7631 GB, free: 35.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.5945, allocations: 11.52 kB / 0.7631 GB, free: 35.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.5945, allocations: 0 / 0.7631 GB, free: 35.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.5945, allocations: 61.41 kB / 0.7631 GB, free: 35.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.5946, allocations: 3.938 kB / 0.7631 GB, free: 35.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001817/0.5947, allocations: 74.7 kB / 0.7632 GB, free: 35.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.5948, allocations: 77.11 kB / 0.7633 GB, free: 34.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.371e-05/0.5948, allocations: 89.86 kB / 0.7634 GB, free: 34.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.5948, allocations: 29.7 kB / 0.7634 GB, free: 34.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.821e-05/0.5949, allocations: 87.5 kB / 0.7635 GB, free: 34.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.5949, allocations: 0 / 0.7635 GB, free: 34.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.5949, allocations: 0 / 0.7635 GB, free: 34.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.595, allocations: 318.5 kB / 0.7638 GB, free: 34.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.595, allocations: 0 / 0.7638 GB, free: 34.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.595, allocations: 4 kB / 0.7638 GB, free: 34.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.5951, allocations: 25.7 kB / 0.7638 GB, free: 34.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5951, allocations: 0 / 0.7638 GB, free: 34.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.144e-05/0.5952, allocations: 63.34 kB / 0.7639 GB, free: 34.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5952, allocations: 33.69 kB / 0.7639 GB, free: 34.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5952, allocations: 3.5 kB / 0.7639 GB, free: 34.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5952, allocations: 2.344 kB / 0.7639 GB, free: 34.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-06/0.5952, allocations: 7.953 kB / 0.7639 GB, free: 34.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5953, allocations: 0 / 0.7639 GB, free: 34.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.5953, allocations: 0 / 0.7639 GB, free: 34.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.5953, allocations: 0 / 0.7639 GB, free: 34.25 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: 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.213e-05/0.5954, allocations: 140.4 kB / 0.764 GB, free: 34.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.5954, allocations: 0 / 0.764 GB, free: 34.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.552e-05/0.5954, allocations: 7.062 kB / 0.7641 GB, free: 34.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5954, allocations: 3.984 kB / 0.7641 GB, free: 34.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5955, allocations: 3.953 kB / 0.7641 GB, free: 34.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5955, allocations: 0 / 0.7641 GB, free: 34.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.999e-05/0.5955, allocations: 145.7 kB / 0.7642 GB, free: 33.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5956, allocations: 0 / 0.7642 GB, free: 33.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-06/0.5956, allocations: 0 / 0.7642 GB, free: 33.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5956, allocations: 3.141 kB / 0.7642 GB, free: 33.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5956, allocations: 3.984 kB / 0.7642 GB, free: 33.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5956, allocations: 0.8125 kB / 0.7642 GB, free: 33.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5956, allocations: 0 / 0.7642 GB, free: 33.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.5957, allocations: 101.5 kB / 0.7643 GB, free: 33.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.5958, allocations: 77.11 kB / 0.7644 GB, free: 33.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.5958, allocations: 7.922 kB / 0.7644 GB, free: 33.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.5958, allocations: 4 kB / 0.7644 GB, free: 33.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.5958, allocations: 0.625 kB / 0.7644 GB, free: 33.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.5959, allocations: 0 / 0.7644 GB, free: 33.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.622e-05/0.5959, allocations: 75.97 kB / 0.7645 GB, free: 33.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5959, allocations: 4.875 kB / 0.7645 GB, free: 33.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004958/0.5964, allocations: 83.88 kB / 0.7645 GB, free: 33.52 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: 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.0005992/0.597, allocations: 205.3 kB / 0.7647 GB, free: 33.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.5971, allocations: 55.41 kB / 0.7648 GB, free: 33.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5971, allocations: 0 / 0.7648 GB, free: 33.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.651e-05/0.5972, allocations: 59.34 kB / 0.7649 GB, free: 33.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.5974, allocations: 8 kB / 0.7649 GB, free: 33.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.5976, allocations: 86.91 kB / 0.7649 GB, free: 33.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.5977, allocations: 0.6731 MB / 0.7656 GB, free: 32.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.282e-06/0.5977, allocations: 0 / 0.7656 GB, free: 32.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.164e-05/0.5977, allocations: 7.438 kB / 0.7656 GB, free: 32.36 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.5977, allocations: 0 / 0.7656 GB, free: 32.36 MB / 394.7 MB Notification: Performance of Templates: time 0.005026/0.6028, allocations: 1.444 MB / 0.767 GB, free: 31.02 MB / 394.7 MB