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.0008613/0.0008613, allocations: 69.17 kB / 10.01 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001903, allocations: 453.8 kB / 10.45 MB, free: 236 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.0007029/0.0007029, allocations: 161.2 kB / 11.36 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009188/0.001622, allocations: 475.6 kB / 11.83 MB, free: 2.34 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 0.916/0.916, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08324/0.9993, allocations: 53.66 MB / 243.4 MB, free: 15.5 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: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.744e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002778/0.002796, allocations: 2.514 MB / 247.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.004767, allocations: 1.326 MB / 248.6 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.004901, allocations: 7.938 kB / 248.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.005024, allocations: 71.31 kB / 248.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.005161, allocations: 79.25 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.005564, allocations: 251.6 kB / 249 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.006841, allocations: 2.128 MB / 251.1 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005913/0.007433, allocations: 0.5498 MB / 251.6 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.01032, allocations: 2.604 MB / 254.2 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.01164, allocations: 1.177 MB / 255.4 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004493/0.01209, allocations: 216 kB / 255.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.01237, allocations: 219.9 kB / 255.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.0128, allocations: 482.9 kB / 256.3 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005642/0.01336, allocations: 443.1 kB / 256.7 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.01518, allocations: 2.933 MB / 259.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.0152, allocations: 7.938 kB / 259.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.0152, allocations: 0 / 259.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.416e-05/0.01526, allocations: 0 / 259.7 MB, free: 15.18 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.002844/0.01811, allocations: 2.25 MB / 261.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.01814, allocations: 8.031 kB / 261.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.01852, allocations: 220.8 kB / 262.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.0193, allocations: 0.7474 MB / 262.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.01936, allocations: 94.91 kB / 263 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.01953, allocations: 120.4 kB / 263.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.0209, allocations: 1.054 MB / 264.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.02092, allocations: 192 / 264.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.02106, allocations: 52.38 kB / 264.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.02108, allocations: 39.92 kB / 264.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008346/0.02191, allocations: 410.9 kB / 264.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.02523, allocations: 2.567 MB / 267.2 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.02631, allocations: 0.6626 MB / 267.9 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.02668, allocations: 218.3 kB / 268.1 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.02683, allocations: 25.25 kB / 268.1 MB, free: 6.547 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006932/0.02752, allocations: 0.6308 MB / 268.8 MB, free: 5.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.966e-06/0.02753, allocations: 4 kB / 268.8 MB, free: 5.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001422/0.02895, allocations: 0.7567 MB / 269.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.02899, allocations: 68.72 kB / 269.6 MB, free: 5.035 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.02946, allocations: 0.6477 MB / 270.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.02962, allocations: 97.66 kB / 270.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.02981, allocations: 399.4 kB / 270.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.03007, allocations: 325.6 kB / 271 MB, free: 3.555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005469/0.03062, allocations: 439.1 kB / 271.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.03073, allocations: 402.6 kB / 271.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.03111, allocations: 197.5 kB / 272.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.0316, allocations: 385.8 kB / 272.4 MB, free: 2.098 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009903/0.03259, allocations: 0.7337 MB / 273.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.0326, allocations: 4 kB / 273.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001326/0.03392, allocations: 0.7361 MB / 273.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.03396, allocations: 33.7 kB / 273.9 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.03397, allocations: 0 / 273.9 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.03399, allocations: 12 kB / 273.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.03437, allocations: 183.5 kB / 274.1 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.03438, allocations: 8 kB / 274.1 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.03475, allocations: 87.66 kB / 274.2 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.106/0.1407, allocations: 0.967 MB / 275.2 MB, free: 19.16 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.0009776/0.1417, allocations: 396.5 kB / 275.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.142, allocations: 112.5 kB / 275.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.1422, allocations: 139.4 kB / 275.8 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.1422, allocations: 14.66 kB / 275.8 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1422, allocations: 2.766 kB / 275.8 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.1422, allocations: 6.281 kB / 275.8 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.1433, allocations: 0.7008 MB / 276.5 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1433, allocations: 1.125 kB / 276.5 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.1436, allocations: 145.7 kB / 276.7 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.1442, allocations: 362.4 kB / 277 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1442, allocations: 4.312 kB / 277 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.1443, allocations: 63.3 kB / 277.1 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1443, allocations: 5.406 kB / 277.1 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1443, allocations: 4.078 kB / 277.1 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.1456, allocations: 0.6471 MB / 277.8 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.1458, allocations: 112.2 kB / 277.9 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.1461, allocations: 47.36 kB / 277.9 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/0.1464, allocations: 160 kB / 278.1 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000782/0.1472, allocations: 0.9684 MB / 279 MB, free: 18.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000306/0.1475, allocations: 256.4 kB / 279.3 MB, free: 18.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1475, allocations: 0 / 279.3 MB, free: 18.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001047/0.1486, allocations: 381.9 kB / 279.7 MB, free: 18.63 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.0003846/0.1489, allocations: 346.2 kB / 280 MB, free: 18.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.1505, allocations: 0.7951 MB / 280.8 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/0.1505, allocations: 10.22 kB / 280.8 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009125/0.1514, allocations: 0.5664 MB / 281.4 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.1538, allocations: 2.857 MB / 284.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.1575, allocations: 2.489 MB / 286.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.1577, allocations: 241.4 kB / 287 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003905/0.1616, allocations: 2.884 MB / 289.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003255/0.1648, allocations: 1.255 MB / 291.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1649, allocations: 0 / 291.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Templates: time 0.05143/0.2163, allocations: 44.5 MB / 335.6 MB, free: 1.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (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_cvode && ../Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat -s cvode) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_dassl.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_dassl.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_dassl.sim & (cd run_dassl && ../Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_dassl_res.mat -s dassl) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_dassl_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_gbode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_gbode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_gbode.sim & (cd run_gbode && ../Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_gbode_res.mat -s gbode -gbm=radauIIA3) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_gbode_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_ida.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_ida.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_ida.sim & (cd run_ida && ../Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_ida_res.mat -s ida) > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_ida_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.390424594283104]