Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003427, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.08962, allocations: 44.51 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002204/0.09188, allocations: 1.258 MB / 310.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.09282, allocations: 428.2 kB / 310.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.09289, allocations: 0 / 310.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.09293, allocations: 7.938 kB / 310.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.039e-05/0.09303, allocations: 11.97 kB / 310.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.09318, allocations: 19.98 kB / 310.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.876e-05/0.09329, allocations: 35.89 kB / 310.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.09348, allocations: 39.89 kB / 310.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.09359, allocations: 23.91 kB / 310.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.09368, allocations: 23.86 kB / 310.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.09371, allocations: 0 / 310.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.892e-05/0.09374, allocations: 4 kB / 310.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.09376, allocations: 3.938 kB / 310.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.09381, allocations: 37.64 kB / 310.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.987e-05/0.09392, allocations: 47.89 kB / 311 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.09393, allocations: 0 / 311 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09394, allocations: 0 / 311 MB, free: 14.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.09396, allocations: 4 kB / 311 MB, free: 14.41 MB / 266.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.0005855/0.09455, allocations: 375.3 kB / 311.3 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.0946, allocations: 8.031 kB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.09465, allocations: 7.906 kB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.09482, allocations: 178.9 kB / 311.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.09486, allocations: 4 kB / 311.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.0949, allocations: 8 kB / 311.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.09523, allocations: 109.9 kB / 311.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.09526, allocations: 7.938 kB / 311.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.09528, allocations: 4 kB / 311.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.0953, allocations: 4 kB / 311.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.09563, allocations: 67.83 kB / 311.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008534/0.09649, allocations: 0.6381 MB / 312.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.0968, allocations: 121.1 kB / 312.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.09684, allocations: 7.938 kB / 312.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.09688, allocations: 34.56 kB / 312.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.09689, allocations: 0 / 312.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007147/0.09762, allocations: 141.5 kB / 312.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.09772, allocations: 158.2 kB / 312.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.09792, allocations: 134.3 kB / 313 MB, free: 12.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.09796, allocations: 25.7 kB / 313 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.09807, allocations: 96.05 kB / 313.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.09812, allocations: 19.72 kB / 313.1 MB, free: 12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.09814, allocations: 3.938 kB / 313.1 MB, free: 12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.09829, allocations: 318.8 kB / 313.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.09845, allocations: 23.98 kB / 313.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.09863, allocations: 60.27 kB / 313.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.09881, allocations: 31.98 kB / 313.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.09883, allocations: 0 / 313.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004097/0.09925, allocations: 113.5 kB / 313.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.09928, allocations: 4 kB / 313.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.0993, allocations: 0 / 313.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.09932, allocations: 7.953 kB / 313.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.09948, allocations: 15.98 kB / 313.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.09951, allocations: 4.062 kB / 313.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.09964, allocations: 15.98 kB / 313.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.09967, allocations: 4 kB / 313.7 MB, free: 11.38 MB / 266.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.000113/0.09979, allocations: 121.9 kB / 313.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.09992, allocations: 7.906 kB / 313.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.09996, allocations: 7.531 kB / 313.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.09998, allocations: 7.984 kB / 313.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1, allocations: 3.953 kB / 313.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.1001, allocations: 88.95 kB / 313.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1001, allocations: 0 / 313.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.1004, allocations: 11.98 kB / 313.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.1005, allocations: 12 kB / 313.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006602/0.1011, allocations: 0.4901 MB / 314.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005555/0.1017, allocations: 0.5625 MB / 315 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001795/0.1019, allocations: 35.98 kB / 315 MB, free: 9.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.131e-05/0.102, allocations: 91.27 kB / 315.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of Backend: time 7.41e-07/0.102, allocations: 7.938 kB / 315.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006294/0.1026, allocations: 118.5 kB / 315.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of SimCode: time 0.0006705/0.1033, allocations: 0.6424 MB / 315.9 MB, free: 9.07 MB / 266.7 MB Notification: Performance of Templates: time 0.003422/0.1068, allocations: 0.5685 MB / 316.5 MB, free: 8.504 MB / 266.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