Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.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.ShowLogicalSources,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 8 kB / 264.1 MB, free: 2.523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2957, allocations: 44.5 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4245, allocations: 71.91 MB / 380.5 MB, free: 4.543 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.4248, allocations: 67.97 kB / 380.5 MB, free: 4.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008333/0.4332, allocations: 1.731 MB / 382.3 MB, free: 2.742 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4332, allocations: 3.938 kB / 382.3 MB, free: 2.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.4333, allocations: 0 / 382.3 MB, free: 2.738 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006893/0.434, allocations: 438.6 kB / 382.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.434, allocations: 8.031 kB / 382.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.4341, allocations: 38.56 kB / 382.7 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.4341, allocations: 15.89 kB / 382.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.4344, allocations: 182.8 kB / 382.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.4344, allocations: 4 kB / 382.9 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.4344, allocations: 4 kB / 382.9 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.4347, allocations: 97.05 kB / 383 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4347, allocations: 3.984 kB / 383 MB, free: 1.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.4348, allocations: 0 / 383 MB, free: 1.836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4348, allocations: 8 kB / 383 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.435, allocations: 35.92 kB / 383.1 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.4356, allocations: 390.7 kB / 383.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.4358, allocations: 103.5 kB / 383.6 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.4359, allocations: 0 / 383.6 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.4362, allocations: 150 kB / 383.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.4362, allocations: 0 / 383.7 MB, free: 1.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006686/0.4369, allocations: 276.3 kB / 384 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.437, allocations: 166.2 kB / 384.1 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4371, allocations: 121.2 kB / 384.3 MB, free: 436 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.4372, allocations: 33.69 kB / 384.3 MB, free: 396 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.4373, allocations: 92.48 kB / 384.4 MB, free: 296 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.4373, allocations: 19.8 kB / 384.4 MB, free: 276 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.4373, allocations: 4 kB / 384.4 MB, free: 272 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4375, allocations: 326.8 kB / 384.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.4376, allocations: 27.98 kB / 384.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.4378, allocations: 55.34 kB / 384.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.4379, allocations: 91.39 kB / 384.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.438, allocations: 0 / 384.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004597/0.4384, allocations: 184.9 kB / 385.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.4385, allocations: 59.41 kB / 385.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4385, allocations: 0 / 385.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4386, allocations: 3.938 kB / 385.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.4386, allocations: 7.938 kB / 385.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.4386, allocations: 8.062 kB / 385.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.4388, allocations: 19.92 kB / 385.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.4389, allocations: 4 kB / 385.2 MB, free: 15.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,step.y,pulse.y,$PRE.pulse.pulsStart,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,$PRE.table.y,table.y,$PRE.table.nextTime,table.nextTime,$PRE.table.index,table.index) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001766/0.439, allocations: 159.5 kB / 385.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.4391, allocations: 15.81 kB / 385.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.4391, allocations: 12.67 kB / 385.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.4392, allocations: 8 kB / 385.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4392, allocations: 0 / 385.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4392, allocations: 0 / 385.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.4395, allocations: 201.6 kB / 385.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4395, allocations: 0 / 385.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.4395, allocations: 7.922 kB / 385.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4395, allocations: 0 / 385.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.4396, allocations: 8 kB / 385.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.4396, allocations: 4 kB / 385.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4396, allocations: 0 / 385.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.4401, allocations: 235.9 kB / 385.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.4402, allocations: 96.98 kB / 385.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.4402, allocations: 4 kB / 385.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4404, allocations: 15.98 kB / 385.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.4405, allocations: 19.94 kB / 385.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.4405, allocations: 4 kB / 386 MB, free: 14.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.501e-05/0.4406, allocations: 102.6 kB / 386.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4406, allocations: 0 / 386.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.441, allocations: 35.98 kB / 386.1 MB, free: 14.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,step.y,pulse.y,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,table.y,table.nextTime,table.index) * Number of discrete states: 4 (table.y,table.nextTime,table.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0009595/0.442, allocations: 0.9322 MB / 387 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.4425, allocations: 206.7 kB / 387.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.4425, allocations: 3.938 kB / 387.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.4428, allocations: 123.3 kB / 387.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.4431, allocations: 13.7 kB / 387.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.4448, allocations: 1.115 MB / 388.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4452, allocations: 0.6965 MB / 389.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.4453, allocations: 4.672 kB / 389.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.4453, allocations: 23.42 kB / 389.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4454, allocations: 4 kB / 389.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.4697, allocations: 2.252 MB / 391.5 MB, free: 8.891 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/0.47, allocations: 169.5 kB / 391.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/3.23, allocations: 0 / 391.6 MB, free: 8.652 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources_res.mat does not exist to compare? outputFormat=mat