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.001336/0.001336, allocations: 104.4 kB / 19.71 MB, free: 440 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.001377/0.001377, allocations: 209.1 kB / 23 MB, free: 2.961 MB / 13.93 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.039/1.039, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.02908/0.02908, allocations: 9.554 MB / 322.7 MB, free: 8.469 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: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.89 kB / 449.1 MB, free: 38.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08397/0.08548, allocations: 55.78 MB / 0.493 GB, free: 14.13 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestNIC): time 0.003454/0.08893, allocations: 3.237 MB / 0.4962 GB, free: 10.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.09005, allocations: 0.9969 MB / 0.4972 GB, free: 9.871 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.0902, allocations: 7.938 kB / 0.4972 GB, free: 9.863 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.09053, allocations: 131 kB / 0.4973 GB, free: 9.734 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.09068, allocations: 130.9 kB / 0.4974 GB, free: 9.605 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.0909, allocations: 135.8 kB / 0.4975 GB, free: 9.473 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.0913, allocations: 0.541 MB / 0.4981 GB, free: 8.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.09151, allocations: 126.5 kB / 0.4982 GB, free: 8.801 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.09166, allocations: 207.2 kB / 0.4984 GB, free: 8.598 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.09183, allocations: 191.1 kB / 0.4986 GB, free: 8.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.09188, allocations: 60 kB / 0.4986 GB, free: 8.352 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.09193, allocations: 60 kB / 0.4987 GB, free: 8.293 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.092, allocations: 111.6 kB / 0.4988 GB, free: 8.184 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.09213, allocations: 199.2 kB / 0.499 GB, free: 7.988 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.09252, allocations: 0.5761 MB / 0.4995 GB, free: 7.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.09252, allocations: 0 / 0.4995 GB, free: 7.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.09252, allocations: 4 kB / 0.4996 GB, free: 7.406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.09253, allocations: 3.938 kB / 0.4996 GB, free: 7.402 MB / 362.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.001072/0.0936, allocations: 0.7027 MB / 0.5002 GB, free: 6.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.09364, allocations: 8.031 kB / 0.5002 GB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.09371, allocations: 56.66 kB / 0.5003 GB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.09405, allocations: 301.2 kB / 0.5006 GB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.09407, allocations: 25.03 kB / 0.5006 GB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.09411, allocations: 36.12 kB / 0.5006 GB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.09465, allocations: 0.5101 MB / 0.5011 GB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.09466, allocations: 4 kB / 0.5012 GB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.09468, allocations: 16 kB / 0.5012 GB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.09469, allocations: 8 kB / 0.5012 GB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.09517, allocations: 322.3 kB / 0.5015 GB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.09645, allocations: 1.128 MB / 0.5026 GB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.09696, allocations: 282.6 kB / 0.5029 GB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.0973, allocations: 192.7 kB / 0.503 GB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.09732, allocations: 7.938 kB / 0.503 GB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.09765, allocations: 294.9 kB / 0.5033 GB, free: 3.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.09765, allocations: 4 kB / 0.5033 GB, free: 3.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001139/0.09879, allocations: 0.545 MB / 0.5039 GB, free: 2.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.09887, allocations: 183.9 kB / 0.504 GB, free: 2.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.0991, allocations: 316.2 kB / 0.5043 GB, free: 2.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.09913, allocations: 33.7 kB / 0.5044 GB, free: 2.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.09923, allocations: 232.2 kB / 0.5046 GB, free: 1.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.09927, allocations: 71.42 kB / 0.5047 GB, free: 1.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.09934, allocations: 57.66 kB / 0.5047 GB, free: 1.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.09942, allocations: 342.7 kB / 0.505 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.09963, allocations: 149.6 kB / 0.5052 GB, free: 1.316 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.09991, allocations: 355.4 kB / 0.5055 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.1003, allocations: 281.8 kB / 0.5058 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1003, allocations: 0 / 0.5058 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006296/0.1009, allocations: 473.3 kB / 0.5062 GB, free: 124 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.101, allocations: 37.83 kB / 0.5063 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.101, allocations: 4 kB / 0.5063 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.1012, allocations: 84.83 kB / 0.5064 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1014, allocations: 47.84 kB / 0.5064 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.1032, allocations: 1.965 MB / 0.5083 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1033, allocations: 59.92 kB / 0.5084 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1034, allocations: 12 kB / 0.5084 GB, free: 13.8 MB / 378.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.0001273/0.1035, allocations: 169.9 kB / 0.5086 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1035, allocations: 39.8 kB / 0.5086 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.1036, allocations: 34.39 kB / 0.5086 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1036, allocations: 4 kB / 0.5086 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1036, allocations: 0 / 0.5086 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1036, allocations: 0 / 0.5086 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008257/0.1044, allocations: 0.7136 MB / 0.5093 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1044, allocations: 0 / 0.5093 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1045, allocations: 35.95 kB / 0.5094 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.1047, allocations: 92.89 kB / 0.5095 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1047, allocations: 8 kB / 0.5095 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.106, allocations: 1.936 MB / 0.5114 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.106, allocations: 3.938 kB / 0.5114 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.1066, allocations: 455.8 kB / 0.5118 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.1066, allocations: 39.73 kB / 0.5118 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1066, allocations: 7.938 kB / 0.5118 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1068, allocations: 51.94 kB / 0.5119 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.1069, allocations: 31.89 kB / 0.5119 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1069, allocations: 4.062 kB / 0.5119 GB, free: 10.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1071, allocations: 231 kB / 0.5121 GB, free: 9.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1071, allocations: 0 / 0.5121 GB, free: 9.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000298/0.1073, allocations: 103.8 kB / 0.5122 GB, free: 9.684 MB / 378.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.374e-05/0.1074, allocations: 111.2 kB / 0.5123 GB, free: 9.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006756/0.1081, allocations: 491.4 kB / 0.5128 GB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1081, allocations: 3.938 kB / 0.5128 GB, free: 9.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.1084, allocations: 274.7 kB / 0.5131 GB, free: 8.766 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.1087, allocations: 52.55 kB / 0.5131 GB, free: 8.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009551/0.1097, allocations: 0.6728 MB / 0.5138 GB, free: 8.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1099, allocations: 185.1 kB / 0.514 GB, free: 7.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.11, allocations: 23.44 kB / 0.514 GB, free: 7.789 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.11, allocations: 0 / 0.514 GB, free: 7.789 MB / 378.7 MB Notification: Performance of Templates: time 0.008652/0.1187, allocations: 6.332 MB / 0.5202 GB, free: 1.48 MB / 378.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: 5.161893635056913]