Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 85.95 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001588/0.001588, allocations: 163.2 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 325.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.623e-05, allocations: 3.656 kB / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003653/0.003679, allocations: 2.395 MB / 327.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.006777, allocations: 1.228 MB / 328.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.00698, allocations: 8.156 kB / 328.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.007211, allocations: 69.03 kB / 328.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.007409, allocations: 75.16 kB / 328.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.00817, allocations: 251.5 kB / 329.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002479/0.01065, allocations: 2.141 MB / 331.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009028/0.01155, allocations: 0.5425 MB / 331.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.0147, allocations: 2.468 MB / 334.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.01656, allocations: 1.169 MB / 335.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005599/0.01712, allocations: 217.2 kB / 335.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.01766, allocations: 217.6 kB / 335.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008704/0.01853, allocations: 0.6463 MB / 336.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.01963, allocations: 0.6074 MB / 337.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005099/0.02473, allocations: 4.592 MB / 341.7 MB, free: 4.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.02473, allocations: 4 kB / 341.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02473, allocations: 3.938 kB / 341.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.046e-05/0.0248, allocations: 0 / 341.7 MB, free: 4.512 MB / 302.1 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.004852/0.02966, allocations: 2.295 MB / 344 MB, free: 2.164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.0297, allocations: 8.031 kB / 344 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.03028, allocations: 179.9 kB / 344.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.03289, allocations: 1.015 MB / 345.2 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.03305, allocations: 94.91 kB / 345.3 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005044/0.03355, allocations: 128.4 kB / 345.4 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005873/0.03942, allocations: 2.342 MB / 347.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.03945, allocations: 4.172 kB / 347.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/0.03972, allocations: 56.38 kB / 347.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.03975, allocations: 31.94 kB / 347.8 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004187/0.04393, allocations: 2.034 MB / 349.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009185/0.05312, allocations: 4.231 MB / 354.1 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/0.05724, allocations: 1.85 MB / 355.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.05888, allocations: 0.7598 MB / 356.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.05907, allocations: 17.31 kB / 356.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00246/0.06153, allocations: 1.404 MB / 358.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.218e-06/0.06153, allocations: 3.938 kB / 358.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=128): time 0.005935/0.06747, allocations: 2.786 MB / 360.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/0.06757, allocations: 94.42 kB / 361 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.06918, allocations: 0.9528 MB / 362 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003661/0.06955, allocations: 101.7 kB / 362.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.07003, allocations: 478.1 kB / 362.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/0.07056, allocations: 325.7 kB / 362.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.07176, allocations: 0.6908 MB / 363.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.07202, allocations: 402.7 kB / 363.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.07382, allocations: 0.9073 MB / 364.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.07578, allocations: 1.08 MB / 365.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/0.07963, allocations: 1.98 MB / 367.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.07964, allocations: 0 / 367.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005007/0.08464, allocations: 2.483 MB / 370.4 MB, free: 7.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.08469, allocations: 33.7 kB / 370.4 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.0847, allocations: 0 / 370.4 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.08473, allocations: 12 kB / 370.4 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.08529, allocations: 247.5 kB / 370.7 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.08531, allocations: 8 kB / 370.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/0.08601, allocations: 83.75 kB / 370.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/0.0872, allocations: 1.104 MB / 371.9 MB, free: 5.891 MB / 334.1 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.001603/0.0888, allocations: 0.9085 MB / 372.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.08915, allocations: 111.3 kB / 372.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.08939, allocations: 134.3 kB / 373 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.08941, allocations: 16 kB / 373 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.08942, allocations: 0 / 373 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.08943, allocations: 3.984 kB / 373 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.09168, allocations: 1.368 MB / 374.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.09169, allocations: 3.984 kB / 374.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.09216, allocations: 215.7 kB / 374.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.09217, allocations: 4 kB / 374.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/0.09247, allocations: 183.9 kB / 374.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.09248, allocations: 4 kB / 374.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.09248, allocations: 4 kB / 374.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/0.0966, allocations: 2.114 MB / 376.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.09783, allocations: 0.5985 MB / 377.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005119/0.09834, allocations: 119.9 kB / 377.6 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.09888, allocations: 55.97 kB / 377.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008192/0.0997, allocations: 348.9 kB / 378 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001143/0.1008, allocations: 1.093 MB / 379.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008232/0.1017, allocations: 0.5965 MB / 379.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1017, allocations: 7.938 kB / 379.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001447/0.1031, allocations: 403.2 kB / 380.1 MB, free: 13.54 MB / 350.1 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.0006291/0.1037, allocations: 359.7 kB / 380.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004146/0.1079, allocations: 2.083 MB / 382.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1079, allocations: 4 kB / 382.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.1099, allocations: 1.102 MB / 383.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/0.1141, allocations: 1.082 MB / 384.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.1195, allocations: 2.935 MB / 387.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.1205, allocations: 0.7198 MB / 388.4 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.008097/0.1286, allocations: 3.37 MB / 391.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003653/0.1323, allocations: 0.9553 MB / 392.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1323, allocations: 4 kB / 392.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Templates: time 0.0639/0.1962, allocations: 42.03 MB / 434.8 MB, free: 6.211 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.412927746772766]