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 2.239/2.239, allocations: 194.9 MB / 211.1 MB, free: 8.539 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005028, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3328, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.4882, allocations: 71.78 MB / 380.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.4886, allocations: 71.97 kB / 380.4 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006069/0.4947, allocations: 1.445 MB / 381.9 MB, free: 3.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4947, allocations: 0 / 381.9 MB, free: 3.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.4948, allocations: 0 / 381.9 MB, free: 3.258 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.0005853/0.4954, allocations: 379.1 kB / 382.2 MB, free: 2.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4954, allocations: 8.031 kB / 382.2 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/0.4955, allocations: 38.55 kB / 382.3 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.4956, allocations: 7.906 kB / 382.3 MB, free: 2.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.4957, allocations: 175 kB / 382.4 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.4958, allocations: 8 kB / 382.5 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.4958, allocations: 7.938 kB / 382.5 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.4962, allocations: 121.9 kB / 382.6 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4962, allocations: 0 / 382.6 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.4962, allocations: 4 kB / 382.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.4962, allocations: 4 kB / 382.6 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.4966, allocations: 71.88 kB / 382.7 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.4975, allocations: 0.6342 MB / 383.3 MB, free: 1.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.4978, allocations: 127 kB / 383.4 MB, free: 1.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4978, allocations: 3.984 kB / 383.4 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.4979, allocations: 42.56 kB / 383.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.126e-06/0.4979, allocations: 0 / 383.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007263/0.4986, allocations: 141.9 kB / 383.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.4988, allocations: 158.2 kB / 383.8 MB, free: 1.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.4989, allocations: 108.9 kB / 383.9 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.4989, allocations: 29.7 kB / 383.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.499, allocations: 96.03 kB / 384 MB, free: 0.832 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.4991, allocations: 27.86 kB / 384 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.4991, allocations: 0 / 384 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4992, allocations: 318.8 kB / 384.3 MB, free: 496 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.4994, allocations: 23.92 kB / 384.3 MB, free: 472 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.4996, allocations: 60.28 kB / 384.4 MB, free: 396 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.4998, allocations: 27.98 kB / 384.4 MB, free: 368 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4998, allocations: 0 / 384.4 MB, free: 368 kB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004535/0.5003, allocations: 109.4 kB / 384.5 MB, free: 252 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.5003, allocations: 4 kB / 384.5 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5003, allocations: 4 kB / 384.5 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.5004, allocations: 4.156 kB / 384.5 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.5006, allocations: 31.81 kB / 384.6 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.5006, allocations: 0 / 384.6 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.5008, allocations: 11.98 kB / 384.6 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.5008, allocations: 4 kB / 384.6 MB, free: 192 kB / 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 0.0001299/0.5009, allocations: 117.8 kB / 384.7 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.5011, allocations: 7.906 kB / 384.7 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.5011, allocations: 19.52 kB / 384.7 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5011, allocations: 0 / 384.7 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5012, allocations: 3.953 kB / 384.7 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5012, allocations: 4 kB / 384.7 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.5017, allocations: 185.8 kB / 384.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.5017, allocations: 0 / 384.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.5019, allocations: 15.98 kB / 384.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.5019, allocations: 0 / 384.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.5019, allocations: 4 kB / 384.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5019, allocations: 0 / 384.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5019, allocations: 4 kB / 385 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.5026, allocations: 0.5423 MB / 385.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.5026, allocations: 81.11 kB / 385.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.5027, allocations: 7.984 kB / 385.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.503, allocations: 12 kB / 385.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.5031, allocations: 7.984 kB / 385.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.5031, allocations: 4 kB / 385.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.607e-05/0.5032, allocations: 91.27 kB / 385.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5032, allocations: 0 / 385.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004892/0.5037, allocations: 12 kB / 385.7 MB, free: 14.95 MB / 330.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.001122/0.5048, allocations: 1.354 MB / 387.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.5053, allocations: 71.89 kB / 387.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.5053, allocations: 0 / 387.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.5055, allocations: 44.42 kB / 387.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.5058, allocations: 4.062 kB / 387.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.5068, allocations: 273.5 kB / 387.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.5072, allocations: 0.6926 MB / 388.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.5073, allocations: 4 kB / 388.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.5074, allocations: 15.44 kB / 388.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5074, allocations: 0 / 388.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.5259, allocations: 1.343 MB / 389.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/0.5263, allocations: 159.3 kB / 389.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.009, allocations: 4 kB / 389.7 MB, free: 10.83 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat