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.001692/0.001692, allocations: 123 kB / 17.78 MB, free: 5.25 MB / 14.72 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.001911/0.001911, allocations: 197.2 kB / 20.73 MB, free: 2.309 MB / 14.72 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 1.403/1.403, allocations: 225.6 MB / 249.1 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001511/0.001511, allocations: 51.92 kB / 365.7 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1024, allocations: 52.14 MB / 417.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003972/0.1063, allocations: 2.606 MB / 420.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.1091, allocations: 1.247 MB / 421.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1092, allocations: 11.88 kB / 421.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.1094, allocations: 63.38 kB / 421.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1096, allocations: 75.3 kB / 421.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.1101, allocations: 231.7 kB / 422 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.112, allocations: 2.077 MB / 424.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009721/0.113, allocations: 0.7291 MB / 424.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.1154, allocations: 2.133 MB / 427 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.1168, allocations: 1.109 MB / 428.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004135/0.1172, allocations: 220 kB / 428.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.1176, allocations: 216 kB / 428.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006757/0.1183, allocations: 0.6346 MB / 429.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.1193, allocations: 0.898 MB / 430 MB, free: 376 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003989/0.1233, allocations: 4.412 MB / 434.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1233, allocations: 0 / 434.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1233, allocations: 3.938 kB / 434.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.096e-05/0.1234, allocations: 0 / 434.4 MB, free: 11.94 MB / 366.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.004596/0.128, allocations: 2.347 MB / 436.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.128, allocations: 12.03 kB / 436.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004143/0.1284, allocations: 194.2 kB / 437 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.1289, allocations: 179.9 kB / 437.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.1307, allocations: 1.074 MB / 438.2 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.1308, allocations: 98.89 kB / 438.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/0.1311, allocations: 124.4 kB / 438.5 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.1352, allocations: 2.285 MB / 440.7 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.1352, allocations: 4 kB / 440.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/0.1354, allocations: 48 kB / 440.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.1355, allocations: 32 kB / 440.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/0.1394, allocations: 1.981 MB / 442.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2245/0.3638, allocations: 4.808 MB / 447.6 MB, free: 25.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/0.3672, allocations: 1.79 MB / 449.4 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.3686, allocations: 0.7228 MB / 450.1 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.3689, allocations: 16.47 kB / 450.1 MB, free: 25.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/0.3712, allocations: 1.352 MB / 451.5 MB, free: 25.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.577e-06/0.3712, allocations: 0.875 kB / 451.5 MB, free: 25.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005938/0.3771, allocations: 2.672 MB / 454.2 MB, free: 25.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.3772, allocations: 91.59 kB / 454.3 MB, free: 25.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.3787, allocations: 0.952 MB / 455.2 MB, free: 24.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.3789, allocations: 99.48 kB / 455.3 MB, free: 24.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.3793, allocations: 480.7 kB / 455.8 MB, free: 24.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004301/0.3797, allocations: 317.6 kB / 456.1 MB, free: 24.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.3809, allocations: 0.6691 MB / 456.8 MB, free: 24.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.381, allocations: 405.1 kB / 457.1 MB, free: 24.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.3827, allocations: 0.8674 MB / 458 MB, free: 23.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.3846, allocations: 1.04 MB / 459.1 MB, free: 23.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/0.3879, allocations: 1.952 MB / 461 MB, free: 22.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3879, allocations: 1.375 kB / 461 MB, free: 22.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004429/0.3923, allocations: 2.406 MB / 463.4 MB, free: 22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.3923, allocations: 38.89 kB / 463.5 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.3924, allocations: 3.969 kB / 463.5 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.671e-05/0.3924, allocations: 9.656 kB / 463.5 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.3929, allocations: 235.5 kB / 463.7 MB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.3929, allocations: 9.469 kB / 463.7 MB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.3936, allocations: 79.56 kB / 463.8 MB, free: 21.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.3946, allocations: 1.085 MB / 464.9 MB, free: 21.85 MB / 366.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.001479/0.3961, allocations: 0.9085 MB / 465.8 MB, free: 21.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/0.3964, allocations: 112.9 kB / 465.9 MB, free: 21.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.3966, allocations: 131.7 kB / 466 MB, free: 21.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3967, allocations: 12.33 kB / 466 MB, free: 21.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/0.3967, allocations: 1.781 kB / 466 MB, free: 21.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.3967, allocations: 6.281 kB / 466 MB, free: 21.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.3989, allocations: 1.758 MB / 467.8 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3989, allocations: 4 kB / 467.8 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.3993, allocations: 203.7 kB / 468 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.3993, allocations: 8.625 kB / 468 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/0.3996, allocations: 182.5 kB / 468.2 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.3996, allocations: 5.25 kB / 468.2 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3996, allocations: 0 / 468.2 MB, free: 20.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.4033, allocations: 2.04 MB / 470.2 MB, free: 19.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009427/0.4042, allocations: 0.6575 MB / 470.9 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.4045, allocations: 115.3 kB / 471 MB, free: 19.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.405, allocations: 51.56 kB / 471 MB, free: 19.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005616/0.4055, allocations: 329.1 kB / 471.4 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006662/0.4062, allocations: 1.083 MB / 472.4 MB, free: 19.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005641/0.4068, allocations: 0.5942 MB / 473 MB, free: 18.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4068, allocations: 4 kB / 473 MB, free: 18.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001244/0.408, allocations: 377.9 kB / 473.4 MB, free: 18.79 MB / 366.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.003501/0.4115, allocations: 2.851 MB / 476.3 MB, free: 16.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003044/0.4145, allocations: 1.995 MB / 478.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4145, allocations: 0 / 478.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.416, allocations: 1.049 MB / 479.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/0.4193, allocations: 1.079 MB / 480.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.4341, allocations: 11.74 MB / 492.1 MB, free: 192 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.4353, allocations: 1.32 MB / 493.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.006065/0.4414, allocations: 3.367 MB / 496.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003091/0.4445, allocations: 1.243 MB / 498.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4445, allocations: 4 kB / 498.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08819/0.5327, allocations: 49.77 MB / 0.535 GB, free: 7.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.763/10.3, allocations: 6.484 kB / 0.535 GB, free: 7.664 MB / 430.1 MB " [Timeout remaining time 650] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/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: 12.898678184021264]