Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002787/0.00279, allocations: 363 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.208/4.208, allocations: 388.9 MB / 405.6 MB, free: 9.672 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.005159/0.005159, allocations: 220.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.5311/0.5311, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000634/0.0006342, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1076, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5738/0.6814, allocations: 81.98 MB / 0.7602 GB, free: 3.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/0.6818, allocations: 70.47 kB / 0.7602 GB, free: 3.375 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.02836/0.7102, allocations: 4.423 MB / 0.7645 GB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.7102, allocations: 0 / 0.7645 GB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.7103, allocations: 0 / 0.7645 GB, free: 15.64 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.000907/0.7112, allocations: 473 kB / 0.765 GB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.7113, allocations: 8.828 kB / 0.765 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.203e-05/0.7114, allocations: 7.906 kB / 0.765 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.712, allocations: 198.1 kB / 0.7652 GB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.712, allocations: 11.38 kB / 0.7652 GB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.7121, allocations: 4 kB / 0.7652 GB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.7123, allocations: 49.11 kB / 0.7653 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.7124, allocations: 4 kB / 0.7653 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.7124, allocations: 3.953 kB / 0.7653 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.7124, allocations: 0 / 0.7653 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.7126, allocations: 19.05 kB / 0.7653 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.713, allocations: 203.3 kB / 0.7655 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.7134, allocations: 56.86 kB / 0.7655 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.7135, allocations: 23.86 kB / 0.7656 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.7136, allocations: 7.984 kB / 0.7656 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.7139, allocations: 66.06 kB / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 4.248e-06/0.7139, allocations: 0 / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006051/0.7145, allocations: 102.2 kB / 0.7657 GB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.7146, allocations: 55.41 kB / 0.7658 GB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.715, allocations: 183.3 kB / 0.766 GB, free: 14.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.7151, allocations: 33.64 kB / 0.766 GB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.7152, allocations: 98.88 kB / 0.7661 GB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.7153, allocations: 11.84 kB / 0.7661 GB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.7153, allocations: 3.625 kB / 0.7661 GB, free: 13.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.7155, allocations: 322.1 kB / 0.7664 GB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.7157, allocations: 31.42 kB / 0.7664 GB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.716, allocations: 48.05 kB / 0.7665 GB, free: 13.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.7162, allocations: 66.58 kB / 0.7665 GB, free: 13.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7162, allocations: 0 / 0.7665 GB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006311/0.7169, allocations: 161.2 kB / 0.7667 GB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/0.717, allocations: 33.7 kB / 0.7667 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.717, allocations: 0 / 0.7667 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.7171, allocations: 0 / 0.7667 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.7173, allocations: 23.3 kB / 0.7667 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.7173, allocations: 3.953 kB / 0.7668 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.7175, allocations: 4 kB / 0.7668 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.7175, allocations: 8.344 kB / 0.7668 GB, free: 13.3 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.0002139/0.7177, allocations: 129.5 kB / 0.7669 GB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.7178, allocations: 11.81 kB / 0.7669 GB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.7183, allocations: 99.36 kB / 0.767 GB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.7183, allocations: 3.984 kB / 0.767 GB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.7183, allocations: 0 / 0.767 GB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.7184, allocations: 3.953 kB / 0.767 GB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.7187, allocations: 187.4 kB / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7187, allocations: 4 kB / 0.7672 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.7188, allocations: 11.55 kB / 0.7672 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.7188, allocations: 0 / 0.7672 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.7189, allocations: 4 kB / 0.7672 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7189, allocations: 0 / 0.7672 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7189, allocations: 0 / 0.7672 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.7194, allocations: 114.5 kB / 0.7673 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.7196, allocations: 93 kB / 0.7674 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.7196, allocations: 7.688 kB / 0.7674 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.7198, allocations: 7.938 kB / 0.7674 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.7198, allocations: 3.984 kB / 0.7674 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.7199, allocations: 4 kB / 0.7674 GB, free: 12.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002613/0.7201, allocations: 138.9 kB / 0.7676 GB, free: 12.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.266e-06/0.7202, allocations: 0 / 0.7676 GB, free: 12.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005777/0.7208, allocations: 35.05 kB / 0.7676 GB, free: 12.43 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.00176/0.7226, allocations: 400 kB / 0.768 GB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006238/0.7232, allocations: 149.8 kB / 0.7681 GB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7233, allocations: 0 / 0.7681 GB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.7235, allocations: 27.05 kB / 0.7681 GB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.724, allocations: 26.28 kB / 0.7682 GB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/0.7249, allocations: 214.1 kB / 0.7684 GB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.7254, allocations: 0.7082 MB / 0.7691 GB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.7255, allocations: 15.2 kB / 0.7691 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.7256, allocations: 19.42 kB / 0.7691 GB, free: 11.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.542e-06/0.7257, allocations: 0 / 0.7691 GB, free: 11.02 MB / 362.7 MB Notification: Performance of Templates: time 0.009131/0.7348, allocations: 1.497 MB / 0.7706 GB, free: 9.551 MB / 362.7 MB