Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002658/0.002663, allocations: 351.4 kB / 15.95 MB, free: 6.219 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.526/3.526, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003493/0.003492, allocations: 220.5 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5086/0.5086, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004765, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08385/0.08435, allocations: 48.72 MB / 0.6068 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002346/0.08675, allocations: 1.457 MB / 0.6082 GB, free: 3.156 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.08782, allocations: 443.3 kB / 0.6086 GB, free: 2.719 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.08795, allocations: 0 / 0.6086 GB, free: 2.719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.08823, allocations: 31.89 kB / 0.6086 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.08842, allocations: 35.84 kB / 0.6087 GB, free: 2.652 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.08867, allocations: 67.8 kB / 0.6087 GB, free: 2.586 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.08885, allocations: 95.69 kB / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.08898, allocations: 17.39 kB / 0.6088 GB, free: 2.473 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.08906, allocations: 35.84 kB / 0.6089 GB, free: 2.438 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.08915, allocations: 39.78 kB / 0.6089 GB, free: 2.398 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.08918, allocations: 0 / 0.6089 GB, free: 2.398 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.08932, allocations: 36 kB / 0.6089 GB, free: 2.363 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.08937, allocations: 19.91 kB / 0.609 GB, free: 2.344 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.08943, allocations: 41.64 kB / 0.609 GB, free: 2.297 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.08963, allocations: 92.08 kB / 0.6091 GB, free: 2.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.08965, allocations: 0 / 0.6091 GB, free: 2.207 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.08966, allocations: 4 kB / 0.6091 GB, free: 2.203 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.08967, allocations: 0 / 0.6091 GB, free: 2.203 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005576/0.09024, allocations: 474.1 kB / 0.6095 GB, free: 1.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.09029, allocations: 8.031 kB / 0.6096 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.09034, allocations: 15.86 kB / 0.6096 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.09056, allocations: 202.9 kB / 0.6098 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.0906, allocations: 7.938 kB / 0.6098 GB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.09064, allocations: 8 kB / 0.6098 GB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.09087, allocations: 65.67 kB / 0.6098 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.0909, allocations: 0 / 0.6098 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.09093, allocations: 11.98 kB / 0.6098 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.09094, allocations: 0 / 0.6098 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.09113, allocations: 47.88 kB / 0.6099 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.09164, allocations: 332.7 kB / 0.6102 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.09195, allocations: 66.67 kB / 0.6103 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.09207, allocations: 32.83 kB / 0.6103 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.0921, allocations: 4 kB / 0.6103 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.09234, allocations: 91.25 kB / 0.6104 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.09236, allocations: 0 / 0.6104 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000401/0.09277, allocations: 117.5 kB / 0.6105 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.09281, allocations: 59.34 kB / 0.6106 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2877/0.3806, allocations: 159.8 kB / 0.6107 GB, free: 90.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.3807, allocations: 29.83 kB / 0.6107 GB, free: 90.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3808, allocations: 107.2 kB / 0.6108 GB, free: 90.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.3809, allocations: 22.02 kB / 0.6109 GB, free: 90.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.3809, allocations: 2.281 kB / 0.6109 GB, free: 90.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.381, allocations: 322.9 kB / 0.6112 GB, free: 90.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.3813, allocations: 27.2 kB / 0.6112 GB, free: 90.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.3815, allocations: 51.72 kB / 0.6113 GB, free: 90.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.3817, allocations: 58.44 kB / 0.6113 GB, free: 90.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3817, allocations: 1.312 kB / 0.6113 GB, free: 90.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005597/0.3823, allocations: 148.8 kB / 0.6115 GB, free: 90.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.3824, allocations: 39.36 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3824, allocations: 4.406 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.3824, allocations: 2.953 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.3826, allocations: 20.06 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.3827, allocations: 0 / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.3828, allocations: 11 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.3829, allocations: 11.22 kB / 0.6115 GB, free: 90.21 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: 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 (10): * Single equations (assignments): 9 * 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.0001675/0.3831, allocations: 130.8 kB / 0.6117 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3831, allocations: 6.094 kB / 0.6117 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.3832, allocations: 15.53 kB / 0.6117 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3832, allocations: 0 / 0.6117 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3833, allocations: 0 / 0.6117 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3833, allocations: 88.16 kB / 0.6118 GB, free: 89.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.3834, allocations: 7.156 kB / 0.6118 GB, free: 89.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3835, allocations: 9.062 kB / 0.6118 GB, free: 89.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.3836, allocations: 6.656 kB / 0.6118 GB, free: 89.99 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005374/0.3841, allocations: 183.2 kB / 0.612 GB, free: 89.88 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006679/0.3848, allocations: 304.9 kB / 0.6123 GB, free: 89.67 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001622/0.385, allocations: 28.22 kB / 0.6123 GB, free: 89.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.3852, allocations: 120.9 kB / 0.6124 GB, free: 89.6 MB / 362.7 MB Notification: Performance of Backend: time 8.72e-07/0.3852, allocations: 0 / 0.6124 GB, free: 89.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.3875, allocations: 449.8 kB / 0.6128 GB, free: 89.47 MB / 362.7 MB Notification: Performance of SimCode: time 0.0009793/0.3885, allocations: 0.696 MB / 0.6135 GB, free: 88.84 MB / 362.7 MB Notification: Performance of Templates: time 0.009324/0.3979, allocations: 1.717 MB / 0.6152 GB, free: 88.82 MB / 362.7 MB