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.0008865/0.0008865, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.00147/0.00147, allocations: 173 kB / 24.06 MB, free: 452 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 0.9416/0.9416, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.04878/0.04878, allocations: 7.118 MB / 268.2 MB, free: 5.898 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.633e-06/1.633e-06, allocations: 0 / 339.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.842e-05, allocations: 4.703 kB / 339.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestNIC): time 0.004665/0.004693, allocations: 3.435 MB / 342.9 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.006423, allocations: 1.032 MB / 344 MB, free: 6.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.006609, allocations: 11.94 kB / 344 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.007012, allocations: 127 kB / 344.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.007255, allocations: 142.8 kB / 344.2 MB, free: 6.703 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.007541, allocations: 131.8 kB / 344.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005642/0.008105, allocations: 0.5602 MB / 344.9 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.008341, allocations: 122.5 kB / 345 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.008674, allocations: 307.3 kB / 345.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.008905, allocations: 183.5 kB / 345.5 MB, free: 5.414 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.008984, allocations: 56 kB / 345.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.902e-05/0.009063, allocations: 64 kB / 345.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.009155, allocations: 111.6 kB / 345.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.009315, allocations: 167.6 kB / 345.9 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.009738, allocations: 366.8 kB / 346.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.009741, allocations: 0 / 346.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.009741, allocations: 0 / 346.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.009746, allocations: 0 / 346.3 MB, free: 4.664 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.001369/0.01111, allocations: 0.7948 MB / 347.1 MB, free: 3.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.01115, allocations: 8.031 kB / 347.1 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.01126, allocations: 72.66 kB / 347.1 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.01161, allocations: 283.3 kB / 347.4 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.01164, allocations: 28.97 kB / 347.4 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.01169, allocations: 40.38 kB / 347.5 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.01221, allocations: 412.1 kB / 347.9 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.01223, allocations: 7.922 kB / 347.9 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.01226, allocations: 16 kB / 347.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.01227, allocations: 8 kB / 347.9 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.01247, allocations: 92.5 kB / 348 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.01366, allocations: 1.082 MB / 349.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.01387, allocations: 143.2 kB / 349.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.01404, allocations: 119.5 kB / 349.3 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.01406, allocations: 0 / 349.3 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.01424, allocations: 236.7 kB / 349.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.012e-06/0.01424, allocations: 0 / 349.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005989/0.01484, allocations: 325.1 kB / 349.9 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.01492, allocations: 187.9 kB / 350.1 MB, free: 0.543 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.01519, allocations: 330.2 kB / 350.4 MB, free: 208 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.01522, allocations: 29.7 kB / 350.4 MB, free: 172 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.01537, allocations: 275.1 kB / 350.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.01541, allocations: 75.31 kB / 350.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.01548, allocations: 55.34 kB / 350.8 MB, free: 15.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.01561, allocations: 0.5117 MB / 351.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/0.01568, allocations: 65.67 kB / 351.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.01582, allocations: 295 kB / 351.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.01595, allocations: 152.6 kB / 351.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01595, allocations: 0 / 351.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003383/0.01629, allocations: 312.2 kB / 352.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.01632, allocations: 33.7 kB / 352.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01632, allocations: 0 / 352.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/0.01658, allocations: 95.66 kB / 352.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.0167, allocations: 47.97 kB / 352.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.01823, allocations: 2.272 MB / 354.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.01837, allocations: 43.86 kB / 354.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.01838, allocations: 8 kB / 354.6 MB, free: 11.67 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 9.755e-05/0.01848, allocations: 172.5 kB / 354.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.01851, allocations: 39.81 kB / 354.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.01854, allocations: 30.39 kB / 354.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01855, allocations: 11.98 kB / 354.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.01855, allocations: 3.938 kB / 354.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01855, allocations: 0 / 354.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.01906, allocations: 0.5631 MB / 355.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01906, allocations: 0 / 355.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.598e-05/0.01913, allocations: 28.09 kB / 355.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.01934, allocations: 107.5 kB / 355.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.01935, allocations: 0 / 355.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.02049, allocations: 2.265 MB / 357.8 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02049, allocations: 0 / 357.8 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.02077, allocations: 355.8 kB / 358.2 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.0208, allocations: 39.73 kB / 358.2 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.02083, allocations: 12.03 kB / 358.2 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.02095, allocations: 31.97 kB / 358.3 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.02101, allocations: 31.89 kB / 358.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.02102, allocations: 7.984 kB / 358.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.02113, allocations: 222.9 kB / 358.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02113, allocations: 0 / 358.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.02141, allocations: 111.8 kB / 358.6 MB, free: 7.461 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 8.95e-05/0.0215, allocations: 95.88 kB / 358.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.02185, allocations: 405.4 kB / 359.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02186, allocations: 0 / 359.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.02203, allocations: 260.5 kB / 359.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.02228, allocations: 56.94 kB / 359.4 MB, free: 6.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009121/0.02319, allocations: 0.6333 MB / 360.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.0233, allocations: 177.1 kB / 360.2 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.02348, allocations: 142.2 kB / 360.4 MB, free: 5.594 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02348, allocations: 0 / 360.4 MB, free: 5.594 MB / 330.7 MB Notification: Performance of Templates: time 0.005351/0.02883, allocations: 6.358 MB / 366.7 MB, free: 15.26 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 > ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8207841143012047]