Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004753, allocations: 11.94 kB / 264 MB, free: 13.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1213, allocations: 44.5 MB / 308.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5189, allocations: 71.78 MB / 380.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5192, allocations: 70.05 kB / 380.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005761/0.525, allocations: 1.437 MB / 381.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.525, allocations: 1.219 kB / 381.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.525, allocations: 1.188 kB / 381.8 MB, free: 14.16 MB / 314.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.0004762/0.5255, allocations: 384 kB / 382.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.5256, allocations: 10.78 kB / 382.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.5256, allocations: 37.39 kB / 382.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.5257, allocations: 7.75 kB / 382.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.5258, allocations: 172.6 kB / 382.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.5258, allocations: 2.406 kB / 382.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.5259, allocations: 11.56 kB / 382.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.5262, allocations: 120 kB / 382.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5262, allocations: 0 / 382.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.5262, allocations: 2.219 kB / 382.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.5263, allocations: 4.984 kB / 382.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.5266, allocations: 68.86 kB / 382.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000643/0.5272, allocations: 0.6347 MB / 383.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.5275, allocations: 123.5 kB / 383.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.5275, allocations: 2.375 kB / 383.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.5276, allocations: 44.34 kB / 383.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.5276, allocations: 0 / 383.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006719/0.5283, allocations: 141.8 kB / 383.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.5283, allocations: 160.6 kB / 383.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.5284, allocations: 111.6 kB / 383.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.5285, allocations: 27.17 kB / 383.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.5285, allocations: 164.5 kB / 384 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.5286, allocations: 18.56 kB / 384 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.5286, allocations: 96 / 384 MB, free: 12.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.5286, allocations: 320.8 kB / 384.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.5288, allocations: 28.08 kB / 384.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.529, allocations: 56.88 kB / 384.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.5292, allocations: 31.47 kB / 384.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.5292, allocations: 1.094 kB / 384.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003791/0.5296, allocations: 102 kB / 384.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5296, allocations: 9.375 kB / 384.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5296, allocations: 1.312 kB / 384.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5296, allocations: 2.219 kB / 384.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.5298, allocations: 29.03 kB / 384.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5298, allocations: 3.719 kB / 384.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.53, allocations: 13.83 kB / 384.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.53, allocations: 3.016 kB / 384.6 MB, free: 11.72 MB / 314.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 (part.booleanExpression.y,booleanStep.y,integerStep.y) * 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 9.36e-05/0.5301, allocations: 120.2 kB / 384.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.5302, allocations: 4.062 kB / 384.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.5303, allocations: 11.47 kB / 384.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5303, allocations: 5.312 kB / 384.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5303, allocations: 7.797 kB / 384.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.5303, allocations: 0 / 384.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.5308, allocations: 183.6 kB / 384.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5308, allocations: 0 / 384.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.5309, allocations: 15.41 kB / 385 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.531, allocations: 1.875 kB / 385 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.531, allocations: 3.203 kB / 385 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.531, allocations: 1.969 kB / 385 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.531, allocations: 1.969 kB / 385 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.5315, allocations: 0.5429 MB / 385.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.5316, allocations: 85.44 kB / 385.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.5316, allocations: 4.688 kB / 385.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.5319, allocations: 19.53 kB / 385.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.532, allocations: 9.859 kB / 385.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5321, allocations: 2.969 kB / 385.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.432e-05/0.5321, allocations: 90.11 kB / 385.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5321, allocations: 0 / 385.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.5326, allocations: 9.406 kB / 385.7 MB, free: 10.71 MB / 314.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 (part.booleanExpression.y,booleanStep.y,integerStep.y) * 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.0007884/0.5334, allocations: 1.359 MB / 387.1 MB, free: 9.402 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003997/0.5339, allocations: 68.7 kB / 387.2 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5339, allocations: 3.938 kB / 387.2 MB, free: 9.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.5341, allocations: 39.17 kB / 387.2 MB, free: 9.387 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.5345, allocations: 9.422 kB / 387.2 MB, free: 9.387 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.5355, allocations: 291.2 kB / 387.5 MB, free: 9.133 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.5357, allocations: 0.6963 MB / 388.2 MB, free: 8.434 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.5357, allocations: 26.98 kB / 388.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5358, allocations: 0 / 388.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.326/2.862, allocations: 1.204 MB / 389.4 MB, free: 8.348 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat