Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000867/0.000867, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008242/0.0008242, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8811/0.8811, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.25e-05, allocations: 2.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002499/0.002522, allocations: 2.389 MB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.004537, allocations: 1.232 MB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.004671, allocations: 11.88 kB / 328.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.004844, allocations: 67.36 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.004971, allocations: 79.25 kB / 328.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.005465, allocations: 255.5 kB / 328.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.006788, allocations: 2.135 MB / 330.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006236/0.007411, allocations: 0.542 MB / 331.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.009278, allocations: 2.465 MB / 333.7 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.01034, allocations: 1.173 MB / 334.9 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.01066, allocations: 216 kB / 335.1 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.01094, allocations: 220 kB / 335.3 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004489/0.01139, allocations: 0.6463 MB / 335.9 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005389/0.01193, allocations: 0.6037 MB / 336.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.01467, allocations: 4.592 MB / 341.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01467, allocations: 0 / 341.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01467, allocations: 0 / 341.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.355e-05/0.01471, allocations: 0 / 341.1 MB, free: 15.2 MB / 314.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.003019/0.01773, allocations: 2.295 MB / 343.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.01777, allocations: 11.98 kB / 343.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002697/0.01804, allocations: 214.2 kB / 343.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.01834, allocations: 175.9 kB / 343.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.01946, allocations: 1.012 MB / 344.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.428e-05/0.01953, allocations: 94.91 kB / 344.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.01973, allocations: 128.4 kB / 345 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.02256, allocations: 2.342 MB / 347.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.02258, allocations: 192 / 347.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.02273, allocations: 60.11 kB / 347.4 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.02275, allocations: 32 kB / 347.5 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.02507, allocations: 2.037 MB / 349.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/0.03017, allocations: 4.404 MB / 353.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.03241, allocations: 1.85 MB / 355.8 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008672/0.03327, allocations: 0.7637 MB / 356.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.03339, allocations: 13.31 kB / 356.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/0.03468, allocations: 1.4 MB / 357.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.685e-06/0.03469, allocations: 0 / 357.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=128): time 0.003432/0.03812, allocations: 2.79 MB / 360.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.03817, allocations: 90.42 kB / 360.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007907/0.03896, allocations: 0.949 MB / 361.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.0391, allocations: 97.66 kB / 361.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.03935, allocations: 482.1 kB / 362.3 MB, free: 9.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.03961, allocations: 325.6 kB / 362.7 MB, free: 9.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007045/0.04032, allocations: 0.6947 MB / 363.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.04045, allocations: 410.7 kB / 363.7 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.04146, allocations: 0.9073 MB / 364.7 MB, free: 7.328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.04255, allocations: 1.08 MB / 365.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.04482, allocations: 1.981 MB / 367.7 MB, free: 4.168 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.04483, allocations: 4 kB / 367.7 MB, free: 4.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002667/0.04749, allocations: 2.476 MB / 370.2 MB, free: 1.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.04753, allocations: 29.7 kB / 370.2 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.04754, allocations: 4 kB / 370.2 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.04757, allocations: 12.03 kB / 370.2 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.04785, allocations: 243.5 kB / 370.5 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.04787, allocations: 8 kB / 370.5 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.04823, allocations: 87.7 kB / 370.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006479/0.04887, allocations: 1.104 MB / 371.7 MB, free: 184 kB / 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.0008613/0.04974, allocations: 0.9118 MB / 372.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.04992, allocations: 111.3 kB / 372.7 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.05005, allocations: 134.3 kB / 372.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.05006, allocations: 12 kB / 372.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.05007, allocations: 0 / 372.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.05008, allocations: 3.984 kB / 372.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.05172, allocations: 1.528 MB / 374.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.05172, allocations: 3.938 kB / 374.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.05196, allocations: 215.7 kB / 374.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.05197, allocations: 8 kB / 374.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.05213, allocations: 191.9 kB / 374.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.05213, allocations: 4 kB / 374.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.05213, allocations: 3.984 kB / 374.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.0544, allocations: 2.11 MB / 376.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006984/0.0551, allocations: 0.6024 MB / 377.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.05534, allocations: 127.9 kB / 377.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.0556, allocations: 59.97 kB / 377.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004247/0.05602, allocations: 344.9 kB / 378 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006553/0.05668, allocations: 1.093 MB / 379.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004779/0.05715, allocations: 0.5927 MB / 379.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05715, allocations: 0 / 379.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007631/0.05792, allocations: 391.4 kB / 380.1 MB, free: 7.652 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.002941/0.06086, allocations: 2.917 MB / 383 MB, free: 4.699 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.06298, allocations: 2.083 MB / 385.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.06298, allocations: 0 / 385.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.06406, allocations: 1.102 MB / 386.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.066, allocations: 1.087 MB / 387.3 MB, free: 452 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.07842, allocations: 12.02 MB / 399.3 MB, free: 4.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.07909, allocations: 0.7198 MB / 400 MB, free: 3.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004336/0.08343, allocations: 3.374 MB / 403.4 MB, free: 20 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/0.08542, allocations: 1.276 MB / 404.7 MB, free: 14.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.08542, allocations: 0 / 404.7 MB, free: 14.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2015/0.2869, allocations: 52.9 MB / 457.6 MB, free: 115.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/7.961, allocations: 12.33 kB / 457.6 MB, free: 115.8 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.793135141953826]