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.001491/0.001491, allocations: 80.88 kB / 20.8 MB, free: 3.656 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.001601/0.001601, allocations: 165 kB / 24.22 MB, free: 244 kB / 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.003/1.003, allocations: 177.2 MB / 204.7 MB, free: 5.43 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.02516/0.02516, allocations: 7.112 MB / 268.3 MB, free: 5.883 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.312e-06/1.312e-06, allocations: 0 / 287.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.334e-05, allocations: 6.25 kB / 287.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestNIC): time 0.1058/0.1058, allocations: 3.472 MB / 290.7 MB, free: 19.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1074, allocations: 1.056 MB / 291.8 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.1076, allocations: 10.41 kB / 291.8 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.1079, allocations: 132.3 kB / 291.9 MB, free: 19.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.1082, allocations: 147 kB / 292.1 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1084, allocations: 125.7 kB / 292.2 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.1089, allocations: 0.5594 MB / 292.8 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.1091, allocations: 130 kB / 292.9 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.1094, allocations: 313.4 kB / 293.2 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1096, allocations: 180 kB / 293.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.367e-05/0.1097, allocations: 59.03 kB / 293.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.809e-05/0.1098, allocations: 59.47 kB / 293.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.1099, allocations: 113 kB / 293.6 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.11, allocations: 171.7 kB / 293.8 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.1104, allocations: 362.6 kB / 294.1 MB, free: 18.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1104, allocations: 0 / 294.1 MB, free: 18.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1104, allocations: 2.281 kB / 294.1 MB, free: 18.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1104, allocations: 1.812 kB / 294.1 MB, free: 18.45 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.0007977/0.1112, allocations: 0.6611 MB / 294.8 MB, free: 17.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.1112, allocations: 9.328 kB / 294.8 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.649e-05/0.1113, allocations: 57.62 kB / 294.9 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1116, allocations: 222.9 kB / 295.1 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.1116, allocations: 25.53 kB / 295.1 MB, free: 17.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.1116, allocations: 36.53 kB / 295.1 MB, free: 17.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.112, allocations: 410.2 kB / 295.5 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.112, allocations: 1.594 kB / 295.5 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.112, allocations: 19.81 kB / 295.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.112, allocations: 8.875 kB / 295.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.1122, allocations: 79.77 kB / 295.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/0.1131, allocations: 0.8626 MB / 296.5 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1133, allocations: 138 kB / 296.6 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1135, allocations: 106.4 kB / 296.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1135, allocations: 4.031 kB / 296.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.1137, allocations: 215.7 kB / 297 MB, free: 16.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.1137, allocations: 0 / 297 MB, free: 16.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005472/0.1142, allocations: 273.1 kB / 297.2 MB, free: 16.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1142, allocations: 198.7 kB / 297.4 MB, free: 16.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1144, allocations: 263.8 kB / 297.7 MB, free: 16.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1144, allocations: 32.23 kB / 297.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.1145, allocations: 201 kB / 297.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.1145, allocations: 74.53 kB / 298 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.1146, allocations: 53.06 kB / 298 MB, free: 15.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.1146, allocations: 342.6 kB / 298.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.1147, allocations: 52.19 kB / 298.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.1148, allocations: 259.1 kB / 298.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1149, allocations: 137.4 kB / 298.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1149, allocations: 0 / 298.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002624/0.1151, allocations: 262.1 kB / 299.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.1152, allocations: 33.27 kB / 299.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1152, allocations: 1.406 kB / 299.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/0.1154, allocations: 88.33 kB / 299.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1155, allocations: 50.33 kB / 299.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009116/0.1165, allocations: 1.591 MB / 300.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1166, allocations: 49.86 kB / 300.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1166, allocations: 13.47 kB / 300.9 MB, free: 13.6 MB / 266.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 7.586e-05/0.1167, allocations: 132.6 kB / 301 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.1167, allocations: 23.94 kB / 301 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.1167, allocations: 33.09 kB / 301.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1167, allocations: 2.984 kB / 301.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1168, allocations: 2.5 kB / 301.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1168, allocations: 5.266 kB / 301.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.1172, allocations: 433.7 kB / 301.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1172, allocations: 1.094 kB / 301.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/0.1173, allocations: 38.5 kB / 301.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.1175, allocations: 91.28 kB / 301.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1175, allocations: 1.719 kB / 301.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007194/0.1182, allocations: 1.58 MB / 303.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1182, allocations: 0 / 303.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1184, allocations: 265 kB / 303.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.1184, allocations: 32.94 kB / 303.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1185, allocations: 7.047 kB / 303.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1186, allocations: 33.3 kB / 303.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.1186, allocations: 32.05 kB / 303.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1186, allocations: 8.594 kB / 303.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.837e-05/0.1187, allocations: 100.3 kB / 303.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1187, allocations: 0 / 303.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.119, allocations: 106.8 kB / 303.8 MB, free: 11.48 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: 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 7.04e-05/0.1191, allocations: 86.56 kB / 303.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000323/0.1194, allocations: 332.3 kB / 304.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.1194, allocations: 3.094 kB / 304.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1195, allocations: 208 kB / 304.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.1198, allocations: 60.31 kB / 304.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.1206, allocations: 0.5999 MB / 305.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.1207, allocations: 96.59 kB / 305.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.683e-05/0.1207, allocations: 30.06 kB / 305.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.1209, allocations: 115.3 kB / 305.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1209, allocations: 0 / 305.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Templates: time 0.006281/0.1272, allocations: 5.641 MB / 310.9 MB, free: 7.297 MB / 266.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: 2.7260348023846745]