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: translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005513, allocations: 15.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1131, allocations: 44.49 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREG): time 0.002388/0.1156, allocations: 1.383 MB / 310.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.1187, allocations: 0.9606 MB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1188, allocations: 3.938 kB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.119, allocations: 19.92 kB / 311.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1192, allocations: 31.88 kB / 311.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.1195, allocations: 75.8 kB / 311.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.1199, allocations: 203.6 kB / 311.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.1202, allocations: 88.52 kB / 311.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009261/0.1211, allocations: 0.5263 MB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.1214, allocations: 163.5 kB / 312.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1216, allocations: 8 kB / 312.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1217, allocations: 12 kB / 312.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.1219, allocations: 151.5 kB / 312.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.1221, allocations: 157.3 kB / 312.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.1232, allocations: 0.8535 MB / 313.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1233, allocations: 0 / 313.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1233, allocations: 0 / 313.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1233, 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.001673/0.125, allocations: 1.12 MB / 314.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.125, allocations: 8.031 kB / 314.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.1253, allocations: 94.86 kB / 314.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/0.1261, allocations: 415.5 kB / 315.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.1262, allocations: 16 kB / 315.3 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1263, allocations: 28 kB / 315.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.1278, allocations: 0.4926 MB / 315.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.1278, allocations: 3.938 kB / 315.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.1279, allocations: 12 kB / 315.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.1279, allocations: 4 kB / 315.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000988/0.1289, allocations: 368.1 kB / 316.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.1312, allocations: 0.9183 MB / 317.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1324, allocations: 0.5064 MB / 317.6 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1325, allocations: 0 / 317.6 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.1339, allocations: 0.6422 MB / 318.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 3.447e-06/0.1339, allocations: 0 / 318.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.003978/0.1379, allocations: 1.773 MB / 320.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/0.1381, allocations: 275.3 kB / 320.3 MB, free: 4.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.1407, allocations: 1.156 MB / 321.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.1409, allocations: 45.69 kB / 321.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1411, allocations: 141.9 kB / 321.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.1413, allocations: 79.09 kB / 321.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.1414, allocations: 8 kB / 321.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1416, allocations: 338.8 kB / 322.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009391/0.1426, allocations: 351.8 kB / 322.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009329/0.1435, allocations: 374.3 kB / 322.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009209/0.1445, allocations: 0.493 MB / 323.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.1445, allocations: 8 kB / 323.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002691/0.1472, allocations: 1.123 MB / 324.4 MB, free: 444 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002676/0.1475, allocations: 250.2 kB / 324.7 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1475, allocations: 3.938 kB / 324.7 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1476, allocations: 4 kB / 324.7 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.377e-05/0.1476, allocations: 0 / 324.7 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.1476, allocations: 4 kB / 324.7 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/0.1482, allocations: 43.88 kB / 324.7 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.1485, allocations: 132 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.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.001426/0.1499, allocations: 0.764 MB / 325.6 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.1501, allocations: 87.02 kB / 325.7 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.1505, allocations: 147.5 kB / 325.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1506, allocations: 0 / 325.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.1506, allocations: 0 / 325.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.1519, allocations: 0.5697 MB / 326.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.1522, allocations: 51.97 kB / 326.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.1527, allocations: 39.97 kB / 326.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006668/0.1534, allocations: 239.7 kB / 326.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003231/0.1567, allocations: 1.723 MB / 328.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003176/0.1599, allocations: 1.477 MB / 329.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001427/0.1614, allocations: 0.7029 MB / 330.6 MB, free: 9.895 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001972/0.1634, allocations: 0.8577 MB / 331.5 MB, free: 9.043 MB / 282.7 MB Notification: Performance of Backend: time 9.22e-07/0.1634, allocations: 0 / 331.5 MB, free: 9.043 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.1659, allocations: 1.244 MB / 332.7 MB, free: 7.703 MB / 282.7 MB Notification: Performance of SimCode: time 0.005054/0.171, allocations: 2.645 MB / 335.4 MB, free: 4.93 MB / 282.7 MB Notification: Performance of Templates: time 0.02561/0.1967, allocations: 11.09 MB / 346.5 MB, free: 9.605 MB / 298.7 MB "" Variables in the reference:time,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y Variables in the result:dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'-'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'0'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'1'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'H'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'L'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'U'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'W'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'X'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'Z'],dLATREG.dLATR.n,dLATREG.dLATR.strength,dLATREG.delay.inertialDelaySensitive[1].tHL,dLATREG.delay.inertialDelaySensitive[1].tLH,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y0,dLATREG.delay.inertialDelaySensitive[2].tHL,dLATREG.delay.inertialDelaySensitive[2].tLH,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y0,dLATREG.delay.n,dLATREG.delay.tHL,dLATREG.delay.tLH,dLATREG.n,dLATREG.strength,dLATREG.tHL,dLATREG.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