Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001012/0.001012, allocations: 80.39 kB / 22.21 MB, free: 2.285 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.001004/0.001004, allocations: 168.3 kB / 25.61 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.945/0.945, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.726e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002572/0.002589, allocations: 2.427 MB / 253.9 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.004712, allocations: 1.26 MB / 255.2 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.004867, allocations: 7.938 kB / 255.2 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.00505, allocations: 75.3 kB / 255.2 MB, free: 3.457 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.005179, allocations: 75.3 kB / 255.3 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.005708, allocations: 255.6 kB / 255.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.007418, allocations: 2.135 MB / 257.7 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008246/0.008242, allocations: 0.5381 MB / 258.2 MB, free: 436 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008425/0.01667, allocations: 2.48 MB / 260.7 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007103/0.02377, allocations: 1.165 MB / 261.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.02413, allocations: 220 kB / 262.1 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.02449, allocations: 216 kB / 262.3 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004999/0.02499, allocations: 0.6503 MB / 263 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008663/0.02585, allocations: 0.6113 MB / 263.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008281/0.03413, allocations: 3.189 MB / 266.8 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.03414, allocations: 0 / 266.8 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.03414, allocations: 0 / 266.8 MB, free: 7.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.03415, allocations: 0 / 266.8 MB, free: 7.883 MB / 250.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.008686/0.04283, allocations: 2.477 MB / 269.2 MB, free: 5.352 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.04287, allocations: 15.92 kB / 269.3 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.04339, allocations: 287.9 kB / 269.5 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007276/0.05067, allocations: 0.8504 MB / 270.4 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.05074, allocations: 94.91 kB / 270.5 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.05102, allocations: 124.4 kB / 270.6 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005397/0.05642, allocations: 1.277 MB / 271.9 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.05644, allocations: 192 / 271.9 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.05665, allocations: 56.38 kB / 271.9 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.05667, allocations: 31.94 kB / 272 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004396/0.06107, allocations: 0.7254 MB / 272.7 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.07134, allocations: 3.411 MB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.07256, allocations: 0.9873 MB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/0.07328, allocations: 357.1 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.07341, allocations: 25.3 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007879/0.0742, allocations: 0.8982 MB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.374e-06/0.0742, allocations: 4 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001905/0.0761, allocations: 1.611 MB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.07614, allocations: 90.42 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/0.07676, allocations: 0.9203 MB / 281 MB, free: 9.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.07689, allocations: 97.66 kB / 281.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.07713, allocations: 0.5164 MB / 281.6 MB, free: 8.754 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.07742, allocations: 365.6 kB / 281.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007204/0.07814, allocations: 0.7977 MB / 282.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002634/0.0784, allocations: 0.6444 MB / 283.4 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.07883, allocations: 337.5 kB / 283.7 MB, free: 6.594 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.0794, allocations: 0.5795 MB / 284.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.08071, allocations: 0.9612 MB / 285.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.08071, allocations: 0 / 285.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001603/0.08232, allocations: 1.465 MB / 286.7 MB, free: 3.434 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.08235, allocations: 37.73 kB / 286.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.08236, allocations: 7.984 kB / 286.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.08237, allocations: 8 kB / 286.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.08263, allocations: 239.6 kB / 287 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.08264, allocations: 15.98 kB / 287 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.08292, allocations: 83.7 kB / 287.1 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006389/0.08356, allocations: 1.089 MB / 288.2 MB, free: 1.953 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.0004654/0.08403, allocations: 453 kB / 288.6 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.08429, allocations: 163.3 kB / 288.8 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.0844, allocations: 114.3 kB / 288.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.08441, allocations: 12 kB / 288.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.08442, allocations: 0 / 288.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.08443, allocations: 11.97 kB / 288.9 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009516/0.08538, allocations: 0.9895 MB / 289.9 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.08538, allocations: 4 kB / 289.9 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.08562, allocations: 211.7 kB / 290.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.08563, allocations: 7.938 kB / 290.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/0.08578, allocations: 183.9 kB / 290.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.08578, allocations: 4 kB / 290.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.08579, allocations: 0 / 290.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.08736, allocations: 1.411 MB / 291.7 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/0.08789, allocations: 0.5242 MB / 292.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.0881, allocations: 119.9 kB / 292.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.08833, allocations: 55.97 kB / 292.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/0.08864, allocations: 273 kB / 292.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006293/0.08927, allocations: 1.085 MB / 293.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002437/0.08951, allocations: 414.8 kB / 294.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08951, allocations: 0 / 294.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006411/0.09015, allocations: 391.3 kB / 294.6 MB, free: 11.48 MB / 282.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.0003461/0.0905, allocations: 371.7 kB / 294.9 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.09175, allocations: 1.168 MB / 296.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.09175, allocations: 0 / 296.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.09245, allocations: 0.7342 MB / 296.8 MB, free: 9.156 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.09442, allocations: 1.252 MB / 298.1 MB, free: 7.941 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.09674, allocations: 2.243 MB / 300.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.09692, allocations: 250.5 kB / 300.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.005044/0.102, allocations: 2.883 MB / 303.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00349/0.1054, allocations: 1.363 MB / 304.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of SimCode: time 2.665e-06/0.1055, allocations: 4 kB / 304.8 MB, free: 1.121 MB / 282.7 MB Notification: Performance of Templates: time 0.05113/0.1566, allocations: 44.13 MB / 349 MB, free: 3.996 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5685577210970223]