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.0009735/0.0009735, allocations: 80.36 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.0009565/0.0009565, allocations: 160.9 kB / 23.95 MB, free: 0.6094 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.8715/0.8715, allocations: 177.4 MB / 204.5 MB, free: 5.316 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 326.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.424e-05, allocations: 4.391 kB / 326.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002157/0.002171, allocations: 2.385 MB / 329.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.003801, allocations: 1.228 MB / 330.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003902, allocations: 7.938 kB / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.004059, allocations: 79.3 kB / 330.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.004166, allocations: 75.23 kB / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.004587, allocations: 247.6 kB / 330.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.005697, allocations: 2.139 MB / 333 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.006179, allocations: 0.5342 MB / 333.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.007838, allocations: 2.476 MB / 336 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007875/0.008626, allocations: 1.165 MB / 337.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002653/0.008891, allocations: 220 kB / 337.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.009161, allocations: 216 kB / 337.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004193/0.009581, allocations: 0.6502 MB / 338.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004698/0.01005, allocations: 0.6113 MB / 338.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.01248, allocations: 4.588 MB / 343.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.01249, allocations: 0 / 343.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01249, allocations: 0 / 343.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.0125, allocations: 3.938 kB / 343.4 MB, free: 13.46 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.002127/0.01463, allocations: 2.295 MB / 345.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.01467, allocations: 19.98 kB / 345.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/0.01491, allocations: 202.2 kB / 346 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.01515, allocations: 175.9 kB / 346.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009507/0.0161, allocations: 1.016 MB / 347.1 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.01616, allocations: 98.91 kB / 347.2 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.01635, allocations: 128.4 kB / 347.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.01897, allocations: 2.342 MB / 349.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.01899, allocations: 192 / 349.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.01915, allocations: 56.12 kB / 349.8 MB, free: 7.023 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.01917, allocations: 36 kB / 349.8 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.02142, allocations: 2.034 MB / 351.8 MB, free: 4.941 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.02603, allocations: 4.397 MB / 356.2 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.02818, allocations: 1.854 MB / 358.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008476/0.02902, allocations: 0.7637 MB / 358.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.0292, allocations: 17.31 kB / 358.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001252/0.03045, allocations: 1.396 MB / 360.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.565e-06/0.03045, allocations: 0 / 360.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=128): time 0.003291/0.03374, allocations: 2.79 MB / 363 MB, free: 9.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.03379, allocations: 102.3 kB / 363.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007163/0.0345, allocations: 0.945 MB / 364.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.03465, allocations: 101.7 kB / 364.2 MB, free: 8.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.03487, allocations: 474.2 kB / 364.7 MB, free: 7.938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.03513, allocations: 329.7 kB / 365 MB, free: 7.613 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006214/0.03575, allocations: 0.6869 MB / 365.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.03587, allocations: 406.7 kB / 366.1 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009716/0.03684, allocations: 0.9073 MB / 367 MB, free: 5.598 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.03789, allocations: 1.08 MB / 368 MB, free: 4.473 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.03997, allocations: 1.988 MB / 370 MB, free: 2.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.03997, allocations: 0 / 370 MB, free: 2.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002432/0.0424, allocations: 2.468 MB / 372.5 MB, free: 15.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.04244, allocations: 37.7 kB / 372.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.04245, allocations: 8.656 kB / 372.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.04247, allocations: 8 kB / 372.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.04274, allocations: 235.6 kB / 372.8 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.04276, allocations: 11.94 kB / 372.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.04307, allocations: 91.7 kB / 372.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005746/0.04364, allocations: 1.093 MB / 374 MB, free: 14.45 MB / 346.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.0007693/0.04441, allocations: 0.9196 MB / 374.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.04459, allocations: 111.3 kB / 375 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.0447, allocations: 130.3 kB / 375.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.04471, allocations: 12 kB / 375.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.04472, allocations: 3.984 kB / 375.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.04473, allocations: 7.984 kB / 375.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.04603, allocations: 1.524 MB / 376.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.04603, allocations: 0 / 376.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.04627, allocations: 219.7 kB / 376.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.04627, allocations: 7.984 kB / 376.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003878/0.04666, allocations: 183.9 kB / 377.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.04667, allocations: 4 kB / 377.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.04667, allocations: 3.938 kB / 377.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.04887, allocations: 2.11 MB / 379.2 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.0495, allocations: 0.6063 MB / 379.8 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.04973, allocations: 123.9 kB / 379.9 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.04999, allocations: 55.97 kB / 380 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003745/0.05037, allocations: 348.9 kB / 380.3 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000569/0.05093, allocations: 1.093 MB / 381.4 MB, free: 6.902 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004707/0.05141, allocations: 0.5927 MB / 382 MB, free: 6.316 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05141, allocations: 0 / 382 MB, free: 6.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006695/0.05207, allocations: 391.3 kB / 382.4 MB, free: 5.934 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.002894/0.05497, allocations: 2.929 MB / 385.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.05705, allocations: 2.086 MB / 387.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.05705, allocations: 3.938 kB / 387.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.05813, allocations: 1.105 MB / 388.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.06004, allocations: 1.079 MB / 389.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.07212, allocations: 12.02 MB / 401.6 MB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.07271, allocations: 0.7237 MB / 402.3 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003709/0.07641, allocations: 3.374 MB / 405.7 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/0.07875, allocations: 1.272 MB / 407 MB, free: 13 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.07875, allocations: 4 kB / 407 MB, free: 13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2664/0.3452, allocations: 53.01 MB / 460 MB, free: 115.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.404/8.75, allocations: 14.5 kB / 460 MB, free: 115.2 MB / 410.7 MB " [Timeout remaining time 651] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 252.0] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy_res.csv --output-variables 'Counter.FF[1].RS1.TD1.x' 'Counter.FF[1].RS2.TD1.x' 'Counter.FF[2].RS1.TD1.x' 'Counter.FF[2].RS2.TD1.x' 'Counter.FF[3].RS1.TD1.x' 'Counter.FF[3].RS2.TD1.x' 'Counter.FF[4].RS1.TD1.x' 'Counter.FF[4].RS2.TD1.x' --start-time 0 --stop-time 100 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0178603 ../Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.526653201319277]