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.001264/0.001264, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001436/0.001436, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001664/0.001664, allocations: 43.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3025, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004278/0.3068, allocations: 2.627 MB / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.3097, allocations: 1.282 MB / 435 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.3099, allocations: 11.88 kB / 435.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3101, allocations: 71.36 kB / 435.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.3103, allocations: 75.3 kB / 435.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.311, allocations: 247.6 kB / 435.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.3131, allocations: 2.096 MB / 437.5 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007807/0.3139, allocations: 0.503 MB / 438 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.3164, allocations: 2.129 MB / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.3182, allocations: 1.121 MB / 441.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004517/0.3186, allocations: 216 kB / 441.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.319, allocations: 216 kB / 441.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007368/0.3198, allocations: 0.6424 MB / 442.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.321, allocations: 0.8902 MB / 443.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004237/0.3253, allocations: 4.42 MB / 447.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3253, allocations: 0 / 447.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3253, allocations: 0 / 447.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-05/0.3253, allocations: 0 / 447.7 MB, free: 6.258 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.004766/0.3301, allocations: 2.275 MB / 449.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3301, allocations: 8.031 kB / 449.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003753/0.3305, allocations: 198.2 kB / 450.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.3309, allocations: 175.9 kB / 450.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.3332, allocations: 1.02 MB / 451.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.3333, allocations: 102.9 kB / 451.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.3336, allocations: 124.4 kB / 451.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004415/0.338, allocations: 2.281 MB / 453.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.3381, allocations: 0 / 453.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.3383, allocations: 55.98 kB / 453.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.3383, allocations: 28 kB / 453.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003872/0.3422, allocations: 1.985 MB / 455.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009289/0.3515, allocations: 4.763 MB / 460.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.3551, allocations: 1.797 MB / 462.5 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.3565, allocations: 0.7191 MB / 463.2 MB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.3568, allocations: 21.3 kB / 463.2 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002188/0.359, allocations: 1.352 MB / 464.6 MB, free: 5.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.377e-06/0.359, allocations: 0 / 464.6 MB, free: 5.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005233/0.3642, allocations: 2.678 MB / 467.2 MB, free: 2.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.3643, allocations: 90.42 kB / 467.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.3657, allocations: 0.9528 MB / 468.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002621/0.366, allocations: 93.66 kB / 468.4 MB, free: 1.293 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/0.3664, allocations: 474.2 kB / 468.8 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004527/0.3669, allocations: 325.6 kB / 469.1 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.3679, allocations: 0.6712 MB / 469.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.3682, allocations: 406.7 kB / 470.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.3698, allocations: 0.8665 MB / 471.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.3716, allocations: 1.047 MB / 472.1 MB, free: 13.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.375, allocations: 1.953 MB / 474.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.375, allocations: 0 / 474.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004349/0.3794, allocations: 2.399 MB / 476.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.3794, allocations: 33.7 kB / 476.5 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3794, allocations: 4 kB / 476.5 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.3794, allocations: 8 kB / 476.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.38, allocations: 227.6 kB / 476.7 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.38, allocations: 15.94 kB / 476.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.3806, allocations: 79.69 kB / 476.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/0.3817, allocations: 1.089 MB / 477.9 MB, free: 7.59 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.001569/0.3833, allocations: 0.9041 MB / 478.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.3836, allocations: 111.3 kB / 478.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.3839, allocations: 134.3 kB / 479.1 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.3839, allocations: 15.98 kB / 479.1 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.3839, allocations: 4 kB / 479.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.3839, allocations: 7.922 kB / 479.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.3865, allocations: 1.73 MB / 480.8 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3866, allocations: 3.984 kB / 480.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.387, allocations: 203.7 kB / 481 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.387, allocations: 8 kB / 481 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003108/0.3873, allocations: 175.9 kB / 481.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.3873, allocations: 4 kB / 481.2 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3873, allocations: 0 / 481.2 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/0.3912, allocations: 2.038 MB / 483.3 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/0.3928, allocations: 0.6024 MB / 483.9 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004372/0.3932, allocations: 119.9 kB / 484 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.3937, allocations: 47.97 kB / 484 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/0.3943, allocations: 344.8 kB / 484.4 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001229/0.3955, allocations: 1.085 MB / 485.4 MB, free: 15.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009484/0.3965, allocations: 0.5926 MB / 486 MB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3965, allocations: 0 / 486 MB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00138/0.3979, allocations: 379.4 kB / 486.4 MB, free: 15.01 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.004646/0.4025, allocations: 2.845 MB / 489.3 MB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003986/0.4065, allocations: 1.999 MB / 491.3 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4065, allocations: 0 / 491.3 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.4085, allocations: 1.053 MB / 492.3 MB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.4121, allocations: 1.083 MB / 493.4 MB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/0.4314, allocations: 11.71 MB / 0.4933 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.4328, allocations: 1.312 MB / 0.4945 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.006459/0.4392, allocations: 3.37 MB / 0.4978 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003198/0.4424, allocations: 1.243 MB / 0.499 GB, free: 6.156 MB / 414.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4424, allocations: 0 / 0.499 GB, free: 6.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3047/0.7471, allocations: 50.78 MB / 0.5486 GB, free: 100.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.27, allocations: 7.484 kB / 0.5486 GB, free: 100.6 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.009728742064908]