Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestNIC.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.001775/0.001775, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001958/0.001958, allocations: 165.9 kB / 22.45 MB, free: 2.105 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 1.554/1.554, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.0475/0.0475, allocations: 7.113 MB / 266.3 MB, free: 6.254 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo) 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(ChaoticCircuits.Test.TestNIC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestNIC") translateModel(ChaoticCircuits.Test.TestNIC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestNIC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 393.5 MB, free: 2.734 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.698e-05/3.926e-05, allocations: 2.281 kB / 393.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestNIC): time 0.005413/0.005453, allocations: 3.24 MB / 396.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.007524, allocations: 1.016 MB / 397.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.007713, allocations: 11.94 kB / 397.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.008141, allocations: 123 kB / 397.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.008414, allocations: 142.8 kB / 398 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.008747, allocations: 127.8 kB / 398.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007668/0.009514, allocations: 0.5563 MB / 398.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003061/0.00982, allocations: 134.4 kB / 398.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.01028, allocations: 303.3 kB / 399.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.01056, allocations: 175.5 kB / 399.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.542e-05/0.01066, allocations: 56 kB / 399.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.01076, allocations: 60 kB / 399.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004241/0.01119, allocations: 111.6 kB / 399.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.01141, allocations: 163.7 kB / 399.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007744/0.01219, allocations: 0.5959 MB / 400.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.01219, allocations: 0 / 400.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01219, allocations: 0 / 400.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.0122, allocations: 4 kB / 400.3 MB, free: 11.9 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001539/0.01374, allocations: 0.6949 MB / 401 MB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.01379, allocations: 16.03 kB / 401 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.0139, allocations: 44.66 kB / 401 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.01441, allocations: 300.5 kB / 401.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.01444, allocations: 21.03 kB / 401.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.0145, allocations: 32.38 kB / 401.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009521/0.01545, allocations: 0.5145 MB / 401.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.01547, allocations: 7.938 kB / 401.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.01551, allocations: 16 kB / 401.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.01552, allocations: 8 kB / 401.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/0.0164, allocations: 318.4 kB / 402.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.01865, allocations: 1.129 MB / 403.4 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008853/0.01953, allocations: 290.5 kB / 403.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.02013, allocations: 185.1 kB / 403.8 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.02016, allocations: 4 kB / 403.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005941/0.02075, allocations: 302.8 kB / 404.1 MB, free: 7.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.02075, allocations: 4 kB / 404.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001978/0.02273, allocations: 0.5486 MB / 404.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.02286, allocations: 183.9 kB / 404.8 MB, free: 7.043 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.02327, allocations: 316.2 kB / 405.2 MB, free: 6.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.0233, allocations: 29.7 kB / 405.2 MB, free: 6.691 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.02349, allocations: 232.3 kB / 405.4 MB, free: 6.461 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.02357, allocations: 63.44 kB / 405.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.02368, allocations: 57.66 kB / 405.5 MB, free: 6.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.02387, allocations: 338.8 kB / 405.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.02425, allocations: 145.6 kB / 406 MB, free: 5.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.02479, allocations: 359.4 kB / 406.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009406/0.02574, allocations: 294.4 kB / 406.6 MB, free: 5.121 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.02574, allocations: 0 / 406.6 MB, free: 5.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001153/0.02689, allocations: 473.2 kB / 407.1 MB, free: 4.637 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.02693, allocations: 33.7 kB / 407.1 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.02694, allocations: 4.125 kB / 407.1 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.02733, allocations: 88.77 kB / 407.2 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.0276, allocations: 55.89 kB / 407.3 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.03033, allocations: 1.959 MB / 409.2 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.03071, allocations: 63.78 kB / 409.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.03073, allocations: 8 kB / 409.3 MB, free: 2.312 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (improvedNIC.opAmp.limiter.satNeg,improvedNIC.opAmp.limiter.satPos,source.signalSource.count,$PRE.source.signalSource.count,source.signalSource.T_start,$PRE.source.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.03093, allocations: 157.8 kB / 409.5 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.03099, allocations: 35.81 kB / 409.5 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.03105, allocations: 34.33 kB / 409.5 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.03106, allocations: 4 kB / 409.5 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.03106, allocations: 0 / 409.5 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.03106, allocations: 3.984 kB / 409.5 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.03256, allocations: 0.7243 MB / 410.3 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.03256, allocations: 7.938 kB / 410.3 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.0328, allocations: 35.95 kB / 410.3 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004222/0.03322, allocations: 84.78 kB / 410.4 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.03325, allocations: 7.984 kB / 410.4 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1936/0.2269, allocations: 1.939 MB / 412.3 MB, free: 29.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2269, allocations: 2.297 kB / 412.3 MB, free: 29.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.2279, allocations: 454.9 kB / 412.8 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.228, allocations: 40.83 kB / 412.8 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.228, allocations: 8.5 kB / 412.8 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.2283, allocations: 42.72 kB / 412.9 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.2285, allocations: 28.59 kB / 412.9 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.2285, allocations: 8.047 kB / 412.9 MB, free: 29.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002283/0.2287, allocations: 230.6 kB / 413.1 MB, free: 29.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2287, allocations: 0 / 413.1 MB, free: 29.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004734/0.2292, allocations: 105.1 kB / 413.2 MB, free: 29.26 MB / 330.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: 5 ($whenCondition1,source.signalSource.T_start,source.signalSource.count,improvedNIC.opAmp.limiter.satPos,improvedNIC.opAmp.limiter.satNeg) * Number of discrete states: 1 (source.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/0.2293, allocations: 102.8 kB / 413.3 MB, free: 29.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009844/0.2303, allocations: 493.7 kB / 413.8 MB, free: 28.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2303, allocations: 1.281 kB / 413.8 MB, free: 28.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.2308, allocations: 271.8 kB / 414.1 MB, free: 28.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.2312, allocations: 56.14 kB / 414.1 MB, free: 28.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.2325, allocations: 0.6341 MB / 414.8 MB, free: 28.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.2327, allocations: 179.1 kB / 415 MB, free: 28.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.2328, allocations: 29.7 kB / 415 MB, free: 28.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.2329, allocations: 24.75 kB / 415 MB, free: 28.38 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2329, allocations: 1.219 kB / 415 MB, free: 28.38 MB / 330.7 MB Notification: Performance of Templates: time 0.01174/0.2446, allocations: 5.353 MB / 420.4 MB, free: 27.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.TestNIC.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestNIC.sim & ./ChaoticCircuits_ChaoticCircuits.Test.TestNIC -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.552869599312544]