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.DLATREG.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.DLATREG,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 12 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2955, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.4345, allocations: 77.79 MB / 386.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.4348, allocations: 71.97 kB / 386.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09717/0.532, allocations: 26.63 MB / 413.1 MB, free: 4.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.5321, allocations: 4 kB / 413.1 MB, free: 4.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.869e-05/0.5321, allocations: 11.94 kB / 413.1 MB, free: 4.062 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.001666/0.5338, allocations: 1.135 MB / 414.2 MB, free: 2.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.5339, allocations: 12.03 kB / 414.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.534, allocations: 54.55 kB / 414.3 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.5342, allocations: 87.06 kB / 414.4 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008098/0.535, allocations: 419.5 kB / 414.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.5351, allocations: 23.94 kB / 414.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.5353, allocations: 28 kB / 414.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.5366, allocations: 0.4905 MB / 415.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.5366, allocations: 0 / 415.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.5367, allocations: 12 kB / 415.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.5368, allocations: 4 kB / 415.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5378, allocations: 364 kB / 415.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.5402, allocations: 0.9262 MB / 416.6 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2682/0.8085, allocations: 0.4927 MB / 417.1 MB, free: 92.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.8085, allocations: 1.094 kB / 417.1 MB, free: 92.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002618/0.8112, allocations: 0.6393 MB / 417.7 MB, free: 92.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 5.771e-06/0.8112, allocations: 0 / 417.7 MB, free: 92.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.006243/0.8175, allocations: 1.747 MB / 419.5 MB, free: 92.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00025/0.8178, allocations: 286 kB / 419.8 MB, free: 91.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003268/0.8211, allocations: 1.021 MB / 420.8 MB, free: 91.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.8214, allocations: 39.23 kB / 420.8 MB, free: 91.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.8216, allocations: 154.8 kB / 421 MB, free: 91.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.8218, allocations: 74.19 kB / 421 MB, free: 91.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.822, allocations: 14.64 kB / 421.1 MB, free: 91.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8221, allocations: 343.1 kB / 421.4 MB, free: 91.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.8234, allocations: 339.3 kB / 421.7 MB, free: 91.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.8247, allocations: 379.2 kB / 422.1 MB, free: 91.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.8259, allocations: 0.4934 MB / 422.6 MB, free: 90.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.826, allocations: 0 / 422.6 MB, free: 90.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003622/0.8296, allocations: 1.104 MB / 423.7 MB, free: 90.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003033/0.83, allocations: 246.4 kB / 423.9 MB, free: 90.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.83, allocations: 3.844 kB / 423.9 MB, free: 90.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.8301, allocations: 3.938 kB / 423.9 MB, free: 90.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.463e-05/0.8301, allocations: 3.75 kB / 423.9 MB, free: 90.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.8302, allocations: 3.781 kB / 424 MB, free: 90.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009112/0.8311, allocations: 43.5 kB / 424 MB, free: 90.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/0.8314, allocations: 126.1 kB / 424.1 MB, free: 90.33 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: 36 ($PRE.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * 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.001929/0.8334, allocations: 0.7666 MB / 424.9 MB, free: 89.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.8337, allocations: 92.41 kB / 425 MB, free: 89.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006166/0.8343, allocations: 155 kB / 425.1 MB, free: 89.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.8344, allocations: 0 / 425.1 MB, free: 89.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.8344, allocations: 7.203 kB / 425.1 MB, free: 89.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.8344, allocations: 3.75 kB / 425.1 MB, free: 89.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00575/0.8402, allocations: 1.937 MB / 427.1 MB, free: 89.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.8403, allocations: 0 / 427.1 MB, free: 89.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.8403, allocations: 0 / 427.1 MB, free: 89.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.8404, allocations: 0 / 427.1 MB, free: 89.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.8405, allocations: 39.72 kB / 427.1 MB, free: 89.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.8406, allocations: 3.953 kB / 427.1 MB, free: 89.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8406, allocations: 0 / 427.1 MB, free: 89.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004253/0.8449, allocations: 1.37 MB / 428.5 MB, free: 88.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/0.8471, allocations: 0.5649 MB / 429.1 MB, free: 88.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/0.8475, allocations: 57.17 kB / 429.1 MB, free: 88.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.8484, allocations: 39.09 kB / 429.1 MB, free: 88.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008567/0.8493, allocations: 237.7 kB / 429.4 MB, free: 88.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/0.8496, allocations: 129.6 kB / 429.5 MB, free: 88.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002945/0.8526, allocations: 0.8611 MB / 430.4 MB, free: 87.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.104e-06/0.8526, allocations: 0 / 430.4 MB, free: 87.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001249/0.8539, allocations: 123.8 kB / 430.5 MB, free: 87.77 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * 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.004843/0.8588, allocations: 2.014 MB / 432.5 MB, free: 86.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003693/0.8625, allocations: 1.525 MB / 434 MB, free: 85.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.8626, allocations: 0 / 434 MB, free: 85.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002295/0.8649, allocations: 1.148 MB / 435.2 MB, free: 84.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.8674, allocations: 271.9 kB / 435.4 MB, free: 84.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.8809, allocations: 4.8 MB / 440.2 MB, free: 79.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008792/0.8818, allocations: 1.034 MB / 441.3 MB, free: 78.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.8821, allocations: 31.83 kB / 441.3 MB, free: 78.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.8822, allocations: 70.09 kB / 441.4 MB, free: 78.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.8822, allocations: 4 kB / 441.4 MB, free: 78.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04273/0.925, allocations: 15.41 MB / 456.8 MB, free: 64.15 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.9252, allocations: 182 kB / 457 MB, free: 63.9 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/3.822, allocations: 0 / 457 MB, free: 63.9 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG_res.mat does not exist to compare? outputFormat=mat