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.001145/0.001145, allocations: 76.47 kB / 9.889 MB, free: 0.8047 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002766, allocations: 441.7 kB / 10.32 MB, free: 384 kB / 10.45 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.001102/0.001102, allocations: 136.9 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002642, allocations: 463.6 kB / 11.65 MB, free: 2.527 MB / 13.93 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 1.022/1.022, allocations: 173.4 MB / 185.7 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08013/1.102, allocations: 52.5 MB / 238.2 MB, free: 4.441 MB / 234.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+3.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+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 239.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.147e-05, allocations: 2.312 kB / 239.5 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004205/0.004227, allocations: 2.468 MB / 241.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.007216, allocations: 1.247 MB / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.007476, allocations: 11.88 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.007676, allocations: 67.36 kB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.007907, allocations: 79.25 kB / 243.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.008603, allocations: 255.5 kB / 243.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.0107, allocations: 2.128 MB / 245.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009868/0.01169, allocations: 0.5652 MB / 246.3 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.01495, allocations: 2.593 MB / 248.9 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.01674, allocations: 1.165 MB / 250 MB, free: 8.594 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006915/0.01744, allocations: 216 kB / 250.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.01789, allocations: 220 kB / 250.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005639/0.01845, allocations: 478.8 kB / 250.9 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008051/0.01926, allocations: 443.1 kB / 251.4 MB, free: 7.266 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.02189, allocations: 2.941 MB / 254.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.991e-05/0.02191, allocations: 4 kB / 254.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.02191, allocations: 0 / 254.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.112e-05/0.02196, allocations: 0 / 254.3 MB, free: 4.312 MB / 250.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.004448/0.02641, allocations: 2.258 MB / 256.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.02645, allocations: 8.031 kB / 256.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004133/0.02687, allocations: 194 kB / 256.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006607/0.02753, allocations: 216.8 kB / 257 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.02885, allocations: 0.7474 MB / 257.7 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.02896, allocations: 94.91 kB / 257.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003347/0.02929, allocations: 128.4 kB / 257.9 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.03166, allocations: 1.05 MB / 259 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.03169, allocations: 4.125 kB / 259 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.03194, allocations: 56.12 kB / 259 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.03197, allocations: 32 kB / 259.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.0333, allocations: 403 kB / 259.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/0.03761, allocations: 2.739 MB / 262.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.03885, allocations: 0.6642 MB / 262.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.0392, allocations: 210.4 kB / 263.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.03936, allocations: 21.31 kB / 263.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000718/0.04008, allocations: 0.6309 MB / 263.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.788e-06/0.04008, allocations: 0 / 263.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001414/0.04149, allocations: 0.7645 MB / 264.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.04154, allocations: 94.42 kB / 264.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/0.042, allocations: 0.6516 MB / 265.2 MB, free: 9.082 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.04215, allocations: 97.66 kB / 265.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.04234, allocations: 399.4 kB / 265.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.04261, allocations: 317.5 kB / 266 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005452/0.04315, allocations: 435.1 kB / 266.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.04327, allocations: 406.5 kB / 266.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.04364, allocations: 193.5 kB / 267 MB, free: 7.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.04408, allocations: 377.9 kB / 267.4 MB, free: 6.828 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009578/0.04504, allocations: 0.7414 MB / 268.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.04504, allocations: 0 / 268.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00119/0.04623, allocations: 0.7165 MB / 268.9 MB, free: 5.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.04628, allocations: 33.7 kB / 268.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.04629, allocations: 4 kB / 268.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.0463, allocations: 8.031 kB / 268.9 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.04669, allocations: 187.4 kB / 269.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.0467, allocations: 8 kB / 269.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.04709, allocations: 75.77 kB / 269.2 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007758/0.04786, allocations: 0.9715 MB / 270.2 MB, free: 4.004 MB / 266.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.0005764/0.04844, allocations: 412.9 kB / 270.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.0487, allocations: 111.9 kB / 270.7 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.04881, allocations: 122.3 kB / 270.8 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.04882, allocations: 12 kB / 270.8 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.04883, allocations: 4 kB / 270.8 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.04883, allocations: 3.984 kB / 270.8 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.04977, allocations: 0.861 MB / 271.7 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.04978, allocations: 3.938 kB / 271.7 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.05012, allocations: 147.6 kB / 271.8 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.05062, allocations: 367 kB / 272.2 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.05062, allocations: 4 kB / 272.2 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.05075, allocations: 59.89 kB / 272.2 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.05076, allocations: 8 kB / 272.2 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.05076, allocations: 3.984 kB / 272.2 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.05184, allocations: 0.6503 MB / 272.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.05209, allocations: 111.9 kB / 273 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.05235, allocations: 43.98 kB / 273.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/0.05271, allocations: 157 kB / 273.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.1035/0.1562, allocations: 0.9629 MB / 274.2 MB, free: 23.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002922/0.1565, allocations: 256.8 kB / 274.4 MB, free: 23.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1565, allocations: 0 / 274.4 MB, free: 23.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001485/0.158, allocations: 385.3 kB / 274.8 MB, free: 23.77 MB / 266.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.0005135/0.1585, allocations: 0.7373 MB / 275.5 MB, free: 23.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.1599, allocations: 0.7363 MB / 276.3 MB, free: 23.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/0.16, allocations: 6.656 kB / 276.3 MB, free: 23.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007017/0.1607, allocations: 449.2 kB / 276.7 MB, free: 23.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.163, allocations: 1.257 MB / 278 MB, free: 22.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006379/0.1693, allocations: 4.783 MB / 282.8 MB, free: 21.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.1695, allocations: 240.9 kB / 283 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003866/0.1734, allocations: 2.885 MB / 285.9 MB, free: 19.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002973/0.1764, allocations: 1.576 MB / 287.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1764, allocations: 0 / 287.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.06941/0.2458, allocations: 60.98 MB / 348.4 MB, free: 9.305 MB / 314.7 MB Notification: FMU-only work: backend 5.744e-05, simCode 0.003055, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0653/0.3111, allocations: 1.332 MB / 349.8 MB, free: 7.945 MB / 314.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.322/3.633, allocations: 7.906 kB / 349.8 MB, free: 7.938 MB / 314.7 MB " [Timeout remaining time 656] (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 (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode_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 CoSimulation --output-interval 0.0178603 ../Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode_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: 7.070001837797463]