Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.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.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.673/1.673, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 20 kB / 233.4 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.4627, allocations: 72.34 MB / 344.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.463, allocations: 71.16 kB / 344.5 MB, free: 488 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09534/0.5584, allocations: 27.26 MB / 371.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5584, allocations: 0 / 371.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.5585, allocations: 8 kB / 371.8 MB, free: 9.969 MB / 298.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.0009172/0.5594, allocations: 0.6746 MB / 372.5 MB, free: 9.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.5595, allocations: 11.97 kB / 372.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.29e-05/0.5595, allocations: 46.55 kB / 372.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.5597, allocations: 35.53 kB / 372.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.5601, allocations: 263.1 kB / 372.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.5601, allocations: 8 kB / 372.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.5602, allocations: 11.05 kB / 372.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.5607, allocations: 153.3 kB / 373 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5607, allocations: 0 / 373 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.5607, allocations: 15.86 kB / 373 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5608, allocations: 0 / 373 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.561, allocations: 61.97 kB / 373.1 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.5621, allocations: 472.1 kB / 373.5 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.5624, allocations: 114.3 kB / 373.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.5624, allocations: 0 / 373.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004671/0.5629, allocations: 231 kB / 373.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.5629, allocations: 0 / 373.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001496/0.5644, allocations: 0.6551 MB / 374.5 MB, free: 7.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.5646, allocations: 161.3 kB / 374.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009263/0.5655, allocations: 475.1 kB / 375.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.5656, allocations: 29.7 kB / 375.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/0.5656, allocations: 98.75 kB / 375.3 MB, free: 6.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/0.5657, allocations: 25.78 kB / 375.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.5658, allocations: 4 kB / 375.3 MB, free: 6.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5659, allocations: 321.5 kB / 375.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.5662, allocations: 63.52 kB / 375.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.5664, allocations: 85.17 kB / 375.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.5667, allocations: 181 kB / 375.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5667, allocations: 4 kB / 375.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001019/0.5678, allocations: 409.5 kB / 376.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.5679, allocations: 125.5 kB / 376.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.5679, allocations: 0 / 376.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.568, allocations: 0 / 376.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.73e-05/0.568, allocations: 3.938 kB / 376.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.568, allocations: 4 kB / 376.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.5683, allocations: 19.97 kB / 376.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/0.5685, allocations: 123.8 kB / 376.6 MB, free: 5.203 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0005592/0.569, allocations: 353.8 kB / 377 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.5691, allocations: 39.58 kB / 377 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.5693, allocations: 66.72 kB / 377.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5693, allocations: 0 / 377.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.5693, allocations: 0 / 377.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5693, allocations: 0 / 377.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.571, allocations: 0.8475 MB / 377.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.571, allocations: 0 / 377.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/0.571, allocations: 3.562 kB / 377.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.571, allocations: 7.938 kB / 377.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.5711, allocations: 19.98 kB / 377.9 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.5711, allocations: 4 kB / 378 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5711, allocations: 0 / 378 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.5723, allocations: 0.5588 MB / 378.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.5729, allocations: 257.9 kB / 378.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.937e-05/0.573, allocations: 15.25 kB / 378.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.5733, allocations: 15.92 kB / 378.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.5734, allocations: 34.7 kB / 378.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/0.5737, allocations: 115.9 kB / 378.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007649/0.5744, allocations: 391.8 kB / 379.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5744, allocations: 3.938 kB / 379.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000452/0.5749, allocations: 40 kB / 379.4 MB, free: 2.613 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.001626/0.5765, allocations: 1.121 MB / 380.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008381/0.5774, allocations: 450.3 kB / 380.9 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5774, allocations: 4 kB / 380.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.5779, allocations: 380.2 kB / 381.3 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008226/0.5788, allocations: 109.1 kB / 381.4 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.5824, allocations: 1.638 MB / 383 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.5831, allocations: 0.8129 MB / 383.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.541e-05/0.5831, allocations: 4.672 kB / 383.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.5832, allocations: 30.61 kB / 383.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5832, allocations: 0 / 383.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.6153, allocations: 6.89 MB / 390.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.6156, allocations: 175.4 kB / 391 MB, free: 7.133 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.09, allocations: 7.875 kB / 391 MB, free: 7.125 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S_res.mat does not exist to compare? outputFormat=mat