Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 157 kB / 23.94 MB, free: 0.625 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.918/0.918, allocations: 173.4 MB / 200.5 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 320 MB, free: 5.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.275e-05, allocations: 5.516 kB / 320 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002194/0.002207, allocations: 2.369 MB / 322.4 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.003847, allocations: 1.2 MB / 323.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.003949, allocations: 7.938 kB / 323.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.004106, allocations: 67.31 kB / 323.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.004218, allocations: 71.31 kB / 323.7 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.004658, allocations: 259.5 kB / 324 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.00582, allocations: 2.139 MB / 326.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.006317, allocations: 0.5381 MB / 326.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.007821, allocations: 2.477 MB / 329.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008889/0.00871, allocations: 1.169 MB / 330.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002764/0.008987, allocations: 216 kB / 330.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.009266, allocations: 216 kB / 330.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.009686, allocations: 0.6502 MB / 331.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004741/0.01016, allocations: 0.6036 MB / 332 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.01231, allocations: 4.592 MB / 336.5 MB, free: 4.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01231, allocations: 4 kB / 336.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01231, allocations: 0 / 336.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.01233, allocations: 0 / 336.6 MB, free: 4.867 MB / 298.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.002089/0.01442, allocations: 2.298 MB / 338.9 MB, free: 2.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.01445, allocations: 8.922 kB / 338.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002396/0.01469, allocations: 206.2 kB / 339.1 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.01493, allocations: 175.9 kB / 339.2 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009826/0.01591, allocations: 1.015 MB / 340.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.01598, allocations: 98.91 kB / 340.3 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.01617, allocations: 128.4 kB / 340.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.01858, allocations: 2.342 MB / 342.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.0186, allocations: 192 / 342.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.01876, allocations: 56.12 kB / 342.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.01878, allocations: 32 kB / 342.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.02102, allocations: 2.037 MB / 344.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/0.02541, allocations: 4.408 MB / 349.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.02754, allocations: 1.839 MB / 351.2 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008492/0.02839, allocations: 0.7637 MB / 351.9 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.02857, allocations: 13.31 kB / 352 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.02996, allocations: 1.408 MB / 353.4 MB, free: 3.809 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 2.635e-06/0.02997, allocations: 0 / 353.4 MB, free: 3.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=128): time 0.003137/0.0331, allocations: 2.786 MB / 356.2 MB, free: 1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.03315, allocations: 90.42 kB / 356.2 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/0.03393, allocations: 0.9529 MB / 357.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.03409, allocations: 97.66 kB / 357.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.03432, allocations: 470.2 kB / 357.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.03459, allocations: 329.7 kB / 358.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006371/0.03523, allocations: 0.6908 MB / 358.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.03536, allocations: 406.7 kB / 359.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.03638, allocations: 0.9112 MB / 360.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.03743, allocations: 1.076 MB / 361.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.03943, allocations: 1.988 MB / 363.1 MB, free: 9.848 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.03944, allocations: 3.938 kB / 363.1 MB, free: 9.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002539/0.04197, allocations: 2.476 MB / 365.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.04201, allocations: 37.69 kB / 365.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.04202, allocations: 160 / 365.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.04204, allocations: 12 kB / 365.7 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.04232, allocations: 235.6 kB / 365.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.04234, allocations: 19.92 kB / 365.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.04268, allocations: 87.78 kB / 366 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006158/0.04329, allocations: 1.097 MB / 367.1 MB, free: 5.859 MB / 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.0008727/0.04416, allocations: 0.9079 MB / 368 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.04434, allocations: 111.3 kB / 368.1 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.04447, allocations: 138.3 kB / 368.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.04447, allocations: 12 kB / 368.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.04448, allocations: 0 / 368.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.04449, allocations: 7.969 kB / 368.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.04581, allocations: 1.528 MB / 369.8 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.04581, allocations: 0 / 369.8 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.04606, allocations: 215.7 kB / 370 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.04606, allocations: 4 kB / 370 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.04621, allocations: 187.9 kB / 370.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.04622, allocations: 4 kB / 370.2 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.04622, allocations: 3.938 kB / 370.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.04842, allocations: 2.118 MB / 372.3 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006454/0.04907, allocations: 0.6063 MB / 372.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.04931, allocations: 119.9 kB / 373 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.04956, allocations: 51.98 kB / 373.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/0.04995, allocations: 348.9 kB / 373.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005781/0.05052, allocations: 1.093 MB / 374.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004567/0.05098, allocations: 0.5966 MB / 375.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.05098, allocations: 0 / 375.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006895/0.05167, allocations: 391.4 kB / 375.5 MB, free: 13.34 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.00262/0.05429, allocations: 2.925 MB / 378.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.05646, allocations: 2.082 MB / 380.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.05646, allocations: 4.062 kB / 380.5 MB, free: 8.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.05751, allocations: 1.102 MB / 381.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.05955, allocations: 1.071 MB / 382.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.07115, allocations: 12.03 MB / 394.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.07173, allocations: 0.7198 MB / 395.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003759/0.07549, allocations: 3.374 MB / 398.8 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001889/0.07738, allocations: 1.275 MB / 400.1 MB, free: 4.438 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.07738, allocations: 0 / 400.1 MB, free: 4.438 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2085/0.2859, allocations: 53.04 MB / 453.1 MB, free: 98.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.368, allocations: 1.094 kB / 453.1 MB, free: 98.24 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.292095092125237]