Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.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.Electrical.Digital.Examples.BUF3S,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_BUF3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 194.9 MB / 211.1 MB, free: 8.758 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 8 kB / 264.1 MB, free: 3.688 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3002, allocations: 44.5 MB / 308.6 MB, free: 12.81 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.4614, allocations: 77.67 MB / 386.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.4617, allocations: 71.95 kB / 386.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09741/0.5592, allocations: 26.79 MB / 413.1 MB, free: 4.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.599e-06/0.5592, allocations: 0 / 413.1 MB, free: 4.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.5593, allocations: 11.94 kB / 413.1 MB, free: 4.207 MB / 346.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.0009734/0.5602, allocations: 0.6801 MB / 413.8 MB, free: 3.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.5603, allocations: 12.03 kB / 413.8 MB, free: 3.441 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.588e-05/0.5604, allocations: 38.56 kB / 413.8 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.817e-05/0.5605, allocations: 31.62 kB / 413.9 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.561, allocations: 269.3 kB / 414.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.561, allocations: 11.98 kB / 414.1 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.5611, allocations: 8 kB / 414.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.5616, allocations: 149.5 kB / 414.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5616, allocations: 4 kB / 414.3 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.5616, allocations: 7.984 kB / 414.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5617, allocations: 0 / 414.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.5619, allocations: 63.95 kB / 414.4 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.563, allocations: 476.5 kB / 414.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.5634, allocations: 110.5 kB / 414.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.5634, allocations: 0 / 414.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005137/0.5639, allocations: 226.8 kB / 415.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.324e-06/0.564, allocations: 0 / 415.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001539/0.5655, allocations: 0.6625 MB / 415.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.5657, allocations: 166.2 kB / 416 MB, free: 1.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.5667, allocations: 468.5 kB / 416.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.749e-05/0.5667, allocations: 33.7 kB / 416.5 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.5668, allocations: 97.08 kB / 416.6 MB, free: 412 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.5669, allocations: 27.7 kB / 416.6 MB, free: 384 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.567, allocations: 4 kB / 416.6 MB, free: 380 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5671, allocations: 330.8 kB / 416.9 MB, free: 40 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2702/0.8374, allocations: 53.73 kB / 417 MB, free: 93.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.8379, allocations: 80.08 kB / 417 MB, free: 93.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.8384, allocations: 175.7 kB / 417.2 MB, free: 93.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.8384, allocations: 0 / 417.2 MB, free: 93.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001629/0.8401, allocations: 418.5 kB / 417.6 MB, free: 93.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.8402, allocations: 124.2 kB / 417.8 MB, free: 93.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.8402, allocations: 0.625 kB / 417.8 MB, free: 93.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.8403, allocations: 5.938 kB / 417.8 MB, free: 93.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.903e-05/0.8403, allocations: 1.281 kB / 417.8 MB, free: 93.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.8403, allocations: 1.125 kB / 417.8 MB, free: 93.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.8407, allocations: 14.2 kB / 417.8 MB, free: 93.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000373/0.8411, allocations: 121.6 kB / 417.9 MB, free: 93.03 MB / 346.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.000785/0.8419, allocations: 363.1 kB / 418.2 MB, free: 92.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.8421, allocations: 39.94 kB / 418.3 MB, free: 92.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.8423, allocations: 67.06 kB / 418.4 MB, free: 92.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8423, allocations: 4.5 kB / 418.4 MB, free: 92.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.8424, allocations: 0 / 418.4 MB, free: 92.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.8424, allocations: 1.188 kB / 418.4 MB, free: 92.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.8449, allocations: 0.8393 MB / 419.2 MB, free: 92.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.8449, allocations: 1.125 kB / 419.2 MB, free: 92.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.8449, allocations: 1.344 kB / 419.2 MB, free: 92.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.8449, allocations: 6.328 kB / 419.2 MB, free: 92.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.845, allocations: 23.95 kB / 419.2 MB, free: 92.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.8451, allocations: 0.875 kB / 419.2 MB, free: 92.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.8451, allocations: 2.891 kB / 419.2 MB, free: 92.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.8467, allocations: 0.5612 MB / 419.8 MB, free: 92.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007345/0.8474, allocations: 249.5 kB / 420 MB, free: 91.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.8476, allocations: 14.17 kB / 420.1 MB, free: 91.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.848, allocations: 14.62 kB / 420.1 MB, free: 91.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.8483, allocations: 33.64 kB / 420.1 MB, free: 91.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/0.8485, allocations: 120 kB / 420.2 MB, free: 91.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009828/0.8495, allocations: 391 kB / 420.6 MB, free: 91.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.8495, allocations: 0 / 420.6 MB, free: 91.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007828/0.8503, allocations: 42.5 kB / 420.6 MB, free: 91.74 MB / 346.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.001763/0.8521, allocations: 1.123 MB / 421.8 MB, free: 90.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.8531, allocations: 448.2 kB / 422.2 MB, free: 90.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8532, allocations: 3.281 kB / 422.2 MB, free: 90.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.8538, allocations: 387.6 kB / 422.6 MB, free: 90.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.8549, allocations: 108 kB / 422.7 MB, free: 90.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/0.8596, allocations: 1.631 MB / 424.3 MB, free: 89.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.8602, allocations: 0.804 MB / 425.1 MB, free: 88.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.8604, allocations: 18.25 kB / 425.1 MB, free: 88.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.8604, allocations: 29.89 kB / 425.2 MB, free: 88.87 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8605, allocations: 0 / 425.2 MB, free: 88.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/0.9144, allocations: 6.876 MB / 432 MB, free: 88.09 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002762/0.9147, allocations: 171.7 kB / 432.2 MB, free: 87.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.504, allocations: 0 / 432.2 MB, free: 87.86 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S_res.mat does not exist to compare? outputFormat=mat