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.001288/0.001288, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001498/0.001498, allocations: 177 kB / 23.36 MB, free: 1.133 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.024/1.024, allocations: 177.2 MB / 203.8 MB, free: 5.5 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.03539/0.03539, allocations: 7.119 MB / 267.4 MB, free: 5.965 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.593e-06/1.593e-06, allocations: 0 / 286.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.424e-05, allocations: 2.312 kB / 286.3 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestNIC): time 0.1192/0.1192, allocations: 3.479 MB / 289.8 MB, free: 19.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1209, allocations: 1.054 MB / 290.8 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.121, allocations: 9.969 kB / 290.8 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.1214, allocations: 130.1 kB / 291 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.1216, allocations: 148 kB / 291.1 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1219, allocations: 132.9 kB / 291.2 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.1224, allocations: 0.5533 MB / 291.8 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.1226, allocations: 130.9 kB / 291.9 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.1229, allocations: 315.3 kB / 292.2 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.1232, allocations: 182 kB / 292.4 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.934e-05/0.1233, allocations: 57.28 kB / 292.5 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.1234, allocations: 59.41 kB / 292.5 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.1235, allocations: 108.8 kB / 292.6 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.1237, allocations: 171.5 kB / 292.8 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.1241, allocations: 363.1 kB / 293.2 MB, free: 18.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1241, allocations: 0.75 kB / 293.2 MB, free: 18.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1241, allocations: 1.094 kB / 293.2 MB, free: 18.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1241, allocations: 2.406 kB / 293.2 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.00108/0.1252, allocations: 0.662 MB / 293.8 MB, free: 18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1253, allocations: 10.28 kB / 293.8 MB, free: 18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1254, allocations: 59.77 kB / 293.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1256, allocations: 217.8 kB / 294.1 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1256, allocations: 23.09 kB / 294.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.1257, allocations: 36.91 kB / 294.2 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.1261, allocations: 418.3 kB / 294.6 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1261, allocations: 1.156 kB / 294.6 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1261, allocations: 16.56 kB / 294.6 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.1261, allocations: 7.75 kB / 294.6 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.1263, allocations: 84.69 kB / 294.7 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1273, allocations: 0.8576 MB / 295.5 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.1275, allocations: 135 kB / 295.7 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1277, allocations: 103.4 kB / 295.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1277, allocations: 6.641 kB / 295.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.1279, allocations: 220.4 kB / 296 MB, free: 16.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.1279, allocations: 5.031 kB / 296 MB, free: 16.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006025/0.1285, allocations: 267.2 kB / 296.3 MB, free: 16.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.1285, allocations: 193.4 kB / 296.4 MB, free: 16.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1287, allocations: 268.3 kB / 296.7 MB, free: 16.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1287, allocations: 32.52 kB / 296.7 MB, free: 16.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.1288, allocations: 200.6 kB / 296.9 MB, free: 16.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.1288, allocations: 69.58 kB / 297 MB, free: 16.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.1289, allocations: 55.39 kB / 297.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.1289, allocations: 337.8 kB / 297.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/0.129, allocations: 55.58 kB / 297.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.517e-05/0.1291, allocations: 267.5 kB / 297.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1292, allocations: 135.9 kB / 297.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1292, allocations: 1.344 kB / 297.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002817/0.1295, allocations: 251.4 kB / 298.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1295, allocations: 33.11 kB / 298.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1295, allocations: 4.297 kB / 298.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.1298, allocations: 94.89 kB / 298.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.1299, allocations: 52.17 kB / 298.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009771/0.1309, allocations: 1.592 MB / 299.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.131, allocations: 45.06 kB / 299.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1311, allocations: 5.984 kB / 299.9 MB, free: 13.65 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.581e-05/0.1311, allocations: 135.7 kB / 300 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.1312, allocations: 27.56 kB / 300.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.1312, allocations: 37.33 kB / 300.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1312, allocations: 2.531 kB / 300.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1312, allocations: 1.406 kB / 300.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1312, allocations: 1.031 kB / 300.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.1316, allocations: 438.8 kB / 300.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1316, allocations: 0 / 300.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.903e-05/0.1317, allocations: 34.39 kB / 300.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.1319, allocations: 88.38 kB / 300.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1319, allocations: 7.047 kB / 300.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007574/0.1327, allocations: 1.577 MB / 302.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1327, allocations: 1.375 kB / 302.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1329, allocations: 262.5 kB / 302.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.133, allocations: 27.41 kB / 302.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.133, allocations: 10.88 kB / 302.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.1331, allocations: 34.52 kB / 302.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.1332, allocations: 38.03 kB / 302.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.1332, allocations: 2.875 kB / 302.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1333, allocations: 104.5 kB / 302.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1333, allocations: 0 / 302.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.1336, allocations: 110.5 kB / 302.8 MB, free: 11.53 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.785e-05/0.1337, allocations: 80.25 kB / 302.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.134, allocations: 332.2 kB / 303.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.134, allocations: 3 kB / 303.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.1342, allocations: 212.2 kB / 303.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1344, allocations: 67.69 kB / 303.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/0.1353, allocations: 0.5923 MB / 304.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.309e-05/0.1353, allocations: 94.97 kB / 304.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.973e-05/0.1354, allocations: 33.61 kB / 304.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.1356, allocations: 110.4 kB / 304.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1356, allocations: 1.375 kB / 304.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of Templates: time 0.00722/0.1428, allocations: 5.647 MB / 310 MB, free: 7.445 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9460787810385227]