Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009234/0.0009234, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009576/0.0009576, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9377/0.9377, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.609e-05, allocations: 5.266 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.0038/0.003826, allocations: 2.447 MB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002938/0.006763, allocations: 1.278 MB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.006973, allocations: 11.88 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.007203, allocations: 67.38 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.00742, allocations: 75.25 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007463/0.008166, allocations: 259.5 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.01022, allocations: 2.135 MB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009002/0.01112, allocations: 0.5498 MB / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.01409, allocations: 2.434 MB / 282.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.01582, allocations: 1.169 MB / 283.8 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006599/0.01648, allocations: 220 kB / 284 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.01691, allocations: 216 kB / 284.2 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007503/0.01766, allocations: 0.6502 MB / 284.9 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.01883, allocations: 0.6114 MB / 285.5 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.02214, allocations: 3.189 MB / 288.7 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.02215, allocations: 0 / 288.7 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02215, allocations: 0 / 288.7 MB, free: 1.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.786e-05/0.02222, allocations: 3.938 kB / 288.7 MB, free: 1.684 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.1101/0.1323, allocations: 1.978 MB / 290.7 MB, free: 24.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1324, allocations: 13.86 kB / 290.7 MB, free: 24.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005275/0.1329, allocations: 225.9 kB / 290.9 MB, free: 24.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008999/0.1338, allocations: 0.7494 MB / 291.6 MB, free: 24.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.1339, allocations: 100.3 kB / 291.7 MB, free: 24.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.1341, allocations: 124.5 kB / 291.9 MB, free: 24.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.1359, allocations: 1.079 MB / 292.9 MB, free: 24.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.1359, allocations: 1.438 kB / 292.9 MB, free: 24.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.136, allocations: 54.75 kB / 293 MB, free: 24.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.1361, allocations: 34.5 kB / 293 MB, free: 24.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008991/0.137, allocations: 428.2 kB / 293.4 MB, free: 24.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.1407, allocations: 2.584 MB / 296 MB, free: 23.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.1419, allocations: 0.6892 MB / 296.7 MB, free: 23.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.1423, allocations: 229.5 kB / 296.9 MB, free: 23.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.1425, allocations: 22.25 kB / 297 MB, free: 23.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008228/0.1433, allocations: 0.6552 MB / 297.6 MB, free: 23.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.1433, allocations: 0 / 297.6 MB, free: 23.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001517/0.1448, allocations: 0.8056 MB / 298.4 MB, free: 23.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1448, allocations: 93.73 kB / 298.5 MB, free: 23.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.1454, allocations: 0.6483 MB / 299.2 MB, free: 22.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.1456, allocations: 100.3 kB / 299.3 MB, free: 22.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1457, allocations: 399.8 kB / 299.7 MB, free: 22.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.146, allocations: 315.2 kB / 300 MB, free: 22.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005634/0.1465, allocations: 466.6 kB / 300.4 MB, free: 22.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.1466, allocations: 404.2 kB / 300.8 MB, free: 21.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.147, allocations: 214.4 kB / 301 MB, free: 21.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.1475, allocations: 383.2 kB / 301.4 MB, free: 21.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009388/0.1484, allocations: 0.7533 MB / 302.1 MB, free: 20.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.1484, allocations: 1.344 kB / 302.1 MB, free: 20.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00124/0.1496, allocations: 0.7617 MB / 302.9 MB, free: 20.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.1497, allocations: 36.19 kB / 302.9 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1497, allocations: 4.625 kB / 303 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1497, allocations: 8 kB / 303 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.1499, allocations: 134.4 kB / 303.1 MB, free: 20.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.15, allocations: 10.41 kB / 303.1 MB, free: 20.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.1504, allocations: 85.77 kB / 303.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005215/0.1509, allocations: 0.9795 MB / 304.2 MB, free: 19.96 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.0005973/0.1515, allocations: 404.5 kB / 304.6 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.1517, allocations: 128.6 kB / 304.7 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.885e-05/0.1518, allocations: 114.3 kB / 304.8 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1518, allocations: 12 kB / 304.8 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/0.1519, allocations: 3.094 kB / 304.8 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1519, allocations: 7.969 kB / 304.8 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/0.1527, allocations: 0.716 MB / 305.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1527, allocations: 0 / 305.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.1528, allocations: 103.7 kB / 305.6 MB, free: 18.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1529, allocations: 4 kB / 305.6 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.153, allocations: 71.83 kB / 305.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.153, allocations: 11.98 kB / 305.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.153, allocations: 4.031 kB / 305.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000936/0.1539, allocations: 0.67 MB / 306.4 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.1543, allocations: 359 kB / 306.7 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.1546, allocations: 119.9 kB / 306.9 MB, free: 17.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.1548, allocations: 51.98 kB / 306.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.1551, allocations: 164.9 kB / 307.1 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004892/0.1556, allocations: 0.9754 MB / 308.1 MB, free: 16.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.1558, allocations: 256.5 kB / 308.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1558, allocations: 0 / 308.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007984/0.1566, allocations: 396.2 kB / 308.7 MB, free: 15.41 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.0003001/0.1569, allocations: 340.9 kB / 309 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1579, allocations: 0.7768 MB / 309.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1579, allocations: 4 kB / 309.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.1584, allocations: 473 kB / 310.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.16, allocations: 1.13 MB / 311.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.1621, allocations: 2.151 MB / 313.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.1622, allocations: 242.4 kB / 313.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00337/0.1656, allocations: 2.887 MB / 316.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002348/0.1679, allocations: 1.294 MB / 318 MB, free: 6.094 MB / 266.7 MB Notification: Performance of SimCode: time 1.263e-06/0.1679, allocations: 2.297 kB / 318 MB, free: 6.094 MB / 266.7 MB Notification: Performance of Templates: time 0.03974/0.2077, allocations: 43.91 MB / 361.9 MB, free: 9.551 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.289920186623931]