Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000765/0.000765, allocations: 76.16 kB / 9.888 MB, free: 0.7969 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001792, allocations: 441.7 kB / 10.32 MB, free: 376 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 153.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002557, allocations: 467.5 kB / 11.66 MB, free: 2.5 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.136/1.136, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08112/1.217, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_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_1_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.112e-06/1.112e-06, allocations: 0 / 244.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.905e-06/9.017e-06, allocations: 10.19 kB / 244.4 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005834/0.005843, allocations: 2.501 MB / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.008024, allocations: 1.27 MB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.008147, allocations: 11.94 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.008289, allocations: 75.3 kB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.008446, allocations: 79.23 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.01193, allocations: 247.6 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.01358, allocations: 2.124 MB / 250.7 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006525/0.01423, allocations: 0.5537 MB / 251.3 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.01943, allocations: 2.6 MB / 253.9 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009411/0.02037, allocations: 1.169 MB / 255.1 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.02062, allocations: 216 kB / 255.3 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.02085, allocations: 216 kB / 255.5 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003775/0.02123, allocations: 490.8 kB / 256 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.02169, allocations: 439.1 kB / 256.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.02338, allocations: 2.929 MB / 259.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.02339, allocations: 0 / 259.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02339, allocations: 0 / 259.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.02342, allocations: 0 / 259.3 MB, free: 15.41 MB / 266.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.002232/0.02565, allocations: 2.265 MB / 261.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.02568, allocations: 12.03 kB / 261.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002257/0.02591, allocations: 198 kB / 261.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.02626, allocations: 216.8 kB / 262 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/0.02702, allocations: 0.7397 MB / 262.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.02708, allocations: 94.91 kB / 262.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.02732, allocations: 128.3 kB / 263 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.02875, allocations: 1.054 MB / 264 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.02878, allocations: 192 / 264 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003797/0.02915, allocations: 60.11 kB / 264.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.02917, allocations: 28 kB / 264.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007984/0.02997, allocations: 403 kB / 264.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.03321, allocations: 2.732 MB / 267.2 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.03424, allocations: 0.6647 MB / 267.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.0346, allocations: 218.3 kB / 268.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.03477, allocations: 21.31 kB / 268.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007253/0.03549, allocations: 0.6424 MB / 268.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.384e-06/0.0355, allocations: 0 / 268.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001403/0.0369, allocations: 0.7568 MB / 269.5 MB, free: 4.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.03694, allocations: 90.42 kB / 269.6 MB, free: 4.855 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.03733, allocations: 0.6477 MB / 270.3 MB, free: 4.195 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.03748, allocations: 97.66 kB / 270.4 MB, free: 4.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.03765, allocations: 403.4 kB / 270.7 MB, free: 3.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.03791, allocations: 317.6 kB / 271.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007725/0.03868, allocations: 435.1 kB / 271.5 MB, free: 2.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.03879, allocations: 406.5 kB / 271.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.03916, allocations: 197.5 kB / 272.1 MB, free: 2.344 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.03962, allocations: 373.9 kB / 272.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009515/0.04057, allocations: 0.7375 MB / 273.2 MB, free: 1.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.04057, allocations: 4 kB / 273.2 MB, free: 1.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001175/0.04175, allocations: 0.7243 MB / 273.9 MB, free: 400 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.04178, allocations: 37.64 kB / 273.9 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.04179, allocations: 4 kB / 273.9 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.0418, allocations: 12 kB / 274 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.04218, allocations: 171.5 kB / 274.1 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.04219, allocations: 8 kB / 274.1 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.0425, allocations: 87.75 kB / 274.2 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1021/0.1446, allocations: 0.9658 MB / 275.2 MB, free: 20.76 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.001029/0.1457, allocations: 403 kB / 275.6 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004049/0.1461, allocations: 111.1 kB / 275.7 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.1462, allocations: 117 kB / 275.8 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.1462, allocations: 12.66 kB / 275.8 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1462, allocations: 3.25 kB / 275.8 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.1462, allocations: 5.719 kB / 275.8 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1474, allocations: 0.8642 MB / 276.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1474, allocations: 3.844 kB / 276.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.1478, allocations: 144 kB / 276.8 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000541/0.1483, allocations: 359.2 kB / 277.2 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.1483, allocations: 9.047 kB / 277.2 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/0.1485, allocations: 64.38 kB / 277.3 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.1485, allocations: 3.406 kB / 277.3 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1485, allocations: 5.766 kB / 277.3 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.1498, allocations: 0.6513 MB / 277.9 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.15, allocations: 109.7 kB / 278 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.1503, allocations: 48.78 kB / 278.1 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003923/0.1507, allocations: 164.8 kB / 278.2 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007337/0.1515, allocations: 0.9642 MB / 279.2 MB, free: 20.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.1517, allocations: 256.2 kB / 279.4 MB, free: 20.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1517, allocations: 0.9688 kB / 279.4 MB, free: 20.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009145/0.1526, allocations: 381.8 kB / 279.8 MB, free: 20.2 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.0004423/0.1531, allocations: 0.7374 MB / 280.6 MB, free: 19.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.1543, allocations: 0.7367 MB / 281.3 MB, free: 19.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.1543, allocations: 14.5 kB / 281.3 MB, free: 19.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006503/0.1549, allocations: 446.7 kB / 281.7 MB, free: 19.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.157, allocations: 1.242 MB / 283 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.1621, allocations: 4.777 MB / 287.8 MB, free: 17.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.1623, allocations: 242.8 kB / 288 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003318/0.1656, allocations: 2.882 MB / 290.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002596/0.1682, allocations: 1.583 MB / 292.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1682, allocations: 0 / 292.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.0729/0.2411, allocations: 61 MB / 353.5 MB, free: 0.6562 MB / 314.7 MB Notification: FMU-only work: backend 5.049e-05, simCode 0.002273, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08022/0.3213, allocations: 1.326 MB / 354.8 MB, free: 15.3 MB / 330.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.356/3.678, allocations: 21.77 kB / 354.8 MB, free: 15.28 MB / 330.7 MB " [Timeout remaining time 656] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Electrical_Digital_Examples_Counter_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.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_1_0_Modelica_Electrical_Digital_Examples_Counter.fmu) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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 (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.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_1_0_Modelica_Electrical_Digital_Examples_Counter_fmpy-fmi3-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.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.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: 6.754204331897199]