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.DFFREGL.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.DFFREGL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DFFREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.265/2.265, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004928, allocations: 12 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4008, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.5476, allocations: 78.01 MB / 386.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.548, allocations: 67.97 kB / 386.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3735/0.9215, allocations: 37.47 MB / 424.1 MB, free: 94.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.9215, allocations: 0 / 424.1 MB, free: 94.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.753e-05/0.9216, allocations: 11.88 kB / 424.1 MB, free: 94.47 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001448/0.923, allocations: 1.14 MB / 425.3 MB, free: 93.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.9231, allocations: 7.875 kB / 425.3 MB, free: 93.72 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.9233, allocations: 59.78 kB / 425.3 MB, free: 93.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.9235, allocations: 87.8 kB / 425.4 MB, free: 93.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.9243, allocations: 421.6 kB / 425.8 MB, free: 93.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.9244, allocations: 24.02 kB / 425.9 MB, free: 93.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.9245, allocations: 29.06 kB / 425.9 MB, free: 93.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.9257, allocations: 0.5168 MB / 426.4 MB, free: 93.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.9258, allocations: 3.938 kB / 426.4 MB, free: 93.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/0.9259, allocations: 11.31 kB / 426.4 MB, free: 93.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.9259, allocations: 3.188 kB / 426.4 MB, free: 93.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008794/0.9268, allocations: 364.4 kB / 426.8 MB, free: 93.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.9288, allocations: 0.8618 MB / 427.6 MB, free: 93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.9299, allocations: 0.514 MB / 428.1 MB, free: 92.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.93, allocations: 7.984 kB / 428.2 MB, free: 92.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.9311, allocations: 0.6532 MB / 428.8 MB, free: 92.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 3.767e-06/0.9312, allocations: 0 / 428.8 MB, free: 92.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.003425/0.9346, allocations: 1.787 MB / 430.6 MB, free: 91.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.9348, allocations: 282.5 kB / 430.9 MB, free: 91.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.9369, allocations: 1.042 MB / 431.9 MB, free: 90.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.9371, allocations: 44.66 kB / 432 MB, free: 90.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.9372, allocations: 144.9 kB / 432.1 MB, free: 90.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.9374, allocations: 79.27 kB / 432.2 MB, free: 90.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/0.9375, allocations: 14.72 kB / 432.2 MB, free: 90.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.9376, allocations: 344.9 kB / 432.5 MB, free: 90.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/0.9384, allocations: 347.3 kB / 432.9 MB, free: 90.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/0.9392, allocations: 386.8 kB / 433.2 MB, free: 90.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/0.9402, allocations: 499.6 kB / 433.7 MB, free: 89.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.9402, allocations: 0 / 433.7 MB, free: 89.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00405/0.9443, allocations: 1.133 MB / 434.9 MB, free: 88.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003587/0.9447, allocations: 246.4 kB / 435.1 MB, free: 88.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.9448, allocations: 4 kB / 435.1 MB, free: 88.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.9448, allocations: 3.984 kB / 435.1 MB, free: 88.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.9449, allocations: 4 kB / 435.1 MB, free: 88.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.945, allocations: 7.906 kB / 435.1 MB, free: 88.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.9461, allocations: 39.88 kB / 435.2 MB, free: 88.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/0.9465, allocations: 150.7 kB / 435.3 MB, free: 88.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 40 ($PRE.dFFREGL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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.002364/0.9489, allocations: 0.7595 MB / 436.1 MB, free: 87.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.9493, allocations: 94.91 kB / 436.2 MB, free: 87.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008135/0.9502, allocations: 155.5 kB / 436.3 MB, free: 87.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.9502, allocations: 11.98 kB / 436.3 MB, free: 87.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.9502, allocations: 0 / 436.3 MB, free: 87.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.9503, allocations: 0 / 436.3 MB, free: 87.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00559/0.9559, allocations: 1.957 MB / 438.3 MB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.9559, allocations: 3.844 kB / 438.3 MB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.956, allocations: 0 / 438.3 MB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.956, allocations: 0 / 438.3 MB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.9561, allocations: 43.81 kB / 438.3 MB, free: 85.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.9561, allocations: 0 / 438.3 MB, free: 85.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9561, allocations: 0 / 438.3 MB, free: 85.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.9588, allocations: 1.389 MB / 439.7 MB, free: 83.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.9604, allocations: 0.5658 MB / 440.3 MB, free: 83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.9607, allocations: 59.91 kB / 440.3 MB, free: 82.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/0.9613, allocations: 47.22 kB / 440.4 MB, free: 82.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000616/0.9619, allocations: 243.7 kB / 440.6 MB, free: 82.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/0.9621, allocations: 153.4 kB / 440.8 MB, free: 82.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001886/0.964, allocations: 0.8654 MB / 441.6 MB, free: 81.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.9641, allocations: 0 / 441.6 MB, free: 81.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008731/0.965, allocations: 124 kB / 441.8 MB, free: 81.53 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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 7 * 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.003133/0.9681, allocations: 2.031 MB / 443.8 MB, free: 79.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.9706, allocations: 1.53 MB / 445.3 MB, free: 77.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.9707, allocations: 0 / 445.3 MB, free: 77.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.9722, allocations: 1.113 MB / 446.4 MB, free: 76.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.9742, allocations: 266.1 kB / 446.7 MB, free: 76.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.9848, allocations: 4.901 MB / 451.6 MB, free: 71.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009339/0.9858, allocations: 1.038 MB / 452.6 MB, free: 70.35 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.986, allocations: 41.48 kB / 452.7 MB, free: 70.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.9862, allocations: 79.41 kB / 452.8 MB, free: 70.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.9862, allocations: 0 / 452.8 MB, free: 70.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05894/1.045, allocations: 16.46 MB / 469.2 MB, free: 53.61 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/1.046, allocations: 182 kB / 469.4 MB, free: 53.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/3.998, allocations: 0 / 469.4 MB, free: 53.36 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat does not exist to compare? outputFormat=mat