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.0009906/0.0009906, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001045/0.001045, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.9933/0.9933, allocations: 173.4 MB / 202.3 MB, free: 8.273 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.412e-06/1.412e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.946e-05, allocations: 5.266 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002719/0.002749, allocations: 2.421 MB / 271.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.004936, allocations: 1.227 MB / 272.8 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.005059, allocations: 8.5 kB / 272.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.005235, allocations: 75.3 kB / 272.9 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.005367, allocations: 73.62 kB / 273 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.0059, allocations: 251.6 kB / 273.2 MB, free: 5.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.00725, allocations: 2.137 MB / 275.4 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005821/0.007832, allocations: 0.5381 MB / 275.9 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.00966, allocations: 2.473 MB / 278.4 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.01074, allocations: 1.165 MB / 279.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003734/0.01112, allocations: 220.9 kB / 279.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.01139, allocations: 216 kB / 280 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004698/0.01186, allocations: 0.6502 MB / 280.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005615/0.01243, allocations: 0.6097 MB / 281.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.01431, allocations: 3.189 MB / 284.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.01431, allocations: 0 / 284.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01431, allocations: 4 kB / 284.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.01433, allocations: 0 / 284.4 MB, free: 10.49 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.002307/0.01663, allocations: 2.478 MB / 286.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.01666, allocations: 8.031 kB / 286.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.01708, allocations: 284.4 kB / 287.2 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.01789, allocations: 0.8548 MB / 288.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.01795, allocations: 94.91 kB / 288.2 MB, free: 6.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.01816, allocations: 126.2 kB / 288.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.01965, allocations: 1.278 MB / 289.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.01967, allocations: 192 / 289.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.01982, allocations: 56.38 kB / 289.6 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.01984, allocations: 35.94 kB / 289.6 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.02087, allocations: 0.7215 MB / 290.4 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.02442, allocations: 3.407 MB / 293.8 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.02576, allocations: 0.9985 MB / 294.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.02623, allocations: 357 kB / 295.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.02635, allocations: 29.3 kB / 295.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008484/0.0272, allocations: 0.902 MB / 296 MB, free: 14.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.705e-06/0.0272, allocations: 0 / 296 MB, free: 14.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=128): time 0.002187/0.02939, allocations: 1.604 MB / 297.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.02943, allocations: 94.42 kB / 297.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.03006, allocations: 0.9164 MB / 298.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.03022, allocations: 97.66 kB / 298.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.03047, allocations: 0.5164 MB / 299.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.03077, allocations: 369.6 kB / 299.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007353/0.03151, allocations: 0.7976 MB / 300.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.03172, allocations: 0.6366 MB / 301.1 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.0322, allocations: 341.5 kB / 301.4 MB, free: 9.203 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.03282, allocations: 0.5795 MB / 302 MB, free: 8.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.03394, allocations: 0.9651 MB / 302.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.03394, allocations: 0 / 302.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001764/0.03571, allocations: 1.465 MB / 304.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.03574, allocations: 33.7 kB / 304.4 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.03574, allocations: 4 kB / 304.4 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.03576, allocations: 8 kB / 304.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.03607, allocations: 243.5 kB / 304.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.03608, allocations: 11.98 kB / 304.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.03639, allocations: 83.72 kB / 304.8 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006519/0.03704, allocations: 1.089 MB / 305.9 MB, free: 4.57 MB / 282.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.0005064/0.03755, allocations: 456.9 kB / 306.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.03785, allocations: 159.3 kB / 306.5 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.03796, allocations: 114.3 kB / 306.6 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.03797, allocations: 12 kB / 306.6 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.03797, allocations: 4 kB / 306.6 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.03798, allocations: 7.969 kB / 306.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009432/0.03892, allocations: 0.9856 MB / 307.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.03893, allocations: 3.984 kB / 307.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.03918, allocations: 215.7 kB / 307.8 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.03918, allocations: 11.94 kB / 307.8 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.03935, allocations: 183.9 kB / 308 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.03935, allocations: 4 kB / 308 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.03935, allocations: 3.938 kB / 308 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.04105, allocations: 1.415 MB / 309.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000553/0.0416, allocations: 0.5126 MB / 309.9 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.04185, allocations: 119.9 kB / 310.1 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.0421, allocations: 47.98 kB / 310.1 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.04246, allocations: 281 kB / 310.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006674/0.04312, allocations: 1.093 MB / 311.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.04339, allocations: 414.8 kB / 311.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04339, allocations: 0 / 311.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006761/0.04406, allocations: 383.4 kB / 312.2 MB, free: 14.1 MB / 298.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.0003539/0.04442, allocations: 371.7 kB / 312.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.04584, allocations: 1.172 MB / 313.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.04584, allocations: 0 / 313.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000775/0.04662, allocations: 0.7341 MB / 314.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.04862, allocations: 1.253 MB / 315.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.05085, allocations: 2.244 MB / 318 MB, free: 8.309 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.05101, allocations: 254.4 kB / 318.3 MB, free: 8.039 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.003608/0.05462, allocations: 2.887 MB / 321.1 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002522/0.05714, allocations: 1.371 MB / 322.5 MB, free: 3.766 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.05714, allocations: 0 / 322.5 MB, free: 3.766 MB / 298.7 MB Notification: Performance of Templates: time 0.1303/0.1874, allocations: 44.49 MB / 367 MB, free: 87.38 MB / 330.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.735478435177356]