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.DLATREGL.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: translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadModel(Modelica): time 2.12/2.12, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003602, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09295, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGL): time 0.002401/0.09541, allocations: 1.391 MB / 310.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.09854, allocations: 0.9606 MB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.09869, allocations: 3.938 kB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.09885, allocations: 15.91 kB / 311.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.09905, allocations: 39.83 kB / 311.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.09944, allocations: 71.84 kB / 311.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.09983, allocations: 199.7 kB / 311.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.1001, allocations: 88.55 kB / 311.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008917/0.101, allocations: 0.5146 MB / 312.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.1013, allocations: 171.5 kB / 312.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.1015, allocations: 8 kB / 312.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1016, allocations: 12 kB / 312.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.1018, allocations: 155.5 kB / 312.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.102, allocations: 153.3 kB / 312.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1031, allocations: 0.8535 MB / 313.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1031, allocations: 0 / 313.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1032, allocations: 0 / 313.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.679e-06/0.1032, allocations: 0 / 313.7 MB, free: 11.71 MB / 266.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.001648/0.1048, allocations: 1.124 MB / 314.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1049, allocations: 8.031 kB / 314.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.1051, allocations: 90.92 kB / 314.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007621/0.1059, allocations: 411.5 kB / 315.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.106, allocations: 23.98 kB / 315.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.1061, allocations: 24 kB / 315.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.1075, allocations: 0.4905 MB / 315.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1076, allocations: 3.938 kB / 315.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.1077, allocations: 15.98 kB / 315.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1077, allocations: 4 kB / 315.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.1087, allocations: 360.1 kB / 316.2 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.1111, allocations: 0.93 MB / 317.1 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.1123, allocations: 0.5024 MB / 317.6 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.1123, allocations: 0 / 317.6 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.1137, allocations: 0.6383 MB / 318.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 3.126e-06/0.1137, allocations: 4 kB / 318.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.004139/0.1178, allocations: 1.769 MB / 320.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002329/0.1181, allocations: 283.3 kB / 320.3 MB, free: 4.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.1206, allocations: 1.156 MB / 321.5 MB, free: 3.477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.1208, allocations: 41.7 kB / 321.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.121, allocations: 145.9 kB / 321.7 MB, free: 3.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.1212, allocations: 75.09 kB / 321.8 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.1213, allocations: 12 kB / 321.8 MB, free: 3.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1214, allocations: 342.8 kB / 322.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009283/0.1224, allocations: 343.8 kB / 322.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/0.1233, allocations: 378.3 kB / 322.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009277/0.1243, allocations: 0.493 MB / 323.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1243, allocations: 4 kB / 323.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002661/0.127, allocations: 1.127 MB / 324.4 MB, free: 436 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002655/0.1273, allocations: 247.9 kB / 324.7 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1273, allocations: 3.984 kB / 324.7 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1273, allocations: 112 / 324.7 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.224e-05/0.1274, allocations: 7.938 kB / 324.7 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1274, allocations: 0 / 324.7 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.128, allocations: 43.94 kB / 324.7 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/0.1282, allocations: 124 kB / 324.8 MB, free: 15.96 MB / 282.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.dLATREGL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.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.001434/0.1297, allocations: 0.7679 MB / 325.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.1299, allocations: 87.02 kB / 325.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.1303, allocations: 151.5 kB / 325.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1303, allocations: 0 / 325.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.1304, allocations: 4 kB / 325.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.1317, allocations: 0.562 MB / 326.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.132, allocations: 63.95 kB / 326.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.1325, allocations: 31.97 kB / 326.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/0.1332, allocations: 231.8 kB / 326.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003229/0.1364, allocations: 1.723 MB / 328.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003215/0.1397, allocations: 1.474 MB / 329.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001416/0.1412, allocations: 0.7146 MB / 330.6 MB, free: 9.887 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00194/0.1431, allocations: 0.8538 MB / 331.5 MB, free: 9.039 MB / 282.7 MB Notification: Performance of Backend: time 3.376e-06/0.1432, allocations: 0 / 331.5 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.1456, allocations: 1.24 MB / 332.7 MB, free: 7.703 MB / 282.7 MB Notification: Performance of SimCode: time 0.005172/0.1508, allocations: 2.642 MB / 335.4 MB, free: 4.934 MB / 282.7 MB Notification: Performance of Templates: time 0.02523/0.1761, allocations: 11.1 MB / 346.5 MB, free: 9.605 MB / 298.7 MB "" Variables in the reference:time,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y Variables in the result:dLATREGL.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'-'],dLATREGL.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'0'],dLATREGL.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'1'],dLATREGL.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'H'],dLATREGL.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'L'],dLATREGL.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'U'],dLATREGL.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'W'],dLATREGL.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'X'],dLATREGL.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'Z'],dLATREGL.dLATR.n,dLATREGL.dLATR.strength,dLATREGL.delay.inertialDelaySensitive[1].tHL,dLATREGL.delay.inertialDelaySensitive[1].tLH,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y0,dLATREGL.delay.inertialDelaySensitive[2].tHL,dLATREGL.delay.inertialDelaySensitive[2].tLH,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y0,dLATREGL.delay.n,dLATREGL.delay.tHL,dLATREGL.delay.tLH,dLATREGL.n,dLATREGL.strength,dLATREGL.tHL,dLATREGL.tLH,data_0.n,data_0.t[1],data_0.t[2],data_0.x[1],data_0.x[2],data_0.y0,data_1.n,data_1.t[1],data_1.t[2],data_1.x[1],data_1.x[2],data_1.y0,enable.n,enable.t[1],enable.t[2],enable.t[3],enable.x[1],enable.x[2],enable.x[3],enable.y0,reset.n,reset.t[1],reset.t[2],reset.t[3],reset.t[4],reset.t[5],reset.x[1],reset.x[2],reset.x[3],reset.x[4],reset.x[5],reset.y0,time