Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.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.0008091/0.0008091, allocations: 92.22 kB / 19.65 MB, free: 276 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.001793/0.001793, allocations: 173 kB / 23.03 MB, free: 1.543 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.064/1.064, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.02938/0.02938, allocations: 7.123 MB / 267.1 MB, free: 6.051 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.TestHystereticNIC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC") translateModel(ChaoticCircuits.Test.TestHystereticNIC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 339.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.491e-05, allocations: 6.25 kB / 339.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.002678/0.002712, allocations: 2.164 MB / 341.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009021/0.003615, allocations: 0.6193 MB / 341.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.003692, allocations: 0 / 341.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.003947, allocations: 47.64 kB / 341.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.482e-05/0.004012, allocations: 55.56 kB / 341.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.004222, allocations: 43.94 kB / 342 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.004426, allocations: 195.2 kB / 342.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.004556, allocations: 29.73 kB / 342.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.004713, allocations: 103.8 kB / 342.3 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.00482, allocations: 67.8 kB / 342.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.004853, allocations: 20 kB / 342.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.225e-05/0.004875, allocations: 20 kB / 342.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.004912, allocations: 39.84 kB / 342.5 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.004973, allocations: 55.83 kB / 342.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.00515, allocations: 123.6 kB / 342.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.005154, allocations: 3.984 kB / 342.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005156, allocations: 0 / 342.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.005162, allocations: 0 / 342.6 MB, free: 6.289 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006493/0.005811, allocations: 0.5132 MB / 343.1 MB, free: 5.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.005858, allocations: 12.03 kB / 343.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.005926, allocations: 20.84 kB / 343.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.006043, allocations: 152.3 kB / 343.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.006068, allocations: 12.38 kB / 343.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.006085, allocations: 8.375 kB / 343.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.006289, allocations: 108.9 kB / 343.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.006298, allocations: 3.938 kB / 343.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.006315, allocations: 7.938 kB / 343.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.006324, allocations: 4 kB / 343.5 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.662e-05/0.006401, allocations: 35.95 kB / 343.5 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.006987, allocations: 454.5 kB / 343.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.007127, allocations: 50.98 kB / 344 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.007168, allocations: 19.81 kB / 344 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.007183, allocations: 0 / 344 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.007355, allocations: 81.02 kB / 344.1 MB, free: 4.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.007357, allocations: 0 / 344.1 MB, free: 4.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002447/0.007602, allocations: 89.52 kB / 344.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.007635, allocations: 55.34 kB / 344.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.007767, allocations: 241.9 kB / 344.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.007782, allocations: 29.7 kB / 344.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.007854, allocations: 174.9 kB / 344.7 MB, free: 4.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.007868, allocations: 15.91 kB / 344.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.00791, allocations: 35.36 kB / 344.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.007989, allocations: 0.4923 MB / 345.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.008057, allocations: 45.69 kB / 345.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.008122, allocations: 68.75 kB / 345.3 MB, free: 3.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.00822, allocations: 84.7 kB / 345.4 MB, free: 3.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.008223, allocations: 4 kB / 345.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002018/0.008425, allocations: 153 kB / 345.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.008471, allocations: 37.69 kB / 345.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.008479, allocations: 0 / 345.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.008499, allocations: 3.938 kB / 345.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.008636, allocations: 23.92 kB / 345.6 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.008647, allocations: 0 / 345.6 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.231e-05/0.008739, allocations: 27.88 kB / 345.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.008751, allocations: 4.062 kB / 345.7 MB, free: 2.977 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 (hystereticNIC.rh,$PRE.hystereticNIC.rh,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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.008865, allocations: 164.6 kB / 345.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.008885, allocations: 7.953 kB / 345.8 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.008927, allocations: 17.45 kB / 345.8 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.008934, allocations: 4 kB / 345.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.008943, allocations: 7.875 kB / 345.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.008949, allocations: 0 / 345.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.009096, allocations: 172.5 kB / 346 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.009098, allocations: 256 / 346 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.009151, allocations: 19.92 kB / 346 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.009155, allocations: 4 kB / 346 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.009168, allocations: 0 / 346 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.009171, allocations: 0 / 346 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.009173, allocations: 0 / 346 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.009332, allocations: 116.3 kB / 346.2 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.009354, allocations: 11.91 kB / 346.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.00938, allocations: 8 kB / 346.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.009434, allocations: 11.98 kB / 346.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.009511, allocations: 19.91 kB / 346.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.009522, allocations: 3.984 kB / 346.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.419e-05/0.009596, allocations: 180.2 kB / 346.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.009596, allocations: 0 / 346.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.009749, allocations: 27.94 kB / 346.4 MB, free: 2.145 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: 4 ($whenCondition1,source.signalSource.T_start,source.signalSource.count,hystereticNIC.rh) * Number of discrete states: 2 (hystereticNIC.rh,source.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.718e-05/0.009846, allocations: 103.2 kB / 346.5 MB, free: 2.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.01004, allocations: 136.8 kB / 346.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.01004, allocations: 0 / 346.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.988e-05/0.01009, allocations: 27.62 kB / 346.7 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.0103, allocations: 28.02 kB / 346.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.01075, allocations: 252.6 kB / 347 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.01078, allocations: 71.19 kB / 347 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.01082, allocations: 8.984 kB / 347 MB, free: 1.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.01088, allocations: 20.48 kB / 347.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01088, allocations: 0 / 347.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of Templates: time 0.004905/0.01578, allocations: 2.429 MB / 349.5 MB, free: 15.04 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.sim & ./ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.066617484204471]