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.0008211/0.0008211, allocations: 77.09 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.0009957/0.0009957, allocations: 169 kB / 24.06 MB, free: 456 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.9952/0.9952, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.02671/0.02671, allocations: 7.118 MB / 268.1 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.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.393e-06/1.393e-06, allocations: 3.938 kB / 340.3 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.748e-05, allocations: 6.25 kB / 340.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.003233/0.00325, allocations: 2.151 MB / 342.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.004241, allocations: 0.6269 MB / 343.1 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.004317, allocations: 0 / 343.1 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.00458, allocations: 47.64 kB / 343.1 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.558e-05/0.004676, allocations: 47.58 kB / 343.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.004856, allocations: 51.86 kB / 343.2 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.005088, allocations: 191.2 kB / 343.4 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.005213, allocations: 33.78 kB / 343.4 MB, free: 7.516 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.005392, allocations: 103.8 kB / 343.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.005522, allocations: 67.78 kB / 343.6 MB, free: 7.348 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.005557, allocations: 20 kB / 343.6 MB, free: 7.328 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.777e-05/0.005584, allocations: 20 kB / 343.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.005629, allocations: 39.83 kB / 343.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.005694, allocations: 51.91 kB / 343.7 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.005878, allocations: 127.5 kB / 343.9 MB, free: 7.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.00588, allocations: 0 / 343.9 MB, free: 7.094 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005881, allocations: 0 / 343.9 MB, free: 7.094 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.005885, allocations: 0 / 343.9 MB, free: 7.094 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.0006952/0.00658, allocations: 0.5171 MB / 344.4 MB, free: 6.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.006622, allocations: 8.031 kB / 344.4 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.006683, allocations: 20.84 kB / 344.4 MB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.006825, allocations: 152.3 kB / 344.5 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.00685, allocations: 8.375 kB / 344.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.006869, allocations: 4.375 kB / 344.6 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.007093, allocations: 98.89 kB / 344.7 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.007105, allocations: 3.938 kB / 344.7 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.007121, allocations: 8 kB / 344.7 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.007128, allocations: 4 kB / 344.7 MB, free: 6.199 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.007207, allocations: 30.41 kB / 344.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.007799, allocations: 415.2 kB / 345.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.007918, allocations: 58.97 kB / 345.2 MB, free: 5.664 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.007953, allocations: 11.69 kB / 345.2 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.007966, allocations: 4 kB / 345.2 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.008125, allocations: 81.14 kB / 345.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.008127, allocations: 0 / 345.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000221/0.008348, allocations: 85.52 kB / 345.3 MB, free: 5.461 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.008397, allocations: 55.41 kB / 345.4 MB, free: 5.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.008569, allocations: 237.7 kB / 345.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.008589, allocations: 25.7 kB / 345.7 MB, free: 5.113 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.00869, allocations: 178.9 kB / 345.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.008711, allocations: 15.89 kB / 345.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.008774, allocations: 35.34 kB / 345.9 MB, free: 4.871 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.008938, allocations: 0.4923 MB / 346.4 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.008997, allocations: 41.69 kB / 346.4 MB, free: 4.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.009071, allocations: 76.73 kB / 346.5 MB, free: 4.227 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.966e-05/0.00917, allocations: 76.7 kB / 346.6 MB, free: 4.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.009172, allocations: 0 / 346.6 MB, free: 4.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002119/0.009384, allocations: 148.9 kB / 346.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.009414, allocations: 37.69 kB / 346.7 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.00942, allocations: 0 / 346.7 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.009429, allocations: 0 / 346.7 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.009544, allocations: 19.98 kB / 346.8 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.009548, allocations: 8 kB / 346.8 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.009634, allocations: 27.88 kB / 346.8 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.009643, allocations: 0 / 346.8 MB, free: 3.871 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 7.737e-05/0.00972, allocations: 175.5 kB / 347 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.00974, allocations: 11.91 kB / 347 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.009771, allocations: 17.45 kB / 347 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.009774, allocations: 0 / 347 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.009775, allocations: 4 kB / 347 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.00978, allocations: 3.938 kB / 347 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.009923, allocations: 141.2 kB / 347.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009924, allocations: 0 / 347.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.009992, allocations: 15.92 kB / 347.2 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.009994, allocations: 0 / 347.2 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01, allocations: 4 kB / 347.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.01001, allocations: 0 / 347.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01001, allocations: 0 / 347.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.01018, allocations: 112.6 kB / 347.3 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.01021, allocations: 15.91 kB / 347.3 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.01024, allocations: 3.938 kB / 347.3 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.01033, allocations: 15.98 kB / 347.3 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.01039, allocations: 19.97 kB / 347.3 MB, free: 3.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.0104, allocations: 3.984 kB / 347.3 MB, free: 3.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.477e-05/0.0105, allocations: 160.2 kB / 347.5 MB, free: 3.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0105, allocations: 0 / 347.5 MB, free: 3.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002087/0.01071, allocations: 35.89 kB / 347.5 MB, free: 3.09 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 8.158e-05/0.01079, allocations: 103.2 kB / 347.6 MB, free: 2.977 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.01094, allocations: 132.7 kB / 347.8 MB, free: 2.824 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01094, allocations: 0 / 347.8 MB, free: 2.824 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.011, allocations: 27.81 kB / 347.8 MB, free: 2.793 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.01125, allocations: 32.19 kB / 347.8 MB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.01171, allocations: 242.6 kB / 348.1 MB, free: 2.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.266e-05/0.01175, allocations: 67.33 kB / 348.1 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.201e-05/0.01181, allocations: 12.98 kB / 348.1 MB, free: 2.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.01195, allocations: 98.17 kB / 348.2 MB, free: 2.301 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01195, allocations: 0 / 348.2 MB, free: 2.301 MB / 314.7 MB Notification: Performance of Templates: time 0.004818/0.01677, allocations: 2.519 MB / 350.7 MB, free: 15.82 MB / 330.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.7553838160820305]