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.DFFREGL.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.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004757, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09903, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.002386/0.1015, allocations: 1.403 MB / 310.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.1045, allocations: 0.9606 MB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1046, allocations: 3.938 kB / 311.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.1048, allocations: 19.91 kB / 311.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.105, allocations: 35.89 kB / 311.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.1053, allocations: 75.78 kB / 311.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.1057, allocations: 203.7 kB / 311.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.1059, allocations: 84.52 kB / 311.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.1071, allocations: 0.7019 MB / 312.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.1074, allocations: 183.5 kB / 312.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.1075, allocations: 8 kB / 312.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1076, allocations: 8 kB / 312.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.1078, allocations: 159.4 kB / 312.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.1081, allocations: 153.3 kB / 313 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.1092, allocations: 0.869 MB / 313.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1092, allocations: 0 / 313.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1092, allocations: 0 / 313.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1093, allocations: 0 / 313.9 MB, free: 11.48 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.001609/0.1109, allocations: 1.12 MB / 315 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1109, allocations: 8.031 kB / 315 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.1111, allocations: 91.02 kB / 315.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.1119, allocations: 423.3 kB / 315.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/0.112, allocations: 31.98 kB / 315.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.1121, allocations: 20 kB / 315.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.1136, allocations: 0.5022 MB / 316.1 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1136, allocations: 0 / 316.1 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/0.1137, allocations: 16 kB / 316.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1137, allocations: 0 / 316.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1147, allocations: 369.9 kB / 316.5 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.1168, allocations: 0.852 MB / 317.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.1179, allocations: 0.51 MB / 317.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.118, allocations: 4 kB / 317.8 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/0.1193, allocations: 0.6586 MB / 318.5 MB, free: 6.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 4.138e-06/0.1194, allocations: 7.938 kB / 318.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.003993/0.1234, allocations: 1.79 MB / 320.3 MB, free: 4.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002309/0.1236, allocations: 283.3 kB / 320.6 MB, free: 4.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/0.1262, allocations: 1.16 MB / 321.7 MB, free: 3.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.1263, allocations: 45.69 kB / 321.8 MB, free: 3.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.1265, allocations: 154 kB / 321.9 MB, free: 3.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.1267, allocations: 79.14 kB / 322 MB, free: 2.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.1268, allocations: 8 kB / 322 MB, free: 2.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.127, allocations: 342.8 kB / 322.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009327/0.1279, allocations: 348 kB / 322.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009606/0.1289, allocations: 387 kB / 323.1 MB, free: 1.891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009211/0.1299, allocations: 495.6 kB / 323.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1299, allocations: 7.953 kB / 323.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002658/0.1326, allocations: 1.141 MB / 324.7 MB, free: 168 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000283/0.1329, allocations: 243.8 kB / 324.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1329, allocations: 0 / 324.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1329, allocations: 8 kB / 324.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.938e-05/0.133, allocations: 4 kB / 324.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.133, allocations: 0 / 324.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.1336, allocations: 39.97 kB / 325 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.1338, allocations: 132.2 kB / 325.1 MB, free: 15.7 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.dFFREGL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.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.001353/0.1352, allocations: 0.7601 MB / 325.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.1354, allocations: 94.92 kB / 326 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.1358, allocations: 151.7 kB / 326.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1358, allocations: 0 / 326.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1358, allocations: 0 / 326.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.1371, allocations: 0.5581 MB / 326.7 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/0.1375, allocations: 67.95 kB / 326.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004797/0.138, allocations: 43.91 kB / 326.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006426/0.1386, allocations: 235.7 kB / 327 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003221/0.1419, allocations: 1.742 MB / 328.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003163/0.145, allocations: 1.498 MB / 330.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001352/0.1464, allocations: 0.6794 MB / 330.9 MB, free: 9.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002081/0.1485, allocations: 0.8694 MB / 331.8 MB, free: 8.742 MB / 282.7 MB Notification: Performance of Backend: time 4.738e-06/0.1486, allocations: 0 / 331.8 MB, free: 8.742 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.1511, allocations: 1.234 MB / 333 MB, free: 7.414 MB / 282.7 MB Notification: Performance of SimCode: time 0.004801/0.1559, allocations: 2.679 MB / 335.7 MB, free: 4.605 MB / 282.7 MB Notification: Performance of Templates: time 0.02473/0.1807, allocations: 11.67 MB / 347.4 MB, free: 8.707 MB / 298.7 MB "" Variables in the reference:time,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.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,dFFREGL.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'-'],dFFREGL.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'0'],dFFREGL.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'1'],dFFREGL.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'H'],dFFREGL.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'L'],dFFREGL.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'U'],dFFREGL.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'W'],dFFREGL.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'X'],dFFREGL.dFFR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'Z'],dFFREGL.dFFR.clock,dFFREGL.dFFR.n,dFFREGL.dFFR.reset,dFFREGL.dFFR.strength,dFFREGL.delay.inertialDelaySensitive[1].tHL,dFFREGL.delay.inertialDelaySensitive[1].tLH,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y0,dFFREGL.delay.inertialDelaySensitive[2].tHL,dFFREGL.delay.inertialDelaySensitive[2].tLH,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y0,dFFREGL.delay.n,dFFREGL.delay.tHL,dFFREGL.delay.tLH,dFFREGL.n,dFFREGL.strength,dFFREGL.tHL,dFFREGL.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