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.Multiplexer.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.Multiplexer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 8 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09148/0.09184, allocations: 44.51 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.003409/0.0953, allocations: 2.144 MB / 311.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003664/0.09899, allocations: 1.249 MB / 312.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.09916, allocations: 11.88 kB / 312.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.09941, allocations: 55.61 kB / 312.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.09962, allocations: 55.83 kB / 312.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.1003, allocations: 163.7 kB / 312.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007589/0.1011, allocations: 424.3 kB / 313.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004574/0.1016, allocations: 208.7 kB / 313.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.1027, allocations: 0.6277 MB / 314 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007224/0.1035, allocations: 455.1 kB / 314.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.1037, allocations: 19.94 kB / 314.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.104, allocations: 16 kB / 314.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.1044, allocations: 207.5 kB / 314.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.1046, allocations: 125.4 kB / 314.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.1061, allocations: 1.36 MB / 316.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1061, allocations: 0 / 316.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1061, allocations: 0 / 316.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1062, allocations: 0 / 316.1 MB, free: 9.258 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001929/0.1081, allocations: 1.012 MB / 317.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1081, allocations: 8.031 kB / 317.2 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.1084, allocations: 83.05 kB / 317.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1095, allocations: 453 kB / 317.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.1096, allocations: 49.31 kB / 317.7 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.1099, allocations: 56 kB / 317.8 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.1122, allocations: 0.826 MB / 318.6 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1122, allocations: 0 / 318.6 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.1124, allocations: 28 kB / 318.6 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.1124, allocations: 12 kB / 318.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.1145, allocations: 0.6453 MB / 319.3 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004634/0.1192, allocations: 1.724 MB / 321 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.1212, allocations: 0.6146 MB / 321.6 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.1214, allocations: 8.562 kB / 321.6 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.1229, allocations: 0.5689 MB / 322.2 MB, free: 2.977 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 3.567e-06/0.1229, allocations: 4 kB / 322.2 MB, free: 2.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.003995/0.1269, allocations: 1.315 MB / 323.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/0.1271, allocations: 200.5 kB / 323.7 MB, free: 1.379 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000695/0.1278, allocations: 409.2 kB / 324.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.128, allocations: 49.69 kB / 324.2 MB, free: 0.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.1283, allocations: 228.9 kB / 324.4 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.1285, allocations: 138.4 kB / 324.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.1287, allocations: 20 kB / 324.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.1289, allocations: 350.8 kB / 324.9 MB, free: 184 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.13, allocations: 317.1 kB / 325.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.1311, allocations: 384.4 kB / 325.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.1323, allocations: 488.3 kB / 326.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1324, allocations: 0 / 326.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003191/0.1356, allocations: 1.157 MB / 327.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.1357, allocations: 144.5 kB / 327.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1357, allocations: 0 / 327.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.1357, allocations: 8 kB / 327.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.1361, allocations: 103.8 kB / 327.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.1361, allocations: 4 kB / 327.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008403/0.137, allocations: 83.69 kB / 327.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000808/0.1378, allocations: 0.5659 MB / 328.1 MB, free: 12.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition1,MUX.d,$PRE.MUX.Or1.auxiliary_n,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,$PRE.MUX.And1.auxiliary_n,$PRE.MUX.And2.auxiliary_n,$PRE.MUX.And3.auxiliary_n,$PRE.MUX.And4.auxiliary_n,FF.RS2.Nor2.x[1],FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[1],FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.x[1],MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.x[3],MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,$PRE.MUX.Not1.auxiliary,MUX.Not1.auxiliary,$PRE.MUX.Not2.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.x[1],FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 5 * 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.0008204/0.1387, allocations: 454 kB / 328.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.1389, allocations: 47.44 kB / 328.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.139, allocations: 60.77 kB / 328.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.139, allocations: 3.984 kB / 328.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.139, allocations: 0 / 328.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007027/0.1398, allocations: 256.4 kB / 328.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003504/0.1401, allocations: 27.94 kB / 328.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006092/0.1407, allocations: 59.86 kB / 329 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005479/0.1413, allocations: 160.4 kB / 329.2 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003298/0.1446, allocations: 1.473 MB / 330.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002988/0.1476, allocations: 1.237 MB / 331.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001032/0.1487, allocations: 344.3 kB / 332.2 MB, free: 8.539 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004229/0.1491, allocations: 255.1 kB / 332.5 MB, free: 8.289 MB / 282.7 MB Notification: Performance of Backend: time 6.71e-07/0.1491, allocations: 4 kB / 332.5 MB, free: 8.285 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.1513, allocations: 0.8368 MB / 333.3 MB, free: 7.379 MB / 282.7 MB Notification: Performance of SimCode: time 0.004707/0.156, allocations: 2.041 MB / 335.3 MB, free: 5.234 MB / 282.7 MB Notification: Performance of Templates: time 0.04801/0.204, allocations: 23.33 MB / 358.7 MB, free: 13.02 MB / 314.7 MB "" Variables in the reference:time,FF.RS1.TD1.x,FF.RS2.TD1.x Variables in the result:CLK.period,CLK.startTime,CLK.width,D0.n,D0.t[1],D0.t[2],D0.t[3],D0.t[4],D0.x[1],D0.x[2],D0.x[3],D0.x[4],D0.y0,D1.n,D1.t[1],D1.t[2],D1.t[3],D1.t[4],D1.x[1],D1.x[2],D1.x[3],D1.x[4],D1.y0,D2.n,D2.t[1],D2.t[2],D2.t[3],D2.t[4],D2.x[1],D2.x[2],D2.x[3],D2.x[4],D2.y0,D3.n,D3.t[1],D3.t[2],D3.t[3],D3.t[4],D3.x[1],D3.x[2],D3.x[3],D3.x[4],D3.y0,Enable.x,FF.And1.n,FF.And2.n,FF.And3.n,FF.And4.n,FF.RS1.Nor1.n,FF.RS1.Nor2.n,FF.RS1.TD1.delayTime,FF.RS1.TD1.x,FF.RS1.TD1.y0,FF.RS1.delayTime,FF.RS1.q0,FF.RS2.Nor1.n,FF.RS2.Nor2.n,FF.RS2.TD1.delayTime,FF.RS2.TD1.x,FF.RS2.TD1.y0,FF.RS2.delayTime,FF.RS2.q0,FF.delayTime,FF.q0,MUX.And1.n,MUX.And2.n,MUX.And3.n,MUX.And4.n,MUX.Or1.n,MUX.delayTime,MUX.q0,time