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.00116/0.00116, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 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.0008731/0.0008731, allocations: 216.7 kB / 22.25 MB, free: 3.582 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 0.9779/0.9779, allocations: 230.6 MB / 256 MB, free: 9.582 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.03588/0.03588, allocations: 9.563 MB / 322 MB, free: 8.441 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: "" <> buildModelFMU(ChaoticCircuits.Test.TestNIC,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestNIC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestNIC,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestNIC",fmuType="me",version="2.0",platforms={"static"}) [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.001021/0.001021, allocations: 67.89 kB / 448.6 MB, free: 37.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08035/0.08137, allocations: 55.78 MB / 0.4926 GB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestNIC): time 0.003633/0.085, allocations: 3.225 MB / 0.4957 GB, free: 10.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.08639, allocations: 1.005 MB / 0.4967 GB, free: 9.566 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.08655, allocations: 4 kB / 0.4967 GB, free: 9.562 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.08689, allocations: 127 kB / 0.4968 GB, free: 9.438 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.08705, allocations: 135 kB / 0.4969 GB, free: 9.305 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.08729, allocations: 139.8 kB / 0.4971 GB, free: 9.168 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004054/0.08769, allocations: 0.5371 MB / 0.4976 GB, free: 8.629 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.08789, allocations: 126.5 kB / 0.4977 GB, free: 8.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.08806, allocations: 207.2 kB / 0.4979 GB, free: 8.297 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.08824, allocations: 199 kB / 0.4981 GB, free: 8.102 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/0.08829, allocations: 56 kB / 0.4982 GB, free: 8.047 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.08834, allocations: 64 kB / 0.4982 GB, free: 7.984 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.08842, allocations: 111.6 kB / 0.4983 GB, free: 7.875 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.08855, allocations: 191.2 kB / 0.4985 GB, free: 7.688 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.08897, allocations: 0.576 MB / 0.4991 GB, free: 7.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.08898, allocations: 8 kB / 0.4991 GB, free: 7.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.08898, allocations: 0 / 0.4991 GB, free: 7.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.08899, allocations: 0 / 0.4991 GB, free: 7.102 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.001088/0.09008, allocations: 0.7027 MB / 0.4998 GB, free: 6.363 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.09012, allocations: 12.03 kB / 0.4998 GB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.09018, allocations: 66.72 kB / 0.4998 GB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.09024, allocations: 48.66 kB / 0.4999 GB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.09064, allocations: 305.2 kB / 0.5002 GB, free: 5.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.09066, allocations: 25.03 kB / 0.5002 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.0907, allocations: 39.94 kB / 0.5002 GB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.09126, allocations: 0.514 MB / 0.5008 GB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.09127, allocations: 0 / 0.5008 GB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.0913, allocations: 19.94 kB / 0.5008 GB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.09131, allocations: 8 kB / 0.5008 GB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.0918, allocations: 322.4 kB / 0.5011 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.09319, allocations: 1.182 MB / 0.5022 GB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.09372, allocations: 290.5 kB / 0.5025 GB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.09405, allocations: 192.7 kB / 0.5027 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.09408, allocations: 0 / 0.5027 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.09443, allocations: 291.8 kB / 0.503 GB, free: 2.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 9.82e-07/0.09443, allocations: 0 / 0.503 GB, free: 2.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001152/0.09558, allocations: 0.5598 MB / 0.5035 GB, free: 2.301 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.09566, allocations: 183.9 kB / 0.5037 GB, free: 2.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.09593, allocations: 328.5 kB / 0.504 GB, free: 1.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.09595, allocations: 33.64 kB / 0.504 GB, free: 1.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.09607, allocations: 228.3 kB / 0.5043 GB, free: 1.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.09611, allocations: 67.42 kB / 0.5043 GB, free: 1.414 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.09618, allocations: 57.66 kB / 0.5044 GB, free: 1.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.09628, allocations: 346.7 kB / 0.5047 GB, free: 1.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.09649, allocations: 149.6 kB / 0.5049 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.09677, allocations: 355.5 kB / 0.5052 GB, free: 448 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.09715, allocations: 281.8 kB / 0.5055 GB, free: 144 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.09715, allocations: 0 / 0.5055 GB, free: 144 kB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006571/0.09781, allocations: 477.4 kB / 0.5059 GB, free: 15.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.09784, allocations: 37.69 kB / 0.506 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.09785, allocations: 4 kB / 0.506 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.0981, allocations: 80.8 kB / 0.506 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.09824, allocations: 51.89 kB / 0.5061 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.1001, allocations: 1.978 MB / 0.508 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1003, allocations: 63.98 kB / 0.5081 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.1004, allocations: 15.98 kB / 0.5081 GB, free: 13.3 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.0001489/0.1005, allocations: 177.8 kB / 0.5083 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.1005, allocations: 27.81 kB / 0.5083 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.1006, allocations: 34.41 kB / 0.5083 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1006, allocations: 4 kB / 0.5083 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1006, allocations: 0 / 0.5083 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1006, allocations: 0 / 0.5083 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009252/0.1015, allocations: 0.7677 MB / 0.5091 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1015, allocations: 0 / 0.5091 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1016, allocations: 47.83 kB / 0.5091 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.1018, allocations: 80.78 kB / 0.5092 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1018, allocations: 8 kB / 0.5092 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.1034, allocations: 1.962 MB / 0.5111 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1034, allocations: 4.062 kB / 0.5111 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.104, allocations: 459.7 kB / 0.5116 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.1041, allocations: 35.75 kB / 0.5116 GB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1041, allocations: 11.98 kB / 0.5116 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.1043, allocations: 43.89 kB / 0.5117 GB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.1043, allocations: 27.95 kB / 0.5117 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1044, allocations: 4 kB / 0.5117 GB, free: 9.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.1045, allocations: 243 kB / 0.5119 GB, free: 9.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1045, allocations: 0 / 0.5119 GB, free: 9.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003612/0.1049, allocations: 111.8 kB / 0.512 GB, free: 9.066 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 0.0007671/0.1057, allocations: 0.9882 MB / 0.513 GB, free: 8.047 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008308/0.1065, allocations: 490.3 kB / 0.5135 GB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1065, allocations: 4.25 kB / 0.5135 GB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.1068, allocations: 270.5 kB / 0.5137 GB, free: 7.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1071, allocations: 64.83 kB / 0.5138 GB, free: 7.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.1108, allocations: 3.618 MB / 0.5173 GB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.1109, allocations: 185.1 kB / 0.5175 GB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.111, allocations: 26.97 kB / 0.5175 GB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.1112, allocations: 107.4 kB / 0.5176 GB, free: 3.094 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1112, allocations: 0 / 0.5176 GB, free: 3.094 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08927/0.2005, allocations: 9.547 MB / 0.5269 GB, free: 9.754 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.223, allocations: 6.234 kB / 0.5269 GB, free: 9.754 MB / 394.7 MB " [Timeout remaining time 652] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestNIC_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestNIC.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ChaoticCircuits_ChaoticCircuits_Test_TestNIC.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.718194936402142]