Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001747/0.001747, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002164/0.002164, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 59.11 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.246, allocations: 49.16 MB / 396.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003006/0.249, allocations: 2.381 MB / 398.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.2511, allocations: 1.235 MB / 400 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2512, allocations: 7.844 kB / 400 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.2514, allocations: 67.16 kB / 400 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.2516, allocations: 78.58 kB / 400.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.2521, allocations: 247 kB / 400.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.2536, allocations: 2.115 MB / 402.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00067/0.2543, allocations: 0.5408 MB / 403 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.2565, allocations: 2.137 MB / 405.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.2581, allocations: 1.245 MB / 406.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004725/0.2586, allocations: 216.7 kB / 406.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.2591, allocations: 216.8 kB / 406.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005896/0.2597, allocations: 0.6395 MB / 407.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007825/0.2604, allocations: 0.7109 MB / 408.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.2635, allocations: 4.43 MB / 412.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2635, allocations: 0 / 412.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2635, allocations: 0 / 412.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.163e-05/0.2635, allocations: 0 / 412.6 MB, free: 15.91 MB / 334.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.004161/0.2677, allocations: 2.273 MB / 414.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2678, allocations: 13.02 kB / 414.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003754/0.2681, allocations: 205.9 kB / 415.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004535/0.2686, allocations: 176.8 kB / 415.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.2709, allocations: 1.01 MB / 416.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.271, allocations: 104.5 kB / 416.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.2713, allocations: 125.9 kB / 416.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004077/0.2754, allocations: 2.306 MB / 418.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.2754, allocations: 1.375 kB / 418.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.2756, allocations: 54.42 kB / 418.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.2757, allocations: 29.97 kB / 418.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/0.2794, allocations: 2.015 MB / 420.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008832/0.2882, allocations: 4.358 MB / 425.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.2918, allocations: 1.807 MB / 427.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.2932, allocations: 0.7559 MB / 427.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.2933, allocations: 13.31 kB / 427.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002206/0.2955, allocations: 1.381 MB / 429.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.817e-06/0.2955, allocations: 0 / 429.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.005155/0.3007, allocations: 2.724 MB / 431.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.3008, allocations: 94.42 kB / 432 MB, free: 15.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.3022, allocations: 0.945 MB / 433 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002577/0.3024, allocations: 101.7 kB / 433.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.3028, allocations: 470.2 kB / 433.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004371/0.3033, allocations: 325.5 kB / 433.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.3043, allocations: 0.6634 MB / 434.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.3045, allocations: 406.7 kB / 434.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.3061, allocations: 0.8956 MB / 435.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.3079, allocations: 1.068 MB / 436.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00348/0.3114, allocations: 1.949 MB / 438.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3114, allocations: 0 / 438.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004384/0.3158, allocations: 2.436 MB / 441.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/0.3158, allocations: 33.7 kB / 441.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3158, allocations: 0 / 441.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.3158, allocations: 12 kB / 441.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.3163, allocations: 231.5 kB / 441.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.3164, allocations: 8 kB / 441.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/0.3171, allocations: 91.67 kB / 441.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/0.3182, allocations: 1.089 MB / 442.7 MB, free: 4.406 MB / 350.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.001846/0.32, allocations: 0.8963 MB / 443.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/0.3205, allocations: 115.3 kB / 443.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.3208, allocations: 134.3 kB / 443.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.3208, allocations: 12 kB / 443.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.3208, allocations: 3.984 kB / 443.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.3208, allocations: 7.922 kB / 443.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.3233, allocations: 1.524 MB / 445.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3233, allocations: 0 / 445.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/0.3237, allocations: 203.7 kB / 445.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.3237, allocations: 4 kB / 445.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002925/0.324, allocations: 179.9 kB / 445.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.324, allocations: 4 kB / 445.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.324, allocations: 4 kB / 445.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003952/0.328, allocations: 2.071 MB / 447.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/0.3297, allocations: 0.6024 MB / 448.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004223/0.3301, allocations: 119.9 kB / 448.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.3305, allocations: 47.97 kB / 448.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00064/0.3312, allocations: 336.7 kB / 449 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001108/0.3323, allocations: 1.089 MB / 450 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007911/0.3331, allocations: 0.5927 MB / 450.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3331, allocations: 0 / 450.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001256/0.3343, allocations: 383.3 kB / 451 MB, free: 12 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.004399/0.3387, allocations: 2.867 MB / 453.9 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.3424, allocations: 2.052 MB / 455.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3424, allocations: 0 / 455.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.3442, allocations: 1.078 MB / 457 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/0.3477, allocations: 1.076 MB / 458.1 MB, free: 4.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/0.3668, allocations: 11.84 MB / 469.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.3678, allocations: 0.7276 MB / 470.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.006509/0.3743, allocations: 3.374 MB / 474 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003132/0.3774, allocations: 1.239 MB / 475.3 MB, free: 3.359 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3774, allocations: 0 / 475.3 MB, free: 3.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08971/0.4671, allocations: 52.97 MB / 0.5159 GB, free: 13.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.31, allocations: 0 / 0.5159 GB, free: 13.27 MB / 446.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.874444099143147]