Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004597/0.004596, allocations: 351.3 kB / 15.95 MB, free: 6.215 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.765/3.765, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.00371/0.00371, allocations: 225.1 kB / 397.9 MB, free: 4.969 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.5278/0.5278, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006296/0.0006299, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09754, allocations: 48.71 MB / 0.6068 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002349/0.09995, allocations: 1.35 MB / 0.6081 GB, free: 3.266 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1015, allocations: 0.6862 MB / 0.6087 GB, free: 2.574 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.1016, allocations: 3.938 kB / 0.6087 GB, free: 2.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.1022, allocations: 295.4 kB / 0.609 GB, free: 2.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1026, allocations: 171.6 kB / 0.6092 GB, free: 2.113 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.1031, allocations: 107.7 kB / 0.6093 GB, free: 2.008 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.1034, allocations: 159.5 kB / 0.6094 GB, free: 1.852 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.1035, allocations: 5.125 kB / 0.6095 GB, free: 1.848 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1036, allocations: 103.7 kB / 0.6096 GB, free: 1.746 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1039, allocations: 151.6 kB / 0.6097 GB, free: 1.598 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.1039, allocations: 0 / 0.6097 GB, free: 1.598 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.1042, allocations: 67.97 kB / 0.6098 GB, free: 1.531 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.1044, allocations: 131.7 kB / 0.6099 GB, free: 1.402 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.1044, allocations: 69.45 kB / 0.61 GB, free: 1.328 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2665/0.3709, allocations: 285.4 kB / 0.6102 GB, free: 89.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.371, allocations: 1.156 kB / 0.6102 GB, free: 89.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.371, allocations: 0 / 0.6102 GB, free: 89.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.371, allocations: 0 / 0.6102 GB, free: 89.19 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.001118/0.3721, allocations: 0.7052 MB / 0.6109 GB, free: 88.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.3722, allocations: 10.66 kB / 0.6109 GB, free: 88.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3723, allocations: 45.91 kB / 0.611 GB, free: 88.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.3731, allocations: 403.8 kB / 0.6114 GB, free: 88.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.3732, allocations: 7.062 kB / 0.6114 GB, free: 88.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.3732, allocations: 3.875 kB / 0.6114 GB, free: 88.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3734, allocations: 66.8 kB / 0.6114 GB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3734, allocations: 0 / 0.6114 GB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3734, allocations: 1.656 kB / 0.6114 GB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3735, allocations: 1.281 kB / 0.6114 GB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.936e-05/0.3736, allocations: 18.86 kB / 0.6114 GB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.3742, allocations: 362.4 kB / 0.6118 GB, free: 88.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3743, allocations: 63.59 kB / 0.6119 GB, free: 88.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.3744, allocations: 25.16 kB / 0.6119 GB, free: 88.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3744, allocations: 1.641 kB / 0.6119 GB, free: 88.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.3747, allocations: 94.89 kB / 0.612 GB, free: 87.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.3747, allocations: 0 / 0.612 GB, free: 87.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004911/0.3752, allocations: 141 kB / 0.6121 GB, free: 87.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.3753, allocations: 80.45 kB / 0.6122 GB, free: 87.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.3772, allocations: 1.01 MB / 0.6132 GB, free: 87.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.3773, allocations: 30.11 kB / 0.6132 GB, free: 87.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.3777, allocations: 229.9 kB / 0.6134 GB, free: 87.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.3777, allocations: 19.92 kB / 0.6134 GB, free: 87.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.3777, allocations: 2.219 kB / 0.6134 GB, free: 87.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3779, allocations: 365 kB / 0.6138 GB, free: 87.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.378, allocations: 26.56 kB / 0.6138 GB, free: 87.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3782, allocations: 44.2 kB / 0.6139 GB, free: 87.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3783, allocations: 87.88 kB / 0.6139 GB, free: 87.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3784, allocations: 0 / 0.6139 GB, free: 87.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005243/0.3789, allocations: 220.7 kB / 0.6141 GB, free: 87.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.379, allocations: 62.64 kB / 0.6142 GB, free: 87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.379, allocations: 1.422 kB / 0.6142 GB, free: 87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.379, allocations: 5.281 kB / 0.6142 GB, free: 87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3792, allocations: 11.28 kB / 0.6142 GB, free: 87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.3792, allocations: 1.672 kB / 0.6142 GB, free: 87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.3794, allocations: 17 kB / 0.6142 GB, free: 86.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.3794, allocations: 5.609 kB / 0.6142 GB, free: 86.99 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.0003805/0.3798, allocations: 221.4 kB / 0.6145 GB, free: 86.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.3799, allocations: 50.89 kB / 0.6145 GB, free: 86.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.38, allocations: 54.12 kB / 0.6146 GB, free: 86.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3801, allocations: 4.891 kB / 0.6146 GB, free: 86.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3801, allocations: 0 / 0.6146 GB, free: 86.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.3802, allocations: 134.5 kB / 0.6147 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.3803, allocations: 6.016 kB / 0.6147 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3805, allocations: 5.797 kB / 0.6147 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.3805, allocations: 5.156 kB / 0.6147 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003219/0.3809, allocations: 249.1 kB / 0.6149 GB, free: 86.54 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000375/0.3812, allocations: 371.8 kB / 0.6153 GB, free: 86.23 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.272e-05/0.3813, allocations: 18.14 kB / 0.6153 GB, free: 86.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001413/0.3828, allocations: 0.7498 MB / 0.616 GB, free: 86.15 MB / 362.7 MB Notification: Performance of Backend: time 1.082e-06/0.3828, allocations: 2.031 kB / 0.6161 GB, free: 86.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002606/0.3854, allocations: 0.7864 MB / 0.6168 GB, free: 85.94 MB / 362.7 MB Notification: Performance of SimCode: time 0.002048/0.3875, allocations: 1.221 MB / 0.618 GB, free: 85.15 MB / 362.7 MB Notification: Performance of Templates: time 0.01378/0.4013, allocations: 3.589 MB / 0.6215 GB, free: 84.99 MB / 362.7 MB