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.DFFREG.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.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005302/0.0005302, allocations: 19.94 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09385/0.09441, allocations: 44.5 MB / 309.1 MB, free: 388 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.002333/0.09679, allocations: 1.395 MB / 310.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.09973, allocations: 0.9606 MB / 311.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.09982, allocations: 7.938 kB / 311.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.09997, allocations: 15.92 kB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1001, allocations: 39.86 kB / 311.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.1005, allocations: 71.8 kB / 311.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.1009, allocations: 199.7 kB / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.1011, allocations: 92.44 kB / 311.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.1022, allocations: 0.698 MB / 312.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.1026, allocations: 191.5 kB / 312.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.1027, allocations: 8 kB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1028, allocations: 8 kB / 312.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.103, allocations: 151.5 kB / 312.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.1032, allocations: 157.3 kB / 313 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1043, allocations: 0.869 MB / 313.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1043, allocations: 0 / 313.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1044, allocations: 0 / 313.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1044, allocations: 0 / 313.9 MB, free: 11.5 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.00155/0.1059, allocations: 1.12 MB / 315 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.106, allocations: 12.03 kB / 315 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.1062, allocations: 90.95 kB / 315.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007621/0.107, allocations: 419.4 kB / 315.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.1071, allocations: 20 kB / 315.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.1072, allocations: 24 kB / 315.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.1086, allocations: 0.5022 MB / 316.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1086, allocations: 0 / 316.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.386e-05/0.1087, allocations: 23.98 kB / 316.1 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1087, allocations: 0 / 316.1 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1097, allocations: 364.1 kB / 316.5 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.1116, allocations: 0.8597 MB / 317.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.1127, allocations: 0.5061 MB / 317.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1127, allocations: 8 kB / 317.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.1141, allocations: 0.6469 MB / 318.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 3.085e-06/0.1141, allocations: 0 / 318.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.003931/0.1181, allocations: 1.794 MB / 320.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002108/0.1183, allocations: 275.3 kB / 320.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.1207, allocations: 1.172 MB / 321.7 MB, free: 3.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.1208, allocations: 41.7 kB / 321.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.121, allocations: 153.9 kB / 321.9 MB, free: 3.082 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.1212, allocations: 75.16 kB / 322 MB, free: 3.008 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.1213, allocations: 11.94 kB / 322 MB, free: 2.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1214, allocations: 346.8 kB / 322.3 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008962/0.1223, allocations: 348 kB / 322.7 MB, free: 2.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009278/0.1233, allocations: 383 kB / 323 MB, free: 1.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008894/0.1242, allocations: 499.6 kB / 323.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.381e-06/0.1242, allocations: 3.953 kB / 323.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002583/0.1268, allocations: 1.144 MB / 324.7 MB, free: 200 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.1271, allocations: 239.9 kB / 324.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1271, allocations: 0 / 324.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1271, allocations: 7.938 kB / 324.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.133e-05/0.1272, allocations: 0 / 324.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.1272, allocations: 7.984 kB / 324.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.1277, allocations: 39.98 kB / 325 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.1279, allocations: 128.2 kB / 325.1 MB, free: 15.74 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: 40 ($PRE.dFFREG.delay.inertialDelaySensitive[2].y,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREG.dFFR.reset,dFFREG.dFFR.reset,$PRE.dFFREG.dFFR.clock,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.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.001315/0.1293, allocations: 0.7679 MB / 325.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.1295, allocations: 94.92 kB / 326 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.1298, allocations: 151.7 kB / 326.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1298, allocations: 4 kB / 326.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1299, allocations: 0 / 326.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.1312, allocations: 0.562 MB / 326.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.1315, allocations: 59.97 kB / 326.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.1319, allocations: 27.97 kB / 326.8 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000645/0.1326, allocations: 239.7 kB / 327 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003512/0.1361, allocations: 1.742 MB / 328.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003131/0.1393, allocations: 1.502 MB / 330.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001408/0.1407, allocations: 0.6833 MB / 330.9 MB, free: 9.637 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002057/0.1428, allocations: 0.8694 MB / 331.8 MB, free: 8.773 MB / 282.7 MB Notification: Performance of Backend: time 1.052e-06/0.1428, allocations: 4 kB / 331.8 MB, free: 8.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.145, allocations: 1.226 MB / 333 MB, free: 7.449 MB / 282.7 MB Notification: Performance of SimCode: time 0.004755/0.1498, allocations: 2.685 MB / 335.7 MB, free: 4.637 MB / 282.7 MB Notification: Performance of Templates: time 0.02585/0.1757, allocations: 11.66 MB / 347.4 MB, free: 8.734 MB / 298.7 MB "" Variables in the reference:time,dFFREG.dFFR.clock,dFFREG.dFFR.reset,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y Variables in the result:clock.n,clock.t[1],clock.t[2],clock.t[3],clock.t[4],clock.t[5],clock.t[6],clock.t[7],clock.x[1],clock.x[2],clock.x[3],clock.x[4],clock.x[5],clock.x[6],clock.x[7],clock.y0,dFFREG.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'-'],dFFREG.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'0'],dFFREG.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'1'],dFFREG.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'H'],dFFREG.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'L'],dFFREG.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'U'],dFFREG.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'W'],dFFREG.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'X'],dFFREG.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'Z'],dFFREG.dFFR.clock,dFFREG.dFFR.n,dFFREG.dFFR.reset,dFFREG.dFFR.strength,dFFREG.delay.inertialDelaySensitive[1].tHL,dFFREG.delay.inertialDelaySensitive[1].tLH,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y0,dFFREG.delay.inertialDelaySensitive[2].tHL,dFFREG.delay.inertialDelaySensitive[2].tLH,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y0,dFFREG.delay.n,dFFREG.delay.tHL,dFFREG.delay.tLH,dFFREG.n,dFFREG.strength,dFFREG.tHL,dFFREG.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,reset.n,reset.t[1],reset.t[2],reset.t[3],reset.x[1],reset.x[2],reset.x[3],reset.y0,time