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.DLATREG.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.DLATREG,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_DLATREG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.561/1.561, allocations: 171.2 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003592, allocations: 8 kB / 233.3 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.08543, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.4494, allocations: 72.49 MB / 344.6 MB, free: 360 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.4497, allocations: 72.33 kB / 344.7 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1115/0.5612, allocations: 26.56 MB / 371.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5613, allocations: 0 / 371.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.154e-05/0.5613, allocations: 15.94 kB / 371.3 MB, free: 10.26 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00192/0.5632, allocations: 1.133 MB / 372.4 MB, free: 9.086 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.5633, allocations: 12.03 kB / 372.4 MB, free: 9.074 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/0.5635, allocations: 65.72 kB / 372.5 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.5637, allocations: 86.97 kB / 372.5 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009273/0.5647, allocations: 403.2 kB / 372.9 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/0.5648, allocations: 15.25 kB / 373 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5649, allocations: 27.88 kB / 373 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.5662, allocations: 499.7 kB / 373.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5663, allocations: 3.984 kB / 373.5 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.5664, allocations: 23.19 kB / 373.5 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5664, allocations: 0 / 373.5 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009786/0.5674, allocations: 355 kB / 373.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.5698, allocations: 0.9175 MB / 374.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.571, allocations: 0.5016 MB / 375.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.571, allocations: 4 kB / 375.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.5725, allocations: 0.6277 MB / 375.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 4.559e-06/0.5725, allocations: 0 / 375.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.00406/0.5766, allocations: 1.734 MB / 377.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002519/0.5769, allocations: 279.7 kB / 377.9 MB, free: 4.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.5793, allocations: 1.017 MB / 378.9 MB, free: 3.562 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.5795, allocations: 41.52 kB / 379 MB, free: 3.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.5797, allocations: 140.9 kB / 379.1 MB, free: 3.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.5799, allocations: 74.11 kB / 379.2 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.58, allocations: 11.88 kB / 379.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5801, allocations: 346.2 kB / 379.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009653/0.5811, allocations: 337 kB / 379.8 MB, free: 2.777 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009554/0.5821, allocations: 369.9 kB / 380.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.5831, allocations: 497 kB / 380.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.5832, allocations: 7.938 kB / 380.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002786/0.586, allocations: 1.094 MB / 381.8 MB, free: 1.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003041/0.5863, allocations: 244.7 kB / 382 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5863, allocations: 0 / 382 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.5864, allocations: 4 kB / 382 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.997e-05/0.5864, allocations: 3.984 kB / 382 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.5865, allocations: 4 kB / 382 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/0.587, allocations: 31.98 kB / 382.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.5873, allocations: 128 kB / 382.2 MB, free: 0.7383 MB / 298.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.001515/0.5888, allocations: 0.7568 MB / 383 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.5891, allocations: 94.95 kB / 383.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.5895, allocations: 147.5 kB / 383.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5895, allocations: 0 / 383.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5895, allocations: 0 / 383.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.5896, allocations: 3.984 kB / 383.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/0.5941, allocations: 1.927 MB / 385.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.5941, allocations: 0 / 385.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.5942, allocations: 0 / 385.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.5942, allocations: 0 / 385.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.5943, allocations: 35.97 kB / 385.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.5943, allocations: 4 kB / 385.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5943, allocations: 3.938 kB / 385.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.5976, allocations: 1.38 MB / 386.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/0.5992, allocations: 0.5504 MB / 387.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.5995, allocations: 59.95 kB / 387.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.6001, allocations: 31.97 kB / 387.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007289/0.6008, allocations: 231.8 kB / 387.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/0.6011, allocations: 135.9 kB / 387.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002127/0.6032, allocations: 0.8538 MB / 388.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.6033, allocations: 0 / 388.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008656/0.6042, allocations: 124 kB / 388.5 MB, free: 10.18 MB / 314.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.003804/0.608, allocations: 1.993 MB / 390.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003092/0.6111, allocations: 1.527 MB / 392 MB, free: 6.504 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6112, allocations: 8.125 kB / 392.1 MB, free: 6.496 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.6132, allocations: 1.136 MB / 393.2 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.6152, allocations: 249.8 kB / 393.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.6274, allocations: 4.74 MB / 398.2 MB, free: 232 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.6288, allocations: 1.035 MB / 399.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000251/0.629, allocations: 41.45 kB / 399.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.6292, allocations: 71.41 kB / 399.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6292, allocations: 0 / 399.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06042/0.6897, allocations: 15.36 MB / 414.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003352/0.6901, allocations: 169.6 kB / 414.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.492, allocations: 0 / 414.8 MB, free: 15.26 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREG_res.mat does not exist to compare? outputFormat=mat