Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009318/0.0009318, allocations: 141.2 kB / 24.89 MB, free: 9.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9416/0.9416, allocations: 173.3 MB / 201.5 MB, free: 9.18 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.403e-05, allocations: 10.25 kB / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00223/0.002244, allocations: 2.432 MB / 270.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.003907, allocations: 1.247 MB / 272.1 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.003996, allocations: 11.94 kB / 272.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.004149, allocations: 79.3 kB / 272.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.004268, allocations: 71.25 kB / 272.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.004675, allocations: 251.6 kB / 272.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.006, allocations: 2.143 MB / 274.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/0.006461, allocations: 0.5498 MB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.007977, allocations: 2.434 MB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007927/0.00877, allocations: 1.169 MB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.008992, allocations: 220 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.009256, allocations: 220 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004926/0.009749, allocations: 0.6424 MB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008676/0.01062, allocations: 0.6113 MB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.01274, allocations: 3.189 MB / 283.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.01275, allocations: 0 / 283.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01275, allocations: 0 / 283.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.8e-05/0.01277, allocations: 0 / 283.7 MB, free: 6.848 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.002347/0.01512, allocations: 1.992 MB / 285.7 MB, free: 4.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.01516, allocations: 12.03 kB / 285.7 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.01556, allocations: 224.8 kB / 285.9 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008009/0.01636, allocations: 0.7436 MB / 286.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.01643, allocations: 102.9 kB / 286.8 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.01664, allocations: 128.3 kB / 286.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.01806, allocations: 1.078 MB / 288 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.01808, allocations: 192 / 288 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.01824, allocations: 60.38 kB / 288 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.01825, allocations: 31.94 kB / 288.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008313/0.01908, allocations: 427 kB / 288.5 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.104/0.1231, allocations: 2.577 MB / 291.1 MB, free: 27.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.1244, allocations: 0.6813 MB / 291.8 MB, free: 27.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.1248, allocations: 233.1 kB / 292 MB, free: 27.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.125, allocations: 25 kB / 292 MB, free: 27.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008287/0.1258, allocations: 0.6506 MB / 292.7 MB, free: 27.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.487e-06/0.1258, allocations: 0 / 292.7 MB, free: 27.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001627/0.1274, allocations: 0.8021 MB / 293.5 MB, free: 27.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1275, allocations: 91.48 kB / 293.5 MB, free: 27.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.1281, allocations: 0.6529 MB / 294.2 MB, free: 27.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.1282, allocations: 100.5 kB / 294.3 MB, free: 27.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1284, allocations: 401.4 kB / 294.7 MB, free: 26.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.1287, allocations: 321.5 kB / 295 MB, free: 26.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006396/0.1293, allocations: 458.6 kB / 295.5 MB, free: 26.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1294, allocations: 406.4 kB / 295.8 MB, free: 26.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.1299, allocations: 208.7 kB / 296.1 MB, free: 26.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.1303, allocations: 385.4 kB / 296.4 MB, free: 26.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.1314, allocations: 0.7589 MB / 297.2 MB, free: 26.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.1314, allocations: 1.281 kB / 297.2 MB, free: 26.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001315/0.1327, allocations: 0.7626 MB / 298 MB, free: 25.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.1328, allocations: 33.61 kB / 298 MB, free: 25.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1328, allocations: 2.812 kB / 298 MB, free: 25.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1328, allocations: 9.531 kB / 298 MB, free: 25.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.133, allocations: 129.7 kB / 298.1 MB, free: 25.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1331, allocations: 11.55 kB / 298.1 MB, free: 25.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.1335, allocations: 86.03 kB / 298.2 MB, free: 25.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007084/0.1342, allocations: 0.982 MB / 299.2 MB, free: 25.85 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.0005296/0.1347, allocations: 415.1 kB / 299.6 MB, free: 25.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.135, allocations: 117.6 kB / 299.7 MB, free: 25.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1351, allocations: 116.8 kB / 299.8 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1351, allocations: 15.19 kB / 299.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.1351, allocations: 1.625 kB / 299.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.1351, allocations: 6.281 kB / 299.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008323/0.1359, allocations: 0.7102 MB / 300.6 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.1359, allocations: 0 / 300.6 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.1361, allocations: 105.4 kB / 300.7 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1361, allocations: 7.438 kB / 300.7 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.1363, allocations: 74.78 kB / 300.8 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.1363, allocations: 8.125 kB / 300.8 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1363, allocations: 0 / 300.8 MB, free: 25.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1373, allocations: 0.6786 MB / 301.4 MB, free: 25.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.1377, allocations: 362.1 kB / 301.8 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.138, allocations: 116 kB / 301.9 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.1382, allocations: 49.36 kB / 302 MB, free: 25.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.1385, allocations: 165.5 kB / 302.1 MB, free: 25.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004851/0.139, allocations: 0.9759 MB / 303.1 MB, free: 25.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1391, allocations: 259.5 kB / 303.3 MB, free: 24.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1391, allocations: 0 / 303.3 MB, free: 24.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006592/0.1398, allocations: 392.7 kB / 303.7 MB, free: 24.86 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.0003071/0.1401, allocations: 350.5 kB / 304.1 MB, free: 24.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009311/0.141, allocations: 0.7646 MB / 304.8 MB, free: 23.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.141, allocations: 8 kB / 304.8 MB, free: 23.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.1415, allocations: 470 kB / 305.3 MB, free: 23.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.1431, allocations: 1.147 MB / 306.4 MB, free: 22.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.145, allocations: 2.147 MB / 308.6 MB, free: 20.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.1451, allocations: 238.5 kB / 308.8 MB, free: 19.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003255/0.1483, allocations: 2.887 MB / 311.7 MB, free: 16.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/0.1506, allocations: 1.289 MB / 313 MB, free: 15.67 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1506, allocations: 0 / 313 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Templates: time 0.03638/0.187, allocations: 43.93 MB / 356.9 MB, free: 3.191 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2751898472197354]