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.00142/0.00142, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 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.001606/0.001606, allocations: 169 kB / 23.02 MB, free: 1.551 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.041/1.041, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.03385/0.03385, allocations: 7.115 MB / 267.1 MB, free: 6.059 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.573e-06/1.573e-06, allocations: 0 / 339.1 MB, free: 9.902 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.621e-05, allocations: 6.25 kB / 339.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestNIC): time 0.003478/0.003504, allocations: 3.474 MB / 342.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.005045, allocations: 1.028 MB / 343.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.005295, allocations: 11.94 kB / 343.6 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.005755, allocations: 127 kB / 343.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.005984, allocations: 142.8 kB / 343.8 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.006397, allocations: 135.7 kB / 344 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.006897, allocations: 0.5525 MB / 344.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.007117, allocations: 122.5 kB / 344.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.007363, allocations: 311.3 kB / 345 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.007556, allocations: 179.5 kB / 345.1 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.007616, allocations: 64 kB / 345.2 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.476e-05/0.007661, allocations: 60 kB / 345.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.007737, allocations: 111.6 kB / 345.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.007876, allocations: 167.6 kB / 345.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.008266, allocations: 354.9 kB / 345.9 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.008273, allocations: 0 / 345.9 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.008276, allocations: 7.984 kB / 345.9 MB, free: 3.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.008293, allocations: 3.938 kB / 345.9 MB, free: 3.039 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009311/0.009224, allocations: 0.7832 MB / 346.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.009273, allocations: 12.03 kB / 346.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.009393, allocations: 72.66 kB / 346.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.009759, allocations: 295.3 kB / 347 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.009797, allocations: 21.03 kB / 347.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.00984, allocations: 40.38 kB / 347.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.01034, allocations: 436.1 kB / 347.5 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.01036, allocations: 3.938 kB / 347.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.01039, allocations: 16 kB / 347.5 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.0104, allocations: 8 kB / 347.5 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.01062, allocations: 124.5 kB / 347.7 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.01194, allocations: 1.128 MB / 348.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.01228, allocations: 163.2 kB / 349 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.01253, allocations: 119.6 kB / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.01255, allocations: 4 kB / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.01282, allocations: 239 kB / 349.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.674e-06/0.01282, allocations: 0 / 349.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008828/0.01371, allocations: 356.3 kB / 349.7 MB, free: 15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.01382, allocations: 187.9 kB / 349.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.01413, allocations: 346.2 kB / 350.2 MB, free: 14.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.01417, allocations: 29.7 kB / 350.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.01434, allocations: 275 kB / 350.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.01439, allocations: 67.42 kB / 350.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.01447, allocations: 59.36 kB / 350.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.01464, allocations: 0.5079 MB / 351.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.972e-05/0.01474, allocations: 73.67 kB / 351.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.01492, allocations: 303.7 kB / 351.5 MB, free: 13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.0151, allocations: 166.4 kB / 351.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01511, allocations: 0 / 351.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004373/0.01554, allocations: 329 kB / 352 MB, free: 12.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.01559, allocations: 33.7 kB / 352 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.0156, allocations: 4 kB / 352 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.01598, allocations: 95.58 kB / 352.1 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01611, allocations: 51.91 kB / 352.1 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.01794, allocations: 2.307 MB / 354.4 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.01813, allocations: 51.75 kB / 354.5 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.01815, allocations: 11.98 kB / 354.5 MB, free: 9.777 MB / 282.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.0001372/0.01829, allocations: 176.6 kB / 354.7 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.01833, allocations: 39.73 kB / 354.7 MB, free: 9.555 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.01837, allocations: 42.36 kB / 354.8 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01837, allocations: 4 kB / 354.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01838, allocations: 0 / 354.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01838, allocations: 0 / 354.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.01904, allocations: 0.6143 MB / 355.4 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01904, allocations: 128 / 355.4 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.36e-05/0.01913, allocations: 39.97 kB / 355.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/0.01937, allocations: 95.53 kB / 355.5 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.01939, allocations: 4 kB / 355.5 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.02071, allocations: 2.3 MB / 357.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02071, allocations: 0 / 357.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.02105, allocations: 371.8 kB / 358.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.0211, allocations: 35.73 kB / 358.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.02112, allocations: 8.031 kB / 358.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.02124, allocations: 35.95 kB / 358.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.02132, allocations: 31.89 kB / 358.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.02133, allocations: 4 kB / 358.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001472/0.02147, allocations: 242.9 kB / 358.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02147, allocations: 0 / 358.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.02181, allocations: 111.7 kB / 358.6 MB, free: 5.434 MB / 282.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.0001022/0.02191, allocations: 101.9 kB / 358.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000474/0.02238, allocations: 417 kB / 359.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02238, allocations: 3.938 kB / 359.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.02258, allocations: 269.4 kB / 359.4 MB, free: 4.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.02289, allocations: 71.95 kB / 359.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.02405, allocations: 0.5982 MB / 360.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.577e-05/0.02414, allocations: 100.5 kB / 360.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.02426, allocations: 26.97 kB / 360.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.02433, allocations: 24.5 kB / 360.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.02434, allocations: 0 / 360.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of Templates: time 0.007906/0.03224, allocations: 5.678 MB / 365.9 MB, free: 14.13 MB / 298.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: 3.027481871191412]