Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Multiplexer.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadModel(Modelica): time 1.835/1.835, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004914, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08054, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.003428/0.08402, allocations: 2.158 MB / 274.8 MB, free: 9.363 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003674/0.08773, allocations: 1.221 MB / 276 MB, free: 8.137 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.08795, allocations: 7.938 kB / 276 MB, free: 8.129 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.08821, allocations: 51.61 kB / 276.1 MB, free: 8.078 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.08842, allocations: 55.84 kB / 276.1 MB, free: 8.023 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000685/0.08912, allocations: 163.7 kB / 276.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007429/0.08988, allocations: 432.3 kB / 276.7 MB, free: 7.434 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.09037, allocations: 204.7 kB / 276.9 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.09157, allocations: 0.6277 MB / 277.5 MB, free: 6.605 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007718/0.09236, allocations: 459.1 kB / 278 MB, free: 6.156 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.09262, allocations: 16 kB / 278 MB, free: 6.141 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.09288, allocations: 16 kB / 278 MB, free: 6.125 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.09332, allocations: 207.5 kB / 278.2 MB, free: 5.922 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.09351, allocations: 121.4 kB / 278.3 MB, free: 5.797 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.09514, allocations: 1.356 MB / 279.7 MB, free: 4.438 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.09516, allocations: 3.938 kB / 279.7 MB, free: 4.434 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.09517, allocations: 0 / 279.7 MB, free: 4.434 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.0952, allocations: 0 / 279.7 MB, free: 4.434 MB / 234.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.00206/0.09727, allocations: 1.02 MB / 280.7 MB, free: 3.332 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.09733, allocations: 8.031 kB / 280.7 MB, free: 3.324 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.09764, allocations: 75.16 kB / 280.8 MB, free: 3.25 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.09872, allocations: 464.8 kB / 281.2 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.09881, allocations: 41.31 kB / 281.3 MB, free: 2.715 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.09908, allocations: 60 kB / 281.3 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.1015, allocations: 0.8222 MB / 282.2 MB, free: 1.824 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.1016, allocations: 7.922 kB / 282.2 MB, free: 1.816 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.1017, allocations: 24 kB / 282.2 MB, free: 1.793 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.1018, allocations: 16 kB / 282.2 MB, free: 1.777 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.1039, allocations: 0.6376 MB / 282.9 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004784/0.1087, allocations: 1.728 MB / 284.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.1107, allocations: 0.6185 MB / 285.2 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.111, allocations: 8.562 kB / 285.2 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/0.1126, allocations: 0.5727 MB / 285.8 MB, free: 14.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 5.51e-06/0.1127, allocations: 4 kB / 285.8 MB, free: 14.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.004232/0.1169, allocations: 1.315 MB / 287.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.1171, allocations: 200.5 kB / 287.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/0.1179, allocations: 405.2 kB / 287.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002382/0.1181, allocations: 49.7 kB / 287.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.1184, allocations: 236.9 kB / 288 MB, free: 11.85 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.1188, allocations: 126.6 kB / 288.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.1189, allocations: 15.94 kB / 288.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.1192, allocations: 358.7 kB / 288.5 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.1203, allocations: 317.1 kB / 288.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.1215, allocations: 388.4 kB / 289.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.1228, allocations: 476.3 kB / 289.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.1228, allocations: 0 / 289.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004163/0.127, allocations: 1.157 MB / 290.8 MB, free: 8.945 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.1272, allocations: 153.6 kB / 290.9 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.1272, allocations: 7.953 kB / 290.9 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.1272, allocations: 4 kB / 290.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.1276, allocations: 103.8 kB / 291 MB, free: 8.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.1276, allocations: 4 kB / 291 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000876/0.1285, allocations: 83.69 kB / 291.1 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008348/0.1293, allocations: 0.5619 MB / 291.7 MB, free: 8.004 MB / 250.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.0008467/0.1302, allocations: 446.1 kB / 292.1 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.1304, allocations: 51.42 kB / 292.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.1306, allocations: 56.77 kB / 292.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.1306, allocations: 3.953 kB / 292.2 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1306, allocations: 3.984 kB / 292.2 MB, free: 7.414 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007053/0.1313, allocations: 260.4 kB / 292.5 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.1317, allocations: 24 kB / 292.5 MB, free: 7.117 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/0.1323, allocations: 67.8 kB / 292.6 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005297/0.1329, allocations: 156.4 kB / 292.7 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00339/0.1363, allocations: 1.473 MB / 294.2 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003007/0.1393, allocations: 1.237 MB / 295.4 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001058/0.1404, allocations: 352.2 kB / 295.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004057/0.1408, allocations: 255.2 kB / 296 MB, free: 3.449 MB / 250.7 MB Notification: Performance of Backend: time 7.72e-07/0.1408, allocations: 4 kB / 296 MB, free: 3.445 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.143, allocations: 0.839 MB / 296.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of SimCode: time 0.00459/0.1476, allocations: 2.037 MB / 298.9 MB, free: 404 kB / 250.7 MB Notification: Performance of Templates: time 0.2918/0.4394, allocations: 23.33 MB / 322.2 MB, free: 16.07 MB / 250.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