Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.711/1.711, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003721, allocations: 8 kB / 233.3 MB, free: 2.281 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09356/0.09397, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3674/0.4615, allocations: 66.59 MB / 338.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4618, allocations: 65.47 kB / 338.8 MB, free: 6.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008362/0.4701, allocations: 1.732 MB / 340.5 MB, free: 5.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4702, allocations: 0 / 340.5 MB, free: 5.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4702, allocations: 0 / 340.5 MB, free: 5.039 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000736/0.4709, allocations: 454.3 kB / 341 MB, free: 4.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.471, allocations: 8.031 kB / 341 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/0.4711, allocations: 38.25 kB / 341 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.4711, allocations: 11.84 kB / 341 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.4713, allocations: 163.1 kB / 341.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.4713, allocations: 11.3 kB / 341.2 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.4714, allocations: 7.953 kB / 341.2 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.4716, allocations: 98.61 kB / 341.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4717, allocations: 0 / 341.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.4717, allocations: 0 / 341.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4717, allocations: 4 kB / 341.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.4719, allocations: 43.78 kB / 341.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.4725, allocations: 390.8 kB / 341.7 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.4727, allocations: 94.31 kB / 341.8 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.4727, allocations: 4.125 kB / 341.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.473, allocations: 155.1 kB / 342 MB, free: 3.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.635e-06/0.4731, allocations: 0 / 342 MB, free: 3.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006734/0.4737, allocations: 273.5 kB / 342.2 MB, free: 3.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.4739, allocations: 165.7 kB / 342.4 MB, free: 2.977 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.474, allocations: 127.2 kB / 342.5 MB, free: 2.852 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.4741, allocations: 29.14 kB / 342.5 MB, free: 2.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.4742, allocations: 94.06 kB / 342.6 MB, free: 2.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.4742, allocations: 18.78 kB / 342.7 MB, free: 2.711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.4742, allocations: 3 kB / 342.7 MB, free: 2.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4744, allocations: 321.5 kB / 343 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4745, allocations: 29.73 kB / 343 MB, free: 2.371 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.4747, allocations: 61.84 kB / 343.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4748, allocations: 82.91 kB / 343.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.4748, allocations: 3.953 kB / 343.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004357/0.4753, allocations: 193.7 kB / 343.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.103e-05/0.4754, allocations: 64.86 kB / 343.4 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4754, allocations: 4 kB / 343.4 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4754, allocations: 4 kB / 343.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.4755, allocations: 0 / 343.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4755, allocations: 4 kB / 343.4 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.4757, allocations: 15.36 kB / 343.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.4757, allocations: 4 kB / 343.4 MB, free: 1.938 MB / 266.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.0002389/0.476, allocations: 166.2 kB / 343.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.476, allocations: 16 kB / 343.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/0.4761, allocations: 15.86 kB / 343.6 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4762, allocations: 0 / 343.6 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4762, allocations: 0.875 kB / 343.6 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.4762, allocations: 3.984 kB / 343.6 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.4769, allocations: 192.9 kB / 343.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.4769, allocations: 0 / 343.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.477, allocations: 3.953 kB / 343.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/0.477, allocations: 4 kB / 343.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.4771, allocations: 4.359 kB / 343.8 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.675e-05/0.4771, allocations: 8 kB / 343.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.4771, allocations: 4 kB / 343.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.478, allocations: 235.4 kB / 344.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.478, allocations: 89.02 kB / 344.2 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.4781, allocations: 6.188 kB / 344.2 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.4783, allocations: 15.98 kB / 344.2 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.4784, allocations: 15.28 kB / 344.2 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.4784, allocations: 4 kB / 344.2 MB, free: 1.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.4785, allocations: 100.1 kB / 344.3 MB, free: 1.008 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.989e-06/0.4785, allocations: 0 / 344.3 MB, free: 1.008 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.4789, allocations: 47.25 kB / 344.3 MB, free: 0.9648 MB / 266.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.001103/0.48, allocations: 0.939 MB / 345.3 MB, free: 16 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000446/0.4805, allocations: 194.6 kB / 345.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4805, allocations: 0 / 345.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.4808, allocations: 116.9 kB / 345.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.481, allocations: 24.55 kB / 345.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.4828, allocations: 1.134 MB / 346.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.4832, allocations: 0.6965 MB / 347.4 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.4832, allocations: 8.656 kB / 347.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.4833, allocations: 20.88 kB / 347.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4833, allocations: 0 / 347.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.5092, allocations: 2.251 MB / 349.7 MB, free: 11.65 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/0.5096, allocations: 176.4 kB / 349.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/2.931, allocations: 8 kB / 349.9 MB, free: 11.4 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources_res.mat does not exist to compare? outputFormat=mat