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.0008348/0.0008348, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008811/0.0008811, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.875/0.875, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.831e-05, allocations: 6.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002597/0.002615, allocations: 2.392 MB / 327 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.004386, allocations: 1.235 MB / 328.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.004515, allocations: 7.938 kB / 328.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.004687, allocations: 71.36 kB / 328.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.004815, allocations: 75.25 kB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.005371, allocations: 247.6 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.006904, allocations: 2.139 MB / 330.7 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005668/0.007471, allocations: 0.5381 MB / 331.3 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.009265, allocations: 2.476 MB / 333.7 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.01028, allocations: 1.169 MB / 334.9 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002934/0.01057, allocations: 216 kB / 335.1 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.01085, allocations: 216 kB / 335.3 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.01123, allocations: 0.6463 MB / 336 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005503/0.01179, allocations: 0.6113 MB / 336.6 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.0144, allocations: 4.592 MB / 341.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.0144, allocations: 0 / 341.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0144, allocations: 0 / 341.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.58e-05/0.01444, allocations: 0 / 341.2 MB, free: 15.25 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.002524/0.01697, allocations: 2.302 MB / 343.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.017, allocations: 12.03 kB / 343.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002403/0.01724, allocations: 198.2 kB / 343.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.01749, allocations: 183.9 kB / 343.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.01874, allocations: 1.008 MB / 344.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/0.0188, allocations: 102.9 kB / 345 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.019, allocations: 124.4 kB / 345.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.02142, allocations: 2.342 MB / 347.4 MB, free: 8.871 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.02144, allocations: 192 / 347.4 MB, free: 8.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.02159, allocations: 56.12 kB / 347.5 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.02161, allocations: 32 kB / 347.5 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.02378, allocations: 2.034 MB / 349.6 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/0.0284, allocations: 4.412 MB / 354 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.03052, allocations: 1.842 MB / 355.8 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008065/0.03133, allocations: 0.7637 MB / 356.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.03146, allocations: 13.31 kB / 356.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.03269, allocations: 1.404 MB / 358 MB, free: 14.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.575e-06/0.0327, allocations: 0 / 358 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=128): time 0.003051/0.03575, allocations: 2.79 MB / 360.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.03579, allocations: 90.42 kB / 360.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.03654, allocations: 0.9489 MB / 361.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.03668, allocations: 101.7 kB / 361.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.03691, allocations: 478.2 kB / 362.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.03717, allocations: 325.7 kB / 362.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006606/0.03784, allocations: 0.6907 MB / 363.4 MB, free: 8.715 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.03797, allocations: 410.7 kB / 363.8 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009835/0.03896, allocations: 0.9073 MB / 364.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.04002, allocations: 1.076 MB / 365.8 MB, free: 6.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.042, allocations: 1.984 MB / 367.8 MB, free: 4.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.042, allocations: 3.984 kB / 367.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002527/0.04453, allocations: 2.476 MB / 370.2 MB, free: 1.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.04457, allocations: 33.7 kB / 370.3 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.04458, allocations: 4 kB / 370.3 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.0446, allocations: 8 kB / 370.3 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.04488, allocations: 239.6 kB / 370.5 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.04489, allocations: 11.94 kB / 370.5 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.04525, allocations: 95.73 kB / 370.6 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006865/0.04594, allocations: 1.093 MB / 371.7 MB, free: 252 kB / 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.0009017/0.04684, allocations: 0.9158 MB / 372.6 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.047, allocations: 115.3 kB / 372.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.04719, allocations: 134.3 kB / 372.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.0472, allocations: 12 kB / 372.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.0472, allocations: 0 / 372.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.04721, allocations: 3.984 kB / 372.9 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.04856, allocations: 1.524 MB / 374.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/0.04857, allocations: 0 / 374.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.04895, allocations: 215.7 kB / 374.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.04896, allocations: 8 kB / 374.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.04913, allocations: 183.9 kB / 374.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.04914, allocations: 7.938 kB / 374.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.04914, allocations: 4 kB / 374.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.05141, allocations: 2.114 MB / 376.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/0.0521, allocations: 0.6102 MB / 377.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.05234, allocations: 119.9 kB / 377.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.0526, allocations: 55.97 kB / 377.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.05301, allocations: 344.9 kB / 378.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008953/0.0539, allocations: 1.096 MB / 379.2 MB, free: 8.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004707/0.05437, allocations: 0.5966 MB / 379.8 MB, free: 8.102 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05437, allocations: 0 / 379.8 MB, free: 8.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007398/0.05511, allocations: 387.4 kB / 380.1 MB, free: 7.723 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.002601/0.05771, allocations: 2.929 MB / 383.1 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002086/0.0598, allocations: 2.082 MB / 385.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.0598, allocations: 3.938 kB / 385.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.06098, allocations: 1.102 MB / 386.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.06287, allocations: 1.074 MB / 387.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.07683, allocations: 12.03 MB / 399.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.0775, allocations: 0.7237 MB / 400.1 MB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004388/0.08189, allocations: 3.37 MB / 403.4 MB, free: 96 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/0.08399, allocations: 1.268 MB / 404.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.08399, allocations: 0 / 404.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1845/0.2685, allocations: 52.94 MB / 457.7 MB, free: 115.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/7.912, allocations: 10.62 kB / 457.7 MB, free: 115.7 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --stepSize=0.0178603 --timeout=50 --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 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.730765077285469]