Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004111/0.004111, allocations: 345.4 kB / 15.95 MB, free: 6.199 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.738/3.738, allocations: 341.5 MB / 358.2 MB, free: 12.65 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.003545/0.003544, allocations: 233.1 kB / 397.9 MB, free: 4.984 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.492/0.492, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006301/0.0006304, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.0931, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00226/0.09543, allocations: 1.35 MB / 0.6081 GB, free: 3.289 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.09699, allocations: 0.6861 MB / 0.6087 GB, free: 2.598 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.09713, allocations: 11.88 kB / 0.6087 GB, free: 2.586 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.0977, allocations: 287.5 kB / 0.609 GB, free: 2.305 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.09806, allocations: 171.6 kB / 0.6092 GB, free: 2.137 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.09852, allocations: 107.7 kB / 0.6093 GB, free: 2.031 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.0988, allocations: 163.5 kB / 0.6094 GB, free: 1.871 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.462e-05/0.09889, allocations: 9.125 kB / 0.6095 GB, free: 1.863 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.09903, allocations: 91.7 kB / 0.6095 GB, free: 1.773 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.09927, allocations: 147.7 kB / 0.6097 GB, free: 1.629 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.09932, allocations: 11.94 kB / 0.6097 GB, free: 1.617 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.09958, allocations: 67.97 kB / 0.6098 GB, free: 1.551 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.09975, allocations: 127.7 kB / 0.6099 GB, free: 1.426 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.66e-05/0.09984, allocations: 73.45 kB / 0.61 GB, free: 1.348 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.276/0.3759, allocations: 285.1 kB / 0.6102 GB, free: 89.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.376, allocations: 1.062 kB / 0.6102 GB, free: 89.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.376, allocations: 0 / 0.6102 GB, free: 89.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.376, allocations: 0 / 0.6102 GB, free: 89.18 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.001067/0.3771, allocations: 0.709 MB / 0.6109 GB, free: 88.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.3772, allocations: 8.438 kB / 0.6109 GB, free: 88.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3773, allocations: 44.91 kB / 0.611 GB, free: 88.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007356/0.378, allocations: 406.7 kB / 0.6114 GB, free: 88.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.3781, allocations: 3.953 kB / 0.6114 GB, free: 88.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.3781, allocations: 6.484 kB / 0.6114 GB, free: 88.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3783, allocations: 61.2 kB / 0.6114 GB, free: 88.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3783, allocations: 0 / 0.6114 GB, free: 88.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3783, allocations: 5.438 kB / 0.6114 GB, free: 88.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3784, allocations: 3.094 kB / 0.6114 GB, free: 88.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.529e-05/0.3785, allocations: 20.62 kB / 0.6115 GB, free: 88.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.3791, allocations: 362.2 kB / 0.6118 GB, free: 88.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3792, allocations: 63.16 kB / 0.6119 GB, free: 88.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.3793, allocations: 22.11 kB / 0.6119 GB, free: 88.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3794, allocations: 2.594 kB / 0.6119 GB, free: 88.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.3796, allocations: 90.41 kB / 0.612 GB, free: 87.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.835e-05/0.3797, allocations: 0.5938 kB / 0.612 GB, free: 87.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005239/0.3802, allocations: 143.9 kB / 0.6121 GB, free: 87.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3803, allocations: 82.69 kB / 0.6122 GB, free: 87.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.3822, allocations: 1.013 MB / 0.6132 GB, free: 87.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.3823, allocations: 27.98 kB / 0.6132 GB, free: 87.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.3826, allocations: 229.1 kB / 0.6134 GB, free: 87.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.3826, allocations: 17.89 kB / 0.6134 GB, free: 87.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.3827, allocations: 2.625 kB / 0.6134 GB, free: 87.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3828, allocations: 363.9 kB / 0.6138 GB, free: 87.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3829, allocations: 29.16 kB / 0.6138 GB, free: 87.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3831, allocations: 44.17 kB / 0.6139 GB, free: 87.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.3832, allocations: 84.52 kB / 0.6139 GB, free: 87.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3832, allocations: 4.594 kB / 0.6139 GB, free: 87.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005644/0.3838, allocations: 222.4 kB / 0.6142 GB, free: 87.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.3839, allocations: 64.94 kB / 0.6142 GB, free: 86.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3839, allocations: 3.156 kB / 0.6142 GB, free: 86.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3839, allocations: 1.5 kB / 0.6142 GB, free: 86.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3841, allocations: 12.55 kB / 0.6142 GB, free: 86.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3841, allocations: 0 / 0.6142 GB, free: 86.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3843, allocations: 17.88 kB / 0.6142 GB, free: 86.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.3843, allocations: 5.125 kB / 0.6143 GB, free: 86.98 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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.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): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0004133/0.3847, allocations: 219.8 kB / 0.6145 GB, free: 86.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.3848, allocations: 47.19 kB / 0.6145 GB, free: 86.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.385, allocations: 60.16 kB / 0.6146 GB, free: 86.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.385, allocations: 0 / 0.6146 GB, free: 86.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.385, allocations: 0.5156 kB / 0.6146 GB, free: 86.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.3852, allocations: 137.1 kB / 0.6147 GB, free: 86.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.3853, allocations: 3.25 kB / 0.6147 GB, free: 86.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3854, allocations: 4.625 kB / 0.6147 GB, free: 86.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.3855, allocations: 10.72 kB / 0.6147 GB, free: 86.71 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003436/0.3858, allocations: 244.6 kB / 0.6149 GB, free: 86.52 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003514/0.3862, allocations: 375.6 kB / 0.6153 GB, free: 86.22 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.256e-05/0.3863, allocations: 19.44 kB / 0.6153 GB, free: 86.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001396/0.3877, allocations: 0.7473 MB / 0.6161 GB, free: 86.14 MB / 362.7 MB Notification: Performance of Backend: time 7.51e-07/0.3877, allocations: 0 / 0.6161 GB, free: 86.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.3903, allocations: 0.7925 MB / 0.6168 GB, free: 85.93 MB / 362.7 MB Notification: Performance of SimCode: time 0.002087/0.3924, allocations: 1.221 MB / 0.618 GB, free: 85.14 MB / 362.7 MB Notification: Performance of Templates: time 0.01382/0.4063, allocations: 3.585 MB / 0.6215 GB, free: 84.96 MB / 362.7 MB