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.0009994/0.0009994, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.001065/0.001065, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9582/0.9582, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02696/0.02696, allocations: 7.108 MB / 267.1 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 1.903e-06/1.903e-06, allocations: 0 / 393.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.74e-05/3.93e-05, allocations: 2.281 kB / 393.5 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestNIC): time 0.004914/0.004953, allocations: 3.239 MB / 396.7 MB, free: 268 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.006888, allocations: 1.005 MB / 397.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.007151, allocations: 7.938 kB / 397.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.007603, allocations: 131 kB / 397.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.007882, allocations: 138.8 kB / 398 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.008232, allocations: 131.8 kB / 398.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.00888, allocations: 0.564 MB / 398.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.009142, allocations: 122.5 kB / 398.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.009543, allocations: 319.2 kB / 399.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.009785, allocations: 171.5 kB / 399.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.009865, allocations: 60 kB / 399.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.009938, allocations: 56 kB / 399.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.01002, allocations: 103.7 kB / 399.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.01021, allocations: 171.6 kB / 399.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.01082, allocations: 0.5882 MB / 400.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.01082, allocations: 0 / 400.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.01082, allocations: 0 / 400.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.01084, allocations: 0 / 400.2 MB, free: 12.7 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.001319/0.01215, allocations: 0.7066 MB / 401 MB, free: 11.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.0122, allocations: 8.031 kB / 401 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.0123, allocations: 56.66 kB / 401 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.01277, allocations: 288.5 kB / 401.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.0128, allocations: 29.02 kB / 401.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.01285, allocations: 32.38 kB / 401.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007966/0.01365, allocations: 0.5145 MB / 401.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.01366, allocations: 3.938 kB / 401.9 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.0137, allocations: 16 kB / 401.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.01371, allocations: 8 kB / 401.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/0.01441, allocations: 318.4 kB / 402.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.01632, allocations: 1.129 MB / 403.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.01703, allocations: 286.6 kB / 403.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.0175, allocations: 189.1 kB / 403.8 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.01753, allocations: 0 / 403.8 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/0.018, allocations: 310.8 kB / 404.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.914e-06/0.018, allocations: 0 / 404.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.00165/0.01965, allocations: 0.5447 MB / 404.6 MB, free: 8.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.01973, allocations: 183.9 kB / 404.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.02001, allocations: 324.1 kB / 405.1 MB, free: 7.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.02004, allocations: 33.7 kB / 405.2 MB, free: 7.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.02016, allocations: 224.3 kB / 405.4 MB, free: 7.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.02019, allocations: 71.42 kB / 405.5 MB, free: 7.188 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.02027, allocations: 57.66 kB / 405.5 MB, free: 7.125 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.02036, allocations: 338.8 kB / 405.9 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.02059, allocations: 145.6 kB / 406 MB, free: 6.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.02086, allocations: 351.5 kB / 406.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.02124, allocations: 294.3 kB / 406.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.02124, allocations: 0 / 406.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006385/0.02188, allocations: 481.2 kB / 407.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.02191, allocations: 36.52 kB / 407.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.02192, allocations: 0 / 407.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.02219, allocations: 84.91 kB / 407.2 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.02233, allocations: 51.89 kB / 407.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.02398, allocations: 1.959 MB / 409.2 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.02417, allocations: 71.91 kB / 409.3 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.02418, allocations: 8 kB / 409.3 MB, free: 3.105 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.0001437/0.02433, allocations: 157.8 kB / 409.5 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.02436, allocations: 31.81 kB / 409.5 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.02439, allocations: 42.33 kB / 409.5 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02439, allocations: 8 kB / 409.5 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.0244, allocations: 3.984 kB / 409.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.0244, allocations: 0 / 409.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008138/0.02521, allocations: 0.7244 MB / 410.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.02522, allocations: 0 / 410.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.028e-05/0.02531, allocations: 31.97 kB / 410.3 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.02547, allocations: 80.78 kB / 410.4 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.02548, allocations: 8 kB / 410.4 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1414/0.1669, allocations: 1.946 MB / 412.3 MB, free: 29.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1669, allocations: 0 / 412.3 MB, free: 29.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.1676, allocations: 456.5 kB / 412.8 MB, free: 29.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.1677, allocations: 36.83 kB / 412.8 MB, free: 29.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.1677, allocations: 10.61 kB / 412.8 MB, free: 29.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.1679, allocations: 38.47 kB / 412.9 MB, free: 29.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.168, allocations: 30.36 kB / 412.9 MB, free: 29.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.168, allocations: 15.91 kB / 412.9 MB, free: 29.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000188/0.1682, allocations: 227.4 kB / 413.1 MB, free: 29.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1682, allocations: 1.062 kB / 413.1 MB, free: 29.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000375/0.1685, allocations: 104.3 kB / 413.2 MB, free: 29.54 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 9.701e-05/0.1686, allocations: 102.1 kB / 413.3 MB, free: 29.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007173/0.1693, allocations: 499.1 kB / 413.8 MB, free: 29.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1693, allocations: 1.188 kB / 413.8 MB, free: 29.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.1696, allocations: 268.5 kB / 414.1 MB, free: 29.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1699, allocations: 47.5 kB / 414.1 MB, free: 29.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009756/0.1709, allocations: 0.6644 MB / 414.8 MB, free: 28.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.171, allocations: 183.6 kB / 415 MB, free: 28.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.1711, allocations: 25.67 kB / 415 MB, free: 28.73 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1711, allocations: 0 / 415 MB, free: 28.73 MB / 330.7 MB Notification: Performance of Templates: time 0.007549/0.1787, allocations: 6.331 MB / 421.3 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 > ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7548595680855215]