Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004034/0.004042, allocations: 347.4 kB / 15.93 MB, free: 6.223 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.664/3.664, allocations: 341.5 MB / 358.2 MB, free: 28.61 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.004094/0.004093, allocations: 210.1 kB / 397.8 MB, free: 6.004 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5364/0.5364, allocations: 76.1 MB / 0.5014 GB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007451/0.0007455, allocations: 16 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1179, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.5867, allocations: 75.7 MB / 0.6807 GB, free: 11.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.587, allocations: 76.08 kB / 0.6807 GB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02071/0.6078, allocations: 4.143 MB / 0.6848 GB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6078, allocations: 4 kB / 0.6848 GB, free: 8.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.6079, allocations: 4 kB / 0.6848 GB, free: 8.082 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0007578/0.6086, allocations: 439.8 kB / 0.6852 GB, free: 7.609 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.6087, allocations: 8.031 kB / 0.6852 GB, free: 7.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.6088, allocations: 11.81 kB / 0.6852 GB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.6093, allocations: 216.1 kB / 0.6854 GB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.6094, allocations: 6.812 kB / 0.6854 GB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.6095, allocations: 0 / 0.6854 GB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.6097, allocations: 44.56 kB / 0.6855 GB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6097, allocations: 0 / 0.6855 GB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.6098, allocations: 0 / 0.6855 GB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.6098, allocations: 0 / 0.6855 GB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.582e-05/0.6099, allocations: 14.36 kB / 0.6855 GB, free: 7.281 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.6102, allocations: 186.6 kB / 0.6857 GB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.6104, allocations: 37.73 kB / 0.6857 GB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.6104, allocations: 12.42 kB / 0.6857 GB, free: 7.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.6105, allocations: 4 kB / 0.6857 GB, free: 7.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.6107, allocations: 62.92 kB / 0.6858 GB, free: 6.938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 4.659e-06/0.6107, allocations: 0 / 0.6858 GB, free: 6.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003976/0.6111, allocations: 79.92 kB / 0.6859 GB, free: 6.863 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.6112, allocations: 51.41 kB / 0.6859 GB, free: 6.801 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.6117, allocations: 236.8 kB / 0.6861 GB, free: 6.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.6118, allocations: 29.7 kB / 0.6862 GB, free: 6.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.6119, allocations: 112.2 kB / 0.6863 GB, free: 6.461 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.6119, allocations: 7.906 kB / 0.6863 GB, free: 6.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.6119, allocations: 0 / 0.6863 GB, free: 6.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.6121, allocations: 329.1 kB / 0.6866 GB, free: 6.129 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.6122, allocations: 19.17 kB / 0.6866 GB, free: 6.117 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.6123, allocations: 19.61 kB / 0.6866 GB, free: 6.102 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.6124, allocations: 51.56 kB / 0.6867 GB, free: 6.055 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6124, allocations: 0 / 0.6867 GB, free: 6.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004076/0.6129, allocations: 113.3 kB / 0.6868 GB, free: 5.949 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.6129, allocations: 45.62 kB / 0.6868 GB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.613, allocations: 3.938 kB / 0.6868 GB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.613, allocations: 0 / 0.6868 GB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.6131, allocations: 4 kB / 0.6868 GB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.6132, allocations: 0 / 0.6868 GB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.6133, allocations: 11.84 kB / 0.6868 GB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.6134, allocations: 7.938 kB / 0.6869 GB, free: 5.871 MB / 314.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 0.0002021/0.6136, allocations: 133.7 kB / 0.687 GB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.6137, allocations: 11.91 kB / 0.687 GB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.614, allocations: 81.09 kB / 0.6871 GB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.614, allocations: 0 / 0.6871 GB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.614, allocations: 0 / 0.6871 GB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6141, allocations: 3.938 kB / 0.6871 GB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.6143, allocations: 199.5 kB / 0.6873 GB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6143, allocations: 8 kB / 0.6873 GB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-05/0.6144, allocations: 0 / 0.6873 GB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.6145, allocations: 4 kB / 0.6873 GB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.6145, allocations: 0 / 0.6873 GB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6145, allocations: 0 / 0.6873 GB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6146, allocations: 7.984 kB / 0.6873 GB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.6148, allocations: 88.59 kB / 0.6874 GB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.6149, allocations: 100.9 kB / 0.6875 GB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.615, allocations: 6.75 kB / 0.6875 GB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.6151, allocations: 0 / 0.6875 GB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.6152, allocations: 4 kB / 0.6875 GB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.6152, allocations: 0 / 0.6875 GB, free: 5.176 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003306/0.6156, allocations: 192 kB / 0.6877 GB, free: 5.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.014e-06/0.6156, allocations: 4 kB / 0.6877 GB, free: 5.016 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005544/0.6162, allocations: 35.56 kB / 0.6877 GB, free: 4.984 MB / 314.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001325/0.6175, allocations: 320.8 kB / 0.688 GB, free: 4.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003191/0.6179, allocations: 101.9 kB / 0.6881 GB, free: 4.672 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6179, allocations: 0 / 0.6881 GB, free: 4.672 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.618, allocations: 11.56 kB / 0.6881 GB, free: 4.664 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.6185, allocations: 19.67 kB / 0.6881 GB, free: 4.645 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000816/0.6194, allocations: 264.2 kB / 0.6884 GB, free: 4.383 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.6196, allocations: 0.7082 MB / 0.6891 GB, free: 3.648 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.508e-05/0.6197, allocations: 23.67 kB / 0.6891 GB, free: 3.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.6198, allocations: 11.44 kB / 0.6891 GB, free: 3.617 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6198, allocations: 0 / 0.6891 GB, free: 3.617 MB / 314.7 MB Notification: Performance of Templates: time 0.008419/0.6283, allocations: 1.456 MB / 0.6905 GB, free: 2.195 MB / 314.7 MB