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.0008922/0.0008922, allocations: 93.06 kB / 19.65 MB, free: 280 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.001015/0.001015, allocations: 173 kB / 23.03 MB, free: 1.547 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.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.02647/0.02647, allocations: 7.118 MB / 267.1 MB, free: 6.066 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 1.263e-06/1.263e-06, allocations: 0 / 339.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.692e-05, allocations: 2.312 kB / 339.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.002841/0.002858, allocations: 2.153 MB / 341.2 MB, free: 8.797 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.003781, allocations: 0.6347 MB / 341.8 MB, free: 8.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.003852, allocations: 0 / 341.8 MB, free: 8.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.004071, allocations: 47.64 kB / 341.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.004148, allocations: 59.56 kB / 342 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.004306, allocations: 39.94 kB / 342 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.004516, allocations: 195.2 kB / 342.2 MB, free: 7.824 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.004624, allocations: 29.78 kB / 342.2 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.00477, allocations: 103.8 kB / 342.3 MB, free: 7.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.004878, allocations: 67.78 kB / 342.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.004909, allocations: 20 kB / 342.4 MB, free: 7.609 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.555e-05/0.004934, allocations: 20 kB / 342.4 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.00497, allocations: 35.84 kB / 342.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.005038, allocations: 63.77 kB / 342.5 MB, free: 7.492 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.005209, allocations: 123.6 kB / 342.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005211, allocations: 0 / 342.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.005212, allocations: 0 / 342.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.005216, allocations: 0 / 342.6 MB, free: 7.371 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006646/0.00588, allocations: 0.5132 MB / 343.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.005917, allocations: 8.031 kB / 343.2 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.005982, allocations: 24.84 kB / 343.2 MB, free: 6.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.00611, allocations: 148.4 kB / 343.3 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.006131, allocations: 8.375 kB / 343.3 MB, free: 6.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.00615, allocations: 16.31 kB / 343.4 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.006366, allocations: 113.3 kB / 343.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.006376, allocations: 3.938 kB / 343.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.006389, allocations: 0 / 343.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.006398, allocations: 4 kB / 343.5 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.00649, allocations: 27.98 kB / 343.5 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.007278, allocations: 454.5 kB / 343.9 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.007404, allocations: 55.06 kB / 344 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.007445, allocations: 15.67 kB / 344 MB, free: 5.867 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.007457, allocations: 4 kB / 344 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.007589, allocations: 81.08 kB / 344.1 MB, free: 5.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.007591, allocations: 0 / 344.1 MB, free: 5.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002268/0.007817, allocations: 93.58 kB / 344.2 MB, free: 5.672 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.007853, allocations: 59.34 kB / 344.2 MB, free: 5.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.008013, allocations: 233.9 kB / 344.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.00803, allocations: 25.7 kB / 344.5 MB, free: 5.324 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.008111, allocations: 182.8 kB / 344.7 MB, free: 5.137 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.008128, allocations: 19.91 kB / 344.7 MB, free: 5.117 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.00818, allocations: 31.36 kB / 344.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.008307, allocations: 0.4962 MB / 345.2 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.008369, allocations: 37.7 kB / 345.3 MB, free: 4.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.008445, allocations: 80.73 kB / 345.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.435e-05/0.008539, allocations: 76.7 kB / 345.4 MB, free: 4.336 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008542, allocations: 0 / 345.4 MB, free: 4.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001959/0.008737, allocations: 156.9 kB / 345.6 MB, free: 4.164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.008763, allocations: 41.77 kB / 345.6 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.008769, allocations: 3.984 kB / 345.6 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.008785, allocations: 4 kB / 345.6 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.008886, allocations: 19.92 kB / 345.6 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.00889, allocations: 3.938 kB / 345.6 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.099e-05/0.008981, allocations: 19.92 kB / 345.7 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.008992, allocations: 4 kB / 345.7 MB, free: 4.062 MB / 314.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 8.057e-05/0.009072, allocations: 160.6 kB / 345.8 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.009095, allocations: 15.91 kB / 345.8 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.009125, allocations: 29.39 kB / 345.9 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009127, allocations: 0 / 345.9 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.009131, allocations: 3.938 kB / 345.9 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.009134, allocations: 0 / 345.9 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.009264, allocations: 168.6 kB / 346 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.009264, allocations: 0 / 346 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.656e-05/0.009311, allocations: 8 kB / 346 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.009314, allocations: 3.984 kB / 346 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.009323, allocations: 0 / 346 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009324, allocations: 0 / 346 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009325, allocations: 4 kB / 346 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.009472, allocations: 120.2 kB / 346.2 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.009493, allocations: 15.91 kB / 346.2 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.009515, allocations: 320 / 346.2 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.009586, allocations: 19.98 kB / 346.2 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.009643, allocations: 19.91 kB / 346.2 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.009653, allocations: 7.984 kB / 346.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.295e-05/0.009746, allocations: 164.2 kB / 346.4 MB, free: 3.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009746, allocations: 0 / 346.4 MB, free: 3.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.009956, allocations: 35.89 kB / 346.4 MB, free: 3.234 MB / 314.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 7.542e-05/0.01003, allocations: 103.2 kB / 346.5 MB, free: 3.121 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.01023, allocations: 136.7 kB / 346.7 MB, free: 2.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01023, allocations: 0 / 346.7 MB, free: 2.965 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.01029, allocations: 27.62 kB / 346.7 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.0105, allocations: 30.73 kB / 346.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.01094, allocations: 254.7 kB / 347 MB, free: 2.633 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.01098, allocations: 67.33 kB / 347 MB, free: 2.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.01103, allocations: 8.984 kB / 347 MB, free: 2.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.01108, allocations: 20.48 kB / 347.1 MB, free: 2.516 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01108, allocations: 4 kB / 347.1 MB, free: 2.512 MB / 314.7 MB Notification: Performance of Templates: time 0.004343/0.01542, allocations: 2.412 MB / 349.5 MB, free: 140 kB / 314.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: 2.8820458208210766]