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.001109/0.001109, allocations: 76.08 kB / 20.67 MB, free: 3.891 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.0009876/0.0009876, allocations: 149.1 kB / 23.93 MB, free: 0.6289 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.9251/0.9251, allocations: 173.3 MB / 200.4 MB, free: 9.434 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.121e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002842/0.002863, allocations: 2.363 MB / 320.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.005186, allocations: 1.197 MB / 322 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.005356, allocations: 11.88 kB / 322 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.005538, allocations: 63.42 kB / 322.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.005689, allocations: 79.25 kB / 322.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.006284, allocations: 255.4 kB / 322.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.007762, allocations: 2.135 MB / 324.5 MB, free: 240 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007826/0.008544, allocations: 0.5459 MB / 325.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.011, allocations: 2.473 MB / 327.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.01205, allocations: 1.173 MB / 328.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.01234, allocations: 216 kB / 328.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.01265, allocations: 220 kB / 329.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.01313, allocations: 0.6424 MB / 329.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.01373, allocations: 0.6075 MB / 330.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.0165, allocations: 4.592 MB / 335 MB, free: 5.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.01651, allocations: 4 kB / 335 MB, free: 5.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01651, allocations: 0 / 335 MB, free: 5.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.99e-05/0.01655, allocations: 0 / 335 MB, free: 5.727 MB / 298.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.002964/0.01951, allocations: 2.287 MB / 337.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.01956, allocations: 12.92 kB / 337.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003012/0.01986, allocations: 214.2 kB / 337.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.02019, allocations: 175.9 kB / 337.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.02134, allocations: 1.015 MB / 338.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/0.02141, allocations: 94.91 kB / 338.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.02161, allocations: 124.4 kB / 338.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.02421, allocations: 2.342 MB / 341.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.02423, allocations: 4.125 kB / 341.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.02438, allocations: 60.12 kB / 341.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.0244, allocations: 28 kB / 341.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.02679, allocations: 2.041 MB / 343.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005354/0.03215, allocations: 4.393 MB / 347.8 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.03463, allocations: 1.854 MB / 349.6 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008723/0.03551, allocations: 0.7636 MB / 350.4 MB, free: 6.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.03566, allocations: 13.31 kB / 350.4 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001868/0.03753, allocations: 1.4 MB / 351.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 4.168e-06/0.03753, allocations: 0 / 351.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=128): time 0.003783/0.04131, allocations: 2.79 MB / 354.6 MB, free: 1.855 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.04138, allocations: 90.42 kB / 354.7 MB, free: 1.746 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.04241, allocations: 0.9528 MB / 355.6 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.04255, allocations: 97.66 kB / 355.7 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.04283, allocations: 470.2 kB / 356.2 MB, free: 220 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.04314, allocations: 329.7 kB / 356.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007699/0.04391, allocations: 0.6947 MB / 357.2 MB, free: 15.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.04407, allocations: 406.7 kB / 357.6 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.04508, allocations: 0.9073 MB / 358.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.04639, allocations: 1.076 MB / 359.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.04833, allocations: 1.988 MB / 361.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.04834, allocations: 3.938 kB / 361.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00274/0.05108, allocations: 2.472 MB / 364.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.05113, allocations: 33.7 kB / 364.1 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.05114, allocations: 8.141 kB / 364.1 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.05117, allocations: 12.03 kB / 364.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.05149, allocations: 239.6 kB / 364.3 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.05151, allocations: 15.97 kB / 364.4 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.05198, allocations: 79.77 kB / 364.4 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006949/0.05267, allocations: 1.1 MB / 365.5 MB, free: 6.719 MB / 330.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.001577/0.05425, allocations: 0.9196 MB / 366.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.05449, allocations: 111.3 kB / 366.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.05465, allocations: 130.3 kB / 366.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.05466, allocations: 16 kB / 366.7 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.05467, allocations: 0 / 366.7 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.05468, allocations: 7.969 kB / 366.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.05625, allocations: 1.524 MB / 368.2 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.05626, allocations: 3.984 kB / 368.2 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.0565, allocations: 215.7 kB / 368.5 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.05651, allocations: 11.94 kB / 368.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.05668, allocations: 183.9 kB / 368.6 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.05668, allocations: 8 kB / 368.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.05669, allocations: 0 / 368.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.05896, allocations: 2.114 MB / 370.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007092/0.05967, allocations: 0.6024 MB / 371.4 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/0.05991, allocations: 123.9 kB / 371.5 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.06016, allocations: 55.97 kB / 371.5 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004087/0.06057, allocations: 348.9 kB / 371.9 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006974/0.06127, allocations: 1.093 MB / 373 MB, free: 15.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005247/0.06179, allocations: 0.5927 MB / 373.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06179, allocations: 0 / 373.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001362/0.06315, allocations: 395.4 kB / 374 MB, free: 14.19 MB / 346.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.002748/0.0659, allocations: 2.917 MB / 376.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.06828, allocations: 2.083 MB / 379 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.06828, allocations: 0 / 379 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.06936, allocations: 1.109 MB / 380.1 MB, free: 7.992 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.07167, allocations: 1.076 MB / 381.1 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.08616, allocations: 12.02 MB / 393.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.08686, allocations: 0.7159 MB / 393.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.006937/0.0938, allocations: 3.374 MB / 397.3 MB, free: 6.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003035/0.09683, allocations: 1.272 MB / 398.5 MB, free: 5.301 MB / 362.7 MB Notification: Performance of SimCode: time 1.893e-06/0.09684, allocations: 4 kB / 398.5 MB, free: 5.297 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.217/0.3139, allocations: 52.94 MB / 451.5 MB, free: 125.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.066, allocations: 5.781 kB / 451.5 MB, free: 125.4 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0178603 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Counter.FF[1].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[1].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS1.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS1.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS2.TD1.x in file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS2.TD1.x from file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.992234635166824]