Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Blocks.Examples.BusUsage.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.666/1.666, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 8 kB / 233.1 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07301/0.07339, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00208/0.07551, allocations: 1.25 MB / 273.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008394/0.07639, allocations: 427.6 kB / 273.6 MB, free: 10.51 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.07646, allocations: 0 / 273.6 MB, free: 10.51 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.0765, allocations: 3.938 kB / 273.6 MB, free: 10.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.661e-05/0.0766, allocations: 11.98 kB / 273.6 MB, free: 10.49 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.07673, allocations: 11.98 kB / 273.6 MB, free: 10.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.846e-05/0.07684, allocations: 43.83 kB / 273.6 MB, free: 10.44 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.07701, allocations: 48.11 kB / 273.7 MB, free: 10.39 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.07713, allocations: 19.92 kB / 273.7 MB, free: 10.37 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.07722, allocations: 23.86 kB / 273.7 MB, free: 10.35 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.07725, allocations: 0 / 273.7 MB, free: 10.35 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.07727, allocations: 4 kB / 273.7 MB, free: 10.34 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.0773, allocations: 7.922 kB / 273.8 MB, free: 10.34 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.07735, allocations: 45.56 kB / 273.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.602e-05/0.07745, allocations: 39.92 kB / 273.8 MB, free: 10.25 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.899e-06/0.07746, allocations: 0 / 273.8 MB, free: 10.25 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.07747, allocations: 0 / 273.8 MB, free: 10.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.888e-06/0.07749, allocations: 4 kB / 273.8 MB, free: 10.24 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005454/0.07805, allocations: 375.4 kB / 274.2 MB, free: 9.828 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.07809, allocations: 8.031 kB / 274.2 MB, free: 9.82 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.07814, allocations: 7.906 kB / 274.2 MB, free: 9.812 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.07831, allocations: 174.9 kB / 274.4 MB, free: 9.602 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.07835, allocations: 7.953 kB / 274.4 MB, free: 9.594 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.07838, allocations: 8 kB / 274.4 MB, free: 9.586 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.07869, allocations: 117.9 kB / 274.5 MB, free: 9.449 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.07871, allocations: 0 / 274.5 MB, free: 9.449 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.07874, allocations: 4 kB / 274.5 MB, free: 9.445 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-06/0.07876, allocations: 0 / 274.5 MB, free: 9.445 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.07902, allocations: 71.89 kB / 274.6 MB, free: 9.375 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008789/0.07992, allocations: 0.642 MB / 275.2 MB, free: 8.668 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.08018, allocations: 121 kB / 275.4 MB, free: 8.504 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.08021, allocations: 0 / 275.4 MB, free: 8.504 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.08027, allocations: 46.56 kB / 275.4 MB, free: 8.449 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 4.216e-06/0.08028, allocations: 0 / 275.4 MB, free: 8.449 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006365/0.08093, allocations: 141.8 kB / 275.5 MB, free: 8.305 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.08105, allocations: 158.2 kB / 275.7 MB, free: 8.113 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.0812, allocations: 121.8 kB / 275.8 MB, free: 7.984 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.08124, allocations: 29.7 kB / 275.8 MB, free: 7.949 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.08135, allocations: 162.6 kB / 276 MB, free: 7.789 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.0814, allocations: 19.91 kB / 276 MB, free: 7.77 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-06/0.08141, allocations: 4 kB / 276 MB, free: 7.766 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.08158, allocations: 310.8 kB / 276.3 MB, free: 7.453 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.08171, allocations: 23.98 kB / 276.4 MB, free: 7.43 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.08186, allocations: 64.2 kB / 276.4 MB, free: 7.352 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.082, allocations: 27.98 kB / 276.4 MB, free: 7.324 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.08201, allocations: 0 / 276.4 MB, free: 7.324 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003308/0.08236, allocations: 109.5 kB / 276.5 MB, free: 7.211 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.08239, allocations: 4 kB / 276.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.705e-06/0.08241, allocations: 0 / 276.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.08243, allocations: 4.156 kB / 276.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.08258, allocations: 20.11 kB / 276.6 MB, free: 7.184 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.0826, allocations: 0 / 276.6 MB, free: 7.184 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.08272, allocations: 19.89 kB / 276.6 MB, free: 7.164 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.08274, allocations: 7.953 kB / 276.6 MB, free: 7.156 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001354/0.08289, allocations: 125.8 kB / 276.7 MB, free: 7.023 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.08304, allocations: 7.984 kB / 276.7 MB, free: 7.016 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.08309, allocations: 19.48 kB / 276.8 MB, free: 7 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-06/0.0831, allocations: 3.938 kB / 276.8 MB, free: 6.996 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.011e-06/0.08311, allocations: 0 / 276.8 MB, free: 6.996 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.08314, allocations: 7.984 kB / 276.8 MB, free: 6.988 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.08369, allocations: 197.4 kB / 277 MB, free: 6.746 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-06/0.08371, allocations: 0 / 277 MB, free: 6.746 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.08381, allocations: 12 kB / 277 MB, free: 6.734 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.226e-06/0.08383, allocations: 0 / 277 MB, free: 6.734 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.08386, allocations: 7.984 kB / 277 MB, free: 6.727 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.15e-06/0.08387, allocations: 3.938 kB / 277 MB, free: 6.723 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.39e-06/0.08388, allocations: 4 kB / 277 MB, free: 6.719 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.08442, allocations: 0.4927 MB / 277.5 MB, free: 6.207 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-05/0.08452, allocations: 85.02 kB / 277.6 MB, free: 6.105 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.08456, allocations: 7.984 kB / 277.6 MB, free: 6.098 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.08488, allocations: 8 kB / 277.6 MB, free: 6.09 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.08495, allocations: 7.984 kB / 277.6 MB, free: 6.082 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.08498, allocations: 8 kB / 277.6 MB, free: 6.074 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.344e-05/0.08507, allocations: 95.27 kB / 277.7 MB, free: 5.98 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.08508, allocations: 0 / 277.7 MB, free: 5.98 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005345/0.08562, allocations: 8 kB / 277.7 MB, free: 5.973 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001375/0.08578, allocations: 107.1 kB / 277.8 MB, free: 5.855 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.08611, allocations: 67.89 kB / 277.9 MB, free: 5.789 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.962e-06/0.08613, allocations: 0 / 277.9 MB, free: 5.789 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.0863, allocations: 44.48 kB / 277.9 MB, free: 5.746 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.08671, allocations: 0.7656 kB / 277.9 MB, free: 5.746 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.08733, allocations: 278.2 kB / 278.2 MB, free: 5.43 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.08777, allocations: 0.6926 MB / 278.9 MB, free: 4.711 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.08783, allocations: 11.44 kB / 278.9 MB, free: 4.699 MB / 234.7 MB Notification: Performance of SimCode: time 1.673e-06/0.08784, allocations: 0 / 278.9 MB, free: 4.699 MB / 234.7 MB Notification: Performance of Templates: time 0.002682/0.09053, allocations: 0.8515 MB / 279.7 MB, free: 3.848 MB / 234.7 MB