Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.769/1.769, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 12 kB / 233.8 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07997/0.08034, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002252/0.08265, allocations: 1.253 MB / 273.9 MB, free: 10.28 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009003/0.08359, allocations: 427.6 kB / 274.3 MB, free: 9.855 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.08366, allocations: 0 / 274.3 MB, free: 9.855 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.08371, allocations: 3.938 kB / 274.3 MB, free: 9.852 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.273e-05/0.08381, allocations: 15.97 kB / 274.3 MB, free: 9.836 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.08396, allocations: 23.91 kB / 274.3 MB, free: 9.812 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.08408, allocations: 35.89 kB / 274.4 MB, free: 9.777 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.08426, allocations: 36.2 kB / 274.4 MB, free: 9.742 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.08438, allocations: 23.86 kB / 274.4 MB, free: 9.719 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.08447, allocations: 23.86 kB / 274.4 MB, free: 9.695 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.08451, allocations: 3.938 kB / 274.5 MB, free: 9.691 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.9e-05/0.08454, allocations: 4 kB / 274.5 MB, free: 9.688 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.08457, allocations: 7.984 kB / 274.5 MB, free: 9.68 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.08461, allocations: 33.64 kB / 274.5 MB, free: 9.641 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.654e-05/0.08471, allocations: 43.91 kB / 274.5 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.08473, allocations: 0 / 274.5 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08474, allocations: 0 / 274.5 MB, free: 9.598 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.08475, allocations: 4 kB / 274.5 MB, free: 9.594 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.0005635/0.08533, allocations: 367.3 kB / 274.9 MB, free: 9.188 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.08539, allocations: 12.02 kB / 274.9 MB, free: 9.176 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.08544, allocations: 7.906 kB / 274.9 MB, free: 9.168 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.0856, allocations: 178.8 kB / 275.1 MB, free: 8.953 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.08564, allocations: 15.95 kB / 275.1 MB, free: 8.938 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.08567, allocations: 4 kB / 275.1 MB, free: 8.934 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.08602, allocations: 114 kB / 275.2 MB, free: 8.801 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.08604, allocations: 3.938 kB / 275.2 MB, free: 8.797 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.08607, allocations: 0 / 275.2 MB, free: 8.797 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.08609, allocations: 7.984 kB / 275.2 MB, free: 8.789 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.08642, allocations: 71.89 kB / 275.3 MB, free: 8.719 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/0.08731, allocations: 0.6381 MB / 275.9 MB, free: 8.016 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.08759, allocations: 121 kB / 276.1 MB, free: 7.852 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.08763, allocations: 3.938 kB / 276.1 MB, free: 7.848 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.08768, allocations: 42.62 kB / 276.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.08769, allocations: 3.938 kB / 276.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006994/0.0884, allocations: 133.8 kB / 276.2 MB, free: 7.656 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.08849, allocations: 166.2 kB / 276.4 MB, free: 7.457 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.08862, allocations: 121.8 kB / 276.5 MB, free: 7.328 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.08865, allocations: 25.7 kB / 276.6 MB, free: 7.297 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.08873, allocations: 96.42 kB / 276.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.08877, allocations: 27.78 kB / 276.7 MB, free: 7.172 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.08879, allocations: 0 / 276.7 MB, free: 7.172 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.08892, allocations: 318.8 kB / 277 MB, free: 6.852 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.08908, allocations: 27.98 kB / 277 MB, free: 6.824 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.08926, allocations: 56.27 kB / 277.1 MB, free: 6.754 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.08944, allocations: 31.98 kB / 277.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.08945, allocations: 0 / 277.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003916/0.08986, allocations: 113.6 kB / 277.2 MB, free: 6.605 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.08989, allocations: 8 kB / 277.2 MB, free: 6.598 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.08991, allocations: 4 kB / 277.2 MB, free: 6.594 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.08993, allocations: 4.156 kB / 277.2 MB, free: 6.59 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.0901, allocations: 15.98 kB / 277.2 MB, free: 6.574 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.09012, allocations: 0 / 277.2 MB, free: 6.574 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.09025, allocations: 15.88 kB / 277.3 MB, free: 6.559 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.09028, allocations: 7.984 kB / 277.3 MB, free: 6.551 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.0001069/0.09039, allocations: 117.8 kB / 277.4 MB, free: 6.426 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.09054, allocations: 11.91 kB / 277.4 MB, free: 6.414 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.09058, allocations: 19.48 kB / 277.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.0906, allocations: 0 / 277.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.09061, allocations: 4 kB / 277.4 MB, free: 6.395 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.09069, allocations: 92.94 kB / 277.5 MB, free: 6.285 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.09072, allocations: 0 / 277.5 MB, free: 6.285 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.09104, allocations: 15.94 kB / 277.5 MB, free: 6.27 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.09111, allocations: 11.98 kB / 277.5 MB, free: 6.258 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00061/0.09173, allocations: 498 kB / 278 MB, free: 5.762 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005394/0.09228, allocations: 0.5702 MB / 278.6 MB, free: 5.172 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001836/0.09248, allocations: 39.97 kB / 278.6 MB, free: 5.133 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.494e-05/0.09256, allocations: 91.27 kB / 278.7 MB, free: 5.043 MB / 234.7 MB Notification: Performance of Backend: time 7.82e-07/0.09257, allocations: 0 / 278.7 MB, free: 5.043 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006348/0.09322, allocations: 110.3 kB / 278.8 MB, free: 4.926 MB / 234.7 MB Notification: Performance of SimCode: time 0.0006613/0.09389, allocations: 0.6467 MB / 279.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of Templates: time 0.003581/0.09749, allocations: 0.5712 MB / 280 MB, free: 3.664 MB / 234.7 MB "" Variables in the reference:time,controlBus.realSignal1,controlBus.integerSignal,controlBus.booleanSignal,controlBus.subControlBus.myRealSignal,controlBus.subControlBus.myBooleanSignal Variables in the result:booleanStep.startTime,booleanStep.startValue,booleanStep.y,controlBus.booleanSignal,controlBus.integerSignal,controlBus.realSignal1,controlBus.subControlBus.myBooleanSignal,controlBus.subControlBus.myRealSignal,gain.k,gain.u,integerStep.height,integerStep.offset,integerStep.startTime,integerStep.y,part.subControlBus.myBooleanSignal,part.subControlBus.myRealSignal,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,time