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.001891/0.001891, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002048/0.002048, allocations: 217.8 kB / 22.25 MB, free: 3.578 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 1.677/1.677, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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.0523/0.0523, allocations: 9.561 MB / 322 MB, free: 8.465 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: 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.01076/0.01076, allocations: 75.89 kB / 449.1 MB, free: 37.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1383, allocations: 55.77 MB / 0.493 GB, free: 13.34 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.004564/0.1429, allocations: 2.052 MB / 0.495 GB, free: 11.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1443, allocations: 0.5844 MB / 0.4956 GB, free: 10.69 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1444, allocations: 7.938 kB / 0.4956 GB, free: 10.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.1447, allocations: 47.62 kB / 0.4957 GB, free: 10.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1449, allocations: 51.62 kB / 0.4957 GB, free: 10.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1451, allocations: 47.89 kB / 0.4958 GB, free: 10.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.1454, allocations: 191.3 kB / 0.496 GB, free: 10.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1455, allocations: 21.72 kB / 0.496 GB, free: 10.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.1458, allocations: 79.7 kB / 0.496 GB, free: 10.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.146, allocations: 75.67 kB / 0.4961 GB, free: 10.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.342e-05/0.146, allocations: 20 kB / 0.4961 GB, free: 10.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.872e-05/0.1461, allocations: 16 kB / 0.4962 GB, free: 10.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.1461, allocations: 35.86 kB / 0.4962 GB, free: 10.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1463, allocations: 75.7 kB / 0.4963 GB, free: 10.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.1466, allocations: 187.3 kB / 0.4964 GB, free: 9.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1466, allocations: 0 / 0.4964 GB, free: 9.844 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1467, allocations: 0 / 0.4964 GB, free: 9.844 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1467, allocations: 4 kB / 0.4964 GB, free: 9.84 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001295/0.148, allocations: 435.2 kB / 0.4969 GB, free: 9.379 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.148, allocations: 8.031 kB / 0.4969 GB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.1481, allocations: 24.83 kB / 0.4969 GB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1484, allocations: 159 kB / 0.497 GB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1484, allocations: 4.375 kB / 0.497 GB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.1485, allocations: 16.12 kB / 0.4971 GB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.149, allocations: 131.7 kB / 0.4972 GB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.149, allocations: 0 / 0.4972 GB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.149, allocations: 11.94 kB / 0.4972 GB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.149, allocations: 3.984 kB / 0.4972 GB, free: 9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/0.1497, allocations: 127.9 kB / 0.4973 GB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1509, allocations: 411.1 kB / 0.4977 GB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.1515, allocations: 130.4 kB / 0.4978 GB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.1518, allocations: 60.94 kB / 0.4979 GB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1518, allocations: 0 / 0.4979 GB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004674/0.1523, allocations: 115.3 kB / 0.498 GB, free: 8.113 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1523, allocations: 0 / 0.498 GB, free: 8.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001046/0.1534, allocations: 217.5 kB / 0.4982 GB, free: 7.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.1534, allocations: 51.41 kB / 0.4983 GB, free: 7.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.1537, allocations: 187 kB / 0.4984 GB, free: 7.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.1538, allocations: 29.7 kB / 0.4985 GB, free: 7.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1539, allocations: 128.2 kB / 0.4986 GB, free: 7.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.1539, allocations: 19.83 kB / 0.4986 GB, free: 7.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.154, allocations: 29.7 kB / 0.4986 GB, free: 7.418 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.1543, allocations: 322.8 kB / 0.4989 GB, free: 7.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.1547, allocations: 93.66 kB / 0.499 GB, free: 6.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.155, allocations: 116.3 kB / 0.4991 GB, free: 6.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.1556, allocations: 160.1 kB / 0.4993 GB, free: 6.695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1557, allocations: 0 / 0.4993 GB, free: 6.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008358/0.1565, allocations: 240.9 kB / 0.4995 GB, free: 6.441 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.1565, allocations: 41.7 kB / 0.4996 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1566, allocations: 4 kB / 0.4996 GB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1566, allocations: 0 / 0.4996 GB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.1568, allocations: 24 kB / 0.4996 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1568, allocations: 11.88 kB / 0.4996 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.157, allocations: 23.92 kB / 0.4996 GB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.1571, allocations: 4 kB / 0.4996 GB, free: 6.328 MB / 362.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.0001616/0.1572, allocations: 126.9 kB / 0.4998 GB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.1573, allocations: 23.84 kB / 0.4998 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.1573, allocations: 13.41 kB / 0.4998 GB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1573, allocations: 4 kB / 0.4998 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1573, allocations: 0 / 0.4998 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1573, allocations: 0 / 0.4998 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.1576, allocations: 153.3 kB / 0.4999 GB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1576, allocations: 0 / 0.4999 GB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.1578, allocations: 15.97 kB / 0.5 GB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1578, allocations: 4 kB / 0.5 GB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1578, allocations: 7.875 kB / 0.5 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1578, allocations: 4 kB / 0.5 GB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1578, allocations: 0 / 0.5 GB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000941/0.1587, allocations: 177 kB / 0.5001 GB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.1588, allocations: 15.84 kB / 0.5002 GB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.1588, allocations: 11.94 kB / 0.5002 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.159, allocations: 19.97 kB / 0.5002 GB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-05/0.1591, allocations: 19.97 kB / 0.5002 GB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1591, allocations: 64 / 0.5002 GB, free: 5.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001957/0.1593, allocations: 151.2 kB / 0.5003 GB, free: 5.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1593, allocations: 0 / 0.5003 GB, free: 5.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003666/0.1597, allocations: 31.95 kB / 0.5004 GB, free: 5.5 MB / 362.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 0.0001488/0.1599, allocations: 99.23 kB / 0.5005 GB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00081/0.1607, allocations: 229 kB / 0.5007 GB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1607, allocations: 0 / 0.5007 GB, free: 5.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.161, allocations: 59.89 kB / 0.5008 GB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1613, allocations: 23.11 kB / 0.5008 GB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008579/0.1622, allocations: 269.4 kB / 0.501 GB, free: 4.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.1623, allocations: 90.28 kB / 0.5011 GB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.56e-05/0.1624, allocations: 8.969 kB / 0.5011 GB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.1625, allocations: 19.38 kB / 0.5011 GB, free: 4.645 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.1625, allocations: 4 kB / 0.5011 GB, free: 4.641 MB / 362.7 MB Notification: Performance of Templates: time 0.008039/0.1705, allocations: 2.381 MB / 0.5035 GB, free: 2.285 MB / 362.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: 5.6375119858421385]