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: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 194.9 MB / 211.1 MB, free: 8.746 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003402, allocations: 8 kB / 264 MB, free: 3.688 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2828, allocations: 44.51 MB / 308.5 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002191/0.285, allocations: 1.267 MB / 309.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008515/0.2859, allocations: 424.2 kB / 310.2 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.286, allocations: 4 kB / 310.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.286, allocations: 7.875 kB / 310.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.2861, allocations: 11.92 kB / 310.2 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.2863, allocations: 15.98 kB / 310.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.2864, allocations: 39.94 kB / 310.3 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.2865, allocations: 35.91 kB / 310.3 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.2867, allocations: 15.92 kB / 310.4 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.2867, allocations: 23.86 kB / 310.4 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.2868, allocations: 4 kB / 310.4 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.2868, allocations: 4 kB / 310.4 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.2868, allocations: 11.92 kB / 310.4 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.2869, allocations: 37.58 kB / 310.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.718e-05/0.287, allocations: 47.91 kB / 310.5 MB, free: 10.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.287, allocations: 0 / 310.5 MB, free: 10.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.287, allocations: 0 / 310.5 MB, free: 10.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.287, allocations: 0 / 310.5 MB, free: 10.73 MB / 250.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.0005546/0.2876, allocations: 372.1 kB / 310.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2876, allocations: 12.03 kB / 310.9 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.2877, allocations: 38.55 kB / 310.9 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.2877, allocations: 15.89 kB / 310.9 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2879, allocations: 167 kB / 311.1 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.2879, allocations: 4 kB / 311.1 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.288, allocations: 8 kB / 311.1 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.2883, allocations: 117.9 kB / 311.2 MB, free: 9.891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2883, allocations: 0 / 311.2 MB, free: 9.891 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2883, allocations: 0 / 311.2 MB, free: 9.891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.2884, allocations: 4 kB / 311.2 MB, free: 9.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.2887, allocations: 71.89 kB / 311.3 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008196/0.2895, allocations: 0.6419 MB / 311.9 MB, free: 9.109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.2898, allocations: 120.9 kB / 312 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2898, allocations: 8.172 kB / 312 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.2899, allocations: 38.5 kB / 312.1 MB, free: 8.891 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.2899, allocations: 0 / 312.1 MB, free: 8.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006881/0.2906, allocations: 141.9 kB / 312.2 MB, free: 8.746 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.2907, allocations: 158.3 kB / 312.4 MB, free: 8.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2908, allocations: 121.8 kB / 312.5 MB, free: 8.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.2909, allocations: 29.7 kB / 312.5 MB, free: 8.391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.2909, allocations: 92.05 kB / 312.6 MB, free: 8.297 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.291, allocations: 15.75 kB / 312.6 MB, free: 8.281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.291, allocations: 3.938 kB / 312.6 MB, free: 8.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2911, allocations: 322.8 kB / 312.9 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.2913, allocations: 23.98 kB / 313 MB, free: 7.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.2915, allocations: 64.2 kB / 313 MB, free: 7.852 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.2917, allocations: 31.92 kB / 313.1 MB, free: 7.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.2917, allocations: 4 kB / 313.1 MB, free: 7.816 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003949/0.2921, allocations: 109.4 kB / 313.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2921, allocations: 6.188 kB / 313.2 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2921, allocations: 3.953 kB / 313.2 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2921, allocations: 4 kB / 313.2 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.2923, allocations: 19.98 kB / 313.2 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.2923, allocations: 0 / 313.2 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2925, allocations: 12.16 kB / 313.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2925, allocations: 4 kB / 313.2 MB, free: 7.656 MB / 250.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.0001121/0.2926, allocations: 121.8 kB / 313.3 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.2927, allocations: 7.906 kB / 313.3 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.2928, allocations: 7.531 kB / 313.4 MB, free: 7.508 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.2928, allocations: 7.953 kB / 313.4 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2928, allocations: 0 / 313.4 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.2928, allocations: 4 kB / 313.4 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.2933, allocations: 185.6 kB / 313.5 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2933, allocations: 4 kB / 313.6 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.2935, allocations: 15.98 kB / 313.6 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2935, allocations: 0 / 313.6 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2935, allocations: 128 / 313.6 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.2935, allocations: 8 kB / 313.6 MB, free: 7.238 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2935, allocations: 3.953 kB / 313.6 MB, free: 7.234 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.294, allocations: 0.4927 MB / 314.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.2941, allocations: 92.94 kB / 314.2 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2942, allocations: 11.98 kB / 314.2 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.2945, allocations: 8 kB / 314.2 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.2946, allocations: 11.94 kB / 314.2 MB, free: 6.582 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.2946, allocations: 4 kB / 314.2 MB, free: 6.578 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.475e-05/0.2947, allocations: 99.58 kB / 314.3 MB, free: 6.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2947, allocations: 0 / 314.3 MB, free: 6.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004652/0.2951, allocations: 16 kB / 314.3 MB, free: 6.465 MB / 250.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.0008313/0.296, allocations: 1.022 MB / 315.3 MB, free: 5.414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003706/0.2964, allocations: 68.02 kB / 315.4 MB, free: 5.348 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2964, allocations: 3.938 kB / 315.4 MB, free: 5.344 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2966, allocations: 43.92 kB / 315.4 MB, free: 5.301 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.297, allocations: 11.25 kB / 315.5 MB, free: 5.293 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009347/0.2979, allocations: 273.5 kB / 315.7 MB, free: 4.977 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.2983, allocations: 0.7004 MB / 316.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.933e-05/0.2983, allocations: 0 / 316.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.2984, allocations: 23.44 kB / 316.4 MB, free: 4.227 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2984, allocations: 0 / 316.4 MB, free: 4.227 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.3175, allocations: 1.337 MB / 317.8 MB, free: 2.93 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/0.3178, allocations: 157.4 kB / 317.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/2.567, allocations: 64 / 317.9 MB, free: 2.691 MB / 250.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,gain.y,integerStep.height,integerStep.offset,integerStep.startTime,integerStep.y,part.booleanExpression.y,part.realExpression.y,part.subControlBus.myBooleanSignal,part.subControlBus.myRealSignal,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time