Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 170 kB / 24.91 MB, free: 9.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9099/0.9099, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.518e-06/1.097e-05, allocations: 5.969 kB / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00218/0.002191, allocations: 2.447 MB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.003885, allocations: 1.278 MB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.29e-05/0.003978, allocations: 7.938 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.004135, allocations: 71.36 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.004252, allocations: 71.25 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.004908, allocations: 259.6 kB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.006094, allocations: 2.131 MB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.006565, allocations: 0.5537 MB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.008126, allocations: 2.441 MB / 282.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008257/0.008952, allocations: 1.169 MB / 283.9 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.00919, allocations: 216 kB / 284.1 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.009456, allocations: 216 kB / 284.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.009926, allocations: 0.6463 MB / 284.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.01044, allocations: 0.6036 MB / 285.5 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.01236, allocations: 3.197 MB / 288.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.01236, allocations: 4 kB / 288.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.01236, allocations: 0 / 288.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.01238, allocations: 0 / 288.7 MB, free: 1.785 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: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.09853/0.1109, allocations: 1.978 MB / 290.7 MB, free: 25.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.1109, allocations: 8.406 kB / 290.7 MB, free: 25.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/0.1114, allocations: 224.6 kB / 290.9 MB, free: 25.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/0.1123, allocations: 0.7531 MB / 291.7 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.1124, allocations: 98.97 kB / 291.8 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.1126, allocations: 124.7 kB / 291.9 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.1142, allocations: 1.084 MB / 293 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.1142, allocations: 0.9688 kB / 293 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.1144, allocations: 56.16 kB / 293.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.1144, allocations: 34.34 kB / 293.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008712/0.1153, allocations: 429.8 kB / 293.5 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.1186, allocations: 2.578 MB / 296.1 MB, free: 24.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1198, allocations: 0.684 MB / 296.8 MB, free: 23.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.1201, allocations: 233 kB / 297 MB, free: 23.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.1203, allocations: 21.88 kB / 297 MB, free: 23.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007505/0.121, allocations: 0.66 MB / 297.7 MB, free: 23.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.164e-06/0.121, allocations: 0.9375 kB / 297.7 MB, free: 23.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001514/0.1225, allocations: 0.8015 MB / 298.5 MB, free: 23.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1226, allocations: 94.34 kB / 298.6 MB, free: 23.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.1231, allocations: 0.6475 MB / 299.2 MB, free: 23.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.1232, allocations: 95.38 kB / 299.3 MB, free: 23.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1234, allocations: 407.9 kB / 299.7 MB, free: 22.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.1236, allocations: 319.3 kB / 300 MB, free: 22.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005364/0.1241, allocations: 460.5 kB / 300.5 MB, free: 22.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.1242, allocations: 409.9 kB / 300.9 MB, free: 21.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.1246, allocations: 206 kB / 301.1 MB, free: 21.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.1251, allocations: 387.5 kB / 301.5 MB, free: 21.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009053/0.126, allocations: 0.7541 MB / 302.2 MB, free: 21.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.126, allocations: 5.609 kB / 302.2 MB, free: 21.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00117/0.1271, allocations: 0.764 MB / 303 MB, free: 20.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1272, allocations: 36.8 kB / 303 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1272, allocations: 2 kB / 303 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1272, allocations: 10 kB / 303 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1274, allocations: 126.5 kB / 303.2 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1274, allocations: 8.438 kB / 303.2 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.1277, allocations: 86.31 kB / 303.2 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/0.1282, allocations: 0.9818 MB / 304.2 MB, free: 20.33 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,clock.t_i,$PRE.clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004406/0.1287, allocations: 407.7 kB / 304.6 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.1289, allocations: 123.8 kB / 304.7 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.179e-05/0.129, allocations: 118.3 kB / 304.9 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.129, allocations: 16 kB / 304.9 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.129, allocations: 0 / 304.9 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.129, allocations: 3.984 kB / 304.9 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006636/0.1297, allocations: 0.7142 MB / 305.6 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1297, allocations: 8.016 kB / 305.6 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1298, allocations: 103.7 kB / 305.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1298, allocations: 4 kB / 305.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.1299, allocations: 75.83 kB / 305.8 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1299, allocations: 7.625 kB / 305.8 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1299, allocations: 0 / 305.8 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009029/0.1309, allocations: 0.6738 MB / 306.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.1312, allocations: 363 kB / 306.8 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.1315, allocations: 119.9 kB / 306.9 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.1317, allocations: 51.98 kB / 307 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.132, allocations: 169 kB / 307.1 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004799/0.1325, allocations: 0.9715 MB / 308.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1326, allocations: 256.5 kB / 308.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1326, allocations: 0 / 308.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006433/0.1333, allocations: 391.4 kB / 308.8 MB, free: 15.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002981/0.1336, allocations: 344.2 kB / 309.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1346, allocations: 0.7773 MB / 309.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1346, allocations: 4 kB / 309.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004953/0.1351, allocations: 467.7 kB / 310.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.1367, allocations: 1.14 MB / 311.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.1385, allocations: 2.136 MB / 313.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.1386, allocations: 250.4 kB / 313.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003087/0.1417, allocations: 2.875 MB / 316.7 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002294/0.144, allocations: 1.294 MB / 318 MB, free: 6.445 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.144, allocations: 0 / 318 MB, free: 6.445 MB / 266.7 MB Notification: Performance of Templates: time 0.05569/0.1997, allocations: 43.94 MB / 362 MB, free: 9.961 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.231183019001037]