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.001696/0.001696, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002109/0.002109, allocations: 213 kB / 23.73 MB, free: 4.531 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 51.88 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3657, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00417/0.3698, allocations: 2.395 MB / 433.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.3728, allocations: 1.22 MB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.373, allocations: 11.88 kB / 434.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.3733, allocations: 71.36 kB / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.3736, allocations: 71.3 kB / 434.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.3743, allocations: 243.7 kB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.3768, allocations: 2.12 MB / 437.2 MB, free: 500 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.3779, allocations: 0.5359 MB / 437.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.3808, allocations: 2.137 MB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.383, allocations: 1.238 MB / 441.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009644/0.3839, allocations: 220 kB / 441.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008969/0.3848, allocations: 216 kB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.386, allocations: 0.6386 MB / 442.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001815/0.3878, allocations: 0.7113 MB / 442.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005012/0.3928, allocations: 4.423 MB / 447.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3928, allocations: 0 / 447.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3928, allocations: 0 / 447.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.365e-05/0.3929, allocations: 4 kB / 447.3 MB, free: 6.324 MB / 350.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.006022/0.399, allocations: 2.279 MB / 449.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.399, allocations: 8.031 kB / 449.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005742/0.3996, allocations: 206.2 kB / 449.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005103/0.4001, allocations: 175.9 kB / 450 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.4027, allocations: 1.012 MB / 451 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.4028, allocations: 94.91 kB / 451.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004346/0.4033, allocations: 120.4 kB / 451.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004739/0.408, allocations: 2.326 MB / 453.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.408, allocations: 3.938 kB / 453.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/0.4083, allocations: 48 kB / 453.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.4083, allocations: 32 kB / 453.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004267/0.4126, allocations: 2.006 MB / 455.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009819/0.4224, allocations: 4.35 MB / 460 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.4265, allocations: 1.823 MB / 461.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.4282, allocations: 0.7442 MB / 462.5 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.4284, allocations: 17.31 kB / 462.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00235/0.4307, allocations: 1.385 MB / 463.9 MB, free: 5.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 5.36e-06/0.4307, allocations: 0 / 463.9 MB, free: 5.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005875/0.4366, allocations: 2.724 MB / 466.7 MB, free: 2.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.4367, allocations: 94.42 kB / 466.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.4383, allocations: 0.9412 MB / 467.7 MB, free: 1.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003671/0.4386, allocations: 105.6 kB / 467.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/0.4392, allocations: 470.2 kB / 468.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/0.4398, allocations: 325.7 kB / 468.6 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.4411, allocations: 0.6673 MB / 469.2 MB, free: 84 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002955/0.4414, allocations: 406.7 kB / 469.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.4432, allocations: 0.8878 MB / 470.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.4453, allocations: 1.08 MB / 471.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/0.449, allocations: 1.945 MB / 473.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.449, allocations: 3.938 kB / 473.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005135/0.4542, allocations: 2.436 MB / 476 MB, free: 9.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.695e-05/0.4542, allocations: 37.69 kB / 476 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4542, allocations: 4 kB / 476 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.4543, allocations: 8 kB / 476 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.4549, allocations: 227.6 kB / 476.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.4549, allocations: 11.94 kB / 476.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007167/0.4556, allocations: 87.64 kB / 476.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/0.4568, allocations: 1.093 MB / 477.4 MB, free: 7.73 MB / 382.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.001987/0.4588, allocations: 0.904 MB / 478.3 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.4592, allocations: 107.3 kB / 478.5 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.4595, allocations: 126.3 kB / 478.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4595, allocations: 16 kB / 478.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4595, allocations: 4 kB / 478.6 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.4595, allocations: 11.91 kB / 478.6 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.4621, allocations: 1.508 MB / 480.1 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4621, allocations: 0 / 480.1 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.4626, allocations: 207.7 kB / 480.3 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.4626, allocations: 4 kB / 480.3 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003135/0.4629, allocations: 175.9 kB / 480.5 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.4629, allocations: 4 kB / 480.5 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4629, allocations: 3.938 kB / 480.5 MB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004247/0.4672, allocations: 2.075 MB / 482.6 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/0.4689, allocations: 0.5946 MB / 483.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004769/0.4694, allocations: 119.9 kB / 483.3 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.4699, allocations: 43.98 kB / 483.3 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006902/0.4706, allocations: 336.9 kB / 483.7 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001252/0.4718, allocations: 1.089 MB / 484.8 MB, free: 324 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009582/0.4728, allocations: 0.5927 MB / 485.3 MB, free: 15.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4728, allocations: 4 kB / 485.3 MB, free: 15.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001493/0.4743, allocations: 383.4 kB / 485.7 MB, free: 15.34 MB / 398.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.005182/0.4794, allocations: 2.878 MB / 488.6 MB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004252/0.4837, allocations: 2.048 MB / 490.6 MB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4837, allocations: 0 / 490.6 MB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.486, allocations: 1.082 MB / 491.7 MB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004279/0.4903, allocations: 1.069 MB / 492.8 MB, free: 8.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/0.513, allocations: 11.84 MB / 0.4928 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.514, allocations: 0.7314 MB / 0.4935 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.007452/0.5215, allocations: 3.367 MB / 0.4968 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003822/0.5253, allocations: 1.247 MB / 0.498 GB, free: 6.781 MB / 414.1 MB Notification: Performance of SimCode: time 1.522e-06/0.5253, allocations: 7.875 kB / 0.498 GB, free: 6.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3054/0.8307, allocations: 52.96 MB / 0.5498 GB, free: 100.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.46, allocations: 13.14 kB / 0.5498 GB, free: 100.4 MB / 446.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/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] "Error: Could not read variable Counter.FF[1].RS1.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS1.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[1].RS2.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[1].RS2.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS1.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS1.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[2].RS2.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[2].RS2.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS1.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS1.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[3].RS2.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[3].RS2.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS1.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS1.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! Error: Could not read variable Counter.FF[4].RS2.TD1.x in file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv. Warning: Get data of variable Counter.FF[4].RS2.TD1.x from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.063010807149112]