Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.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.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004291/0.004291, allocations: 361.1 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.66/4.66, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003635/0.003634, allocations: 222.6 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.5369/0.5369, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006709/0.0006712, allocations: 15.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.104, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.5836, allocations: 81.98 MB / 0.7602 GB, free: 3.301 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5839, allocations: 82.28 kB / 0.7602 GB, free: 3.258 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02508/0.609, allocations: 4.722 MB / 0.7648 GB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.609, allocations: 0 / 0.7648 GB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.6091, allocations: 4 kB / 0.7648 GB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006768/0.6098, allocations: 491.5 kB / 0.7653 GB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6098, allocations: 8.828 kB / 0.7653 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.6099, allocations: 15.81 kB / 0.7653 GB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.6103, allocations: 222.2 kB / 0.7656 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.6104, allocations: 3.5 kB / 0.7656 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.6104, allocations: 4 kB / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.6106, allocations: 48.92 kB / 0.7656 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.6106, allocations: 0 / 0.7656 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.6106, allocations: 11.38 kB / 0.7656 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.6107, allocations: 0 / 0.7656 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.6108, allocations: 19.55 kB / 0.7656 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.6111, allocations: 206.6 kB / 0.7658 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.6113, allocations: 63.11 kB / 0.7659 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.6114, allocations: 16.05 kB / 0.7659 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.6115, allocations: 0 / 0.7659 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.6117, allocations: 70.2 kB / 0.766 GB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.804e-06/0.6117, allocations: 0 / 0.766 GB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004361/0.6122, allocations: 112.3 kB / 0.7661 GB, free: 13.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.6122, allocations: 59.34 kB / 0.7661 GB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.6126, allocations: 248.8 kB / 0.7664 GB, free: 13.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.6127, allocations: 36.58 kB / 0.7664 GB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.6128, allocations: 110.8 kB / 0.7665 GB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.6128, allocations: 11.84 kB / 0.7665 GB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.6129, allocations: 3.812 kB / 0.7665 GB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.613, allocations: 330.5 kB / 0.7668 GB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.6132, allocations: 27.61 kB / 0.7669 GB, free: 13.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.6133, allocations: 52.8 kB / 0.7669 GB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.6135, allocations: 63.27 kB / 0.767 GB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6135, allocations: 0 / 0.767 GB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004126/0.6139, allocations: 165.4 kB / 0.7671 GB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.614, allocations: 37.73 kB / 0.7672 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.614, allocations: 0 / 0.7672 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.614, allocations: 3.984 kB / 0.7672 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.6142, allocations: 11.94 kB / 0.7672 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.225e-05/0.6142, allocations: 7.953 kB / 0.7672 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.6144, allocations: 7.906 kB / 0.7672 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.6144, allocations: 7.562 kB / 0.7672 GB, free: 12.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001557/0.6145, allocations: 132.4 kB / 0.7673 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.6146, allocations: 15.89 kB / 0.7674 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.6149, allocations: 101.4 kB / 0.7675 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.615, allocations: 0 / 0.7675 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.615, allocations: 384 / 0.7675 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.615, allocations: 7.953 kB / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.6152, allocations: 203.2 kB / 0.7677 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6152, allocations: 4 kB / 0.7677 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.6153, allocations: 11.92 kB / 0.7677 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.6153, allocations: 4 kB / 0.7677 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6153, allocations: 3.312 kB / 0.7677 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6154, allocations: 4 kB / 0.7677 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6154, allocations: 0 / 0.7677 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.6157, allocations: 118.2 kB / 0.7678 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6158, allocations: 104.2 kB / 0.7679 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.6159, allocations: 0 / 0.7679 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.616, allocations: 7.938 kB / 0.7679 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.616, allocations: 7.922 kB / 0.7679 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.616, allocations: 4 kB / 0.7679 GB, free: 12.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000276/0.6163, allocations: 200.1 kB / 0.7681 GB, free: 11.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6163, allocations: 0 / 0.7681 GB, free: 11.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003457/0.6167, allocations: 31 kB / 0.7681 GB, free: 11.82 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001201/0.6179, allocations: 386.1 kB / 0.7685 GB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.6184, allocations: 148.2 kB / 0.7686 GB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6184, allocations: 3.938 kB / 0.7686 GB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.6185, allocations: 22.86 kB / 0.7687 GB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.6189, allocations: 23.53 kB / 0.7687 GB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007312/0.6196, allocations: 294.2 kB / 0.769 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.62, allocations: 0.7191 MB / 0.7697 GB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.877e-05/0.6201, allocations: 23.88 kB / 0.7697 GB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.6202, allocations: 14.44 kB / 0.7697 GB, free: 10.34 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.6202, allocations: 0 / 0.7697 GB, free: 10.34 MB / 362.7 MB Notification: Performance of Templates: time 0.006598/0.6268, allocations: 1.651 MB / 0.7713 GB, free: 8.723 MB / 362.7 MB