Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004444, allocations: 12 kB / 314.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3544, allocations: 54.87 MB / 369.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002358/0.3568, allocations: 1.345 MB / 370.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.3584, allocations: 0.7202 MB / 371.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.3585, allocations: 3.938 kB / 371.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.3588, allocations: 67.83 kB / 371.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.359, allocations: 55.86 kB / 371.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.3592, allocations: 55.81 kB / 371.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3594, allocations: 75.84 kB / 371.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.3595, allocations: 11.98 kB / 371.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3596, allocations: 43.84 kB / 371.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3597, allocations: 47.81 kB / 371.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.3598, allocations: 4 kB / 371.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.661e-05/0.3599, allocations: 27.98 kB / 371.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.3599, allocations: 19.91 kB / 371.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.36, allocations: 37.64 kB / 371.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3602, allocations: 87.81 kB / 371.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3602, allocations: 4 kB / 371.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.738e-06/0.3602, allocations: 0 / 371.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.255e-06/0.3602, allocations: 0 / 371.8 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006303/0.3609, allocations: 462.9 kB / 372.2 MB, free: 9.598 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.361, allocations: 12.03 kB / 372.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.361, allocations: 7.906 kB / 372.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.3613, allocations: 211.5 kB / 372.5 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3613, allocations: 0 / 372.5 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.3614, allocations: 4 kB / 372.5 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3616, allocations: 61.61 kB / 372.5 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3616, allocations: 0 / 372.5 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3616, allocations: 3.938 kB / 372.5 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.32e-06/0.3616, allocations: 7.953 kB / 372.5 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.819e-05/0.3618, allocations: 19.92 kB / 372.6 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.3622, allocations: 296.8 kB / 372.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.3625, allocations: 66.61 kB / 372.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3625, allocations: 0 / 372.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.3627, allocations: 75.34 kB / 373 MB, free: 8.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.518e-06/0.3627, allocations: 0 / 373 MB, free: 8.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006967/0.3635, allocations: 185.1 kB / 373.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.3635, allocations: 51.41 kB / 373.2 MB, free: 8.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.3638, allocations: 206.4 kB / 373.4 MB, free: 8.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.3638, allocations: 29.7 kB / 373.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.364, allocations: 174.3 kB / 373.6 MB, free: 8.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.364, allocations: 23.66 kB / 373.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-06/0.3641, allocations: 0 / 373.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3642, allocations: 322.8 kB / 374 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.3643, allocations: 27.98 kB / 374 MB, free: 7.688 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3645, allocations: 49.7 kB / 374 MB, free: 7.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3646, allocations: 65.62 kB / 374.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-06/0.3647, allocations: 0 / 374.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003683/0.365, allocations: 147.4 kB / 374.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.3651, allocations: 41.66 kB / 374.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.479e-06/0.3651, allocations: 0 / 374.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3651, allocations: 7.922 kB / 374.3 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3653, allocations: 15.98 kB / 374.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.355e-06/0.3653, allocations: 4 kB / 374.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.3654, allocations: 8.031 kB / 374.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.3654, allocations: 8 kB / 374.3 MB, free: 7.316 MB / 298.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 (11): * Single equations (assignments): 10 * 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.0001509/0.3656, allocations: 127.1 kB / 374.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.3656, allocations: 11.81 kB / 374.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/0.3657, allocations: 21.34 kB / 374.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.264e-06/0.3657, allocations: 4 kB / 374.5 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.023e-06/0.3657, allocations: 384 / 374.5 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.245e-06/0.3657, allocations: 3.938 kB / 374.5 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006535/0.3664, allocations: 403.3 kB / 374.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-06/0.3664, allocations: 0 / 374.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.3665, allocations: 11.94 kB / 374.9 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.459e-06/0.3665, allocations: 4 kB / 374.9 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3665, allocations: 4 kB / 374.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.407e-06/0.3665, allocations: 0 / 374.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.161e-06/0.3665, allocations: 0 / 374.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.3669, allocations: 212.2 kB / 375.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/0.367, allocations: 92.95 kB / 375.2 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.367, allocations: 4.094 kB / 375.2 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3672, allocations: 7.938 kB / 375.2 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.3672, allocations: 7.984 kB / 375.2 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3672, allocations: 4 kB / 375.2 MB, free: 6.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000184/0.3674, allocations: 151.2 kB / 375.4 MB, free: 6.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.55e-07/0.3675, allocations: 7.938 kB / 375.4 MB, free: 6.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.3678, allocations: 28 kB / 375.4 MB, free: 6.133 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001566/0.3694, allocations: 460.1 kB / 375.9 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.3698, allocations: 151.3 kB / 376 MB, free: 5.613 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.24e-06/0.3698, allocations: 0 / 376 MB, free: 5.613 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3699, allocations: 36.05 kB / 376 MB, free: 5.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3703, allocations: 15.98 kB / 376.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.3709, allocations: 292.2 kB / 376.3 MB, free: 5.246 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.3713, allocations: 0.7121 MB / 377.1 MB, free: 4.508 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.3714, allocations: 15.44 kB / 377.1 MB, free: 4.492 MB / 298.7 MB Notification: Performance of SimCode: time 1.59e-06/0.3714, allocations: 0 / 377.1 MB, free: 4.492 MB / 298.7 MB Notification: Performance of Templates: time 0.004672/0.3761, allocations: 1.904 MB / 379 MB, free: 2.59 MB / 298.7 MB