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.00127/0.00127, allocations: 81.14 kB / 19.87 MB, free: 4.625 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.001002/0.001002, allocations: 173 kB / 23.27 MB, free: 1.23 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.9893/0.9893, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.03483/0.03483, allocations: 7.128 MB / 267.4 MB, free: 5.91 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.654e-06/2.654e-06, allocations: 4 kB / 339.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.959e-05, allocations: 2.312 kB / 339.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestNIC): time 0.004326/0.004355, allocations: 3.438 MB / 342.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.005929, allocations: 1.036 MB / 344 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.006121, allocations: 7.938 kB / 344 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.00647, allocations: 127 kB / 344.1 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.006684, allocations: 138.8 kB / 344.3 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.006946, allocations: 143.7 kB / 344.4 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.007388, allocations: 0.5564 MB / 344.9 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.007602, allocations: 118.5 kB / 345.1 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.007928, allocations: 315.3 kB / 345.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.008142, allocations: 175.5 kB / 345.5 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.008204, allocations: 56 kB / 345.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.103e-05/0.008255, allocations: 60 kB / 345.7 MB, free: 4.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.008322, allocations: 115.6 kB / 345.8 MB, free: 4.387 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.008441, allocations: 167.6 kB / 345.9 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.008772, allocations: 362.7 kB / 346.3 MB, free: 3.867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.008775, allocations: 0 / 346.3 MB, free: 3.867 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.008777, allocations: 7.984 kB / 346.3 MB, free: 3.859 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.008783, allocations: 0 / 346.3 MB, free: 3.859 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001212/0.009995, allocations: 0.787 MB / 347.1 MB, free: 3.023 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.01004, allocations: 16.03 kB / 347.1 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.01012, allocations: 72.66 kB / 347.2 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.01042, allocations: 291.3 kB / 347.5 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.01045, allocations: 21.03 kB / 347.5 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.01048, allocations: 36.38 kB / 347.5 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.01086, allocations: 412 kB / 347.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01087, allocations: 3.938 kB / 347.9 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.01089, allocations: 16 kB / 347.9 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.0109, allocations: 12 kB / 347.9 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.01103, allocations: 96.48 kB / 348 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.01214, allocations: 1.074 MB / 349.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.01236, allocations: 151.1 kB / 349.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.01253, allocations: 111.6 kB / 349.4 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.01255, allocations: 8 kB / 349.4 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.01279, allocations: 235.7 kB / 349.6 MB, free: 304 kB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.0128, allocations: 0 / 349.6 MB, free: 304 kB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006567/0.01345, allocations: 317.1 kB / 349.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.01352, allocations: 191.9 kB / 350.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.01373, allocations: 338.1 kB / 350.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.01375, allocations: 29.7 kB / 350.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.01388, allocations: 271 kB / 350.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.01392, allocations: 79.39 kB / 350.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.01399, allocations: 55.34 kB / 350.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.01414, allocations: 0.5078 MB / 351.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.0142, allocations: 61.67 kB / 351.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.01435, allocations: 287 kB / 351.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.01449, allocations: 160.6 kB / 351.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01449, allocations: 0 / 351.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003493/0.01484, allocations: 308.2 kB / 352.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.01487, allocations: 33.7 kB / 352.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01488, allocations: 0 / 352.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.01514, allocations: 95.72 kB / 352.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.01525, allocations: 47.91 kB / 352.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.01697, allocations: 2.28 MB / 354.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.01713, allocations: 51.83 kB / 354.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.01714, allocations: 7.938 kB / 354.7 MB, free: 10.86 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.0001112/0.01725, allocations: 172.6 kB / 354.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.01729, allocations: 39.81 kB / 354.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.01732, allocations: 34.39 kB / 354.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01733, allocations: 0 / 354.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.01733, allocations: 3.938 kB / 354.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01733, allocations: 3.984 kB / 354.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.01784, allocations: 0.563 MB / 355.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01784, allocations: 0 / 355.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.01791, allocations: 23.98 kB / 355.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/0.01811, allocations: 95.59 kB / 355.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.01812, allocations: 7.984 kB / 355.6 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.01918, allocations: 2.265 MB / 357.9 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01918, allocations: 4 kB / 357.9 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.01945, allocations: 355.8 kB / 358.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.01949, allocations: 39.73 kB / 358.3 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.01951, allocations: 8.062 kB / 358.3 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.01963, allocations: 36 kB / 358.3 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.01969, allocations: 31.89 kB / 358.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.0197, allocations: 4 kB / 358.3 MB, free: 6.992 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.0198, allocations: 226.9 kB / 358.6 MB, free: 6.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0198, allocations: 0 / 358.6 MB, free: 6.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.0201, allocations: 107.8 kB / 358.7 MB, free: 6.664 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.71e-05/0.0202, allocations: 103.8 kB / 358.8 MB, free: 6.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003703/0.02057, allocations: 397.7 kB / 359.2 MB, free: 6.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02057, allocations: 0 / 359.2 MB, free: 6.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.02075, allocations: 268.5 kB / 359.4 MB, free: 5.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.02101, allocations: 56.61 kB / 359.5 MB, free: 5.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/0.02191, allocations: 0.5926 MB / 360.1 MB, free: 5.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.761e-05/0.02197, allocations: 100.6 kB / 360.2 MB, free: 5.055 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.975e-05/0.02205, allocations: 22.97 kB / 360.2 MB, free: 5.027 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.02221, allocations: 142.2 kB / 360.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02221, allocations: 0 / 360.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of Templates: time 0.007811/0.03002, allocations: 5.798 MB / 366.1 MB, free: 15.2 MB / 346.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.0707684829831123]