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.0009701/0.0009701, allocations: 88.52 kB / 19.94 MB, free: 4.602 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.0009831/0.0009831, allocations: 173.9 kB / 23.21 MB, free: 1.328 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 0.9247/0.9247, allocations: 177.1 MB / 203.5 MB, free: 5.773 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.02584/0.02584, allocations: 7.118 MB / 267.1 MB, free: 6.281 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.653e-06/1.653e-06, allocations: 0 / 393.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.359e-05, allocations: 10.16 kB / 393.5 MB, free: 3.555 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.003737/0.00376, allocations: 2.055 MB / 395.5 MB, free: 1.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.004902, allocations: 0.6036 MB / 396.1 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.004992, allocations: 4 kB / 396.1 MB, free: 0.875 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.005247, allocations: 47.62 kB / 396.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.005348, allocations: 55.56 kB / 396.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.005555, allocations: 47.83 kB / 396.3 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.005819, allocations: 203.2 kB / 396.5 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.005955, allocations: 17.8 kB / 396.5 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.006158, allocations: 107.8 kB / 396.6 MB, free: 416 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.006292, allocations: 67.78 kB / 396.7 MB, free: 348 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.006333, allocations: 20 kB / 396.7 MB, free: 328 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.121e-05/0.006365, allocations: 20 kB / 396.7 MB, free: 308 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.006411, allocations: 39.84 kB / 396.7 MB, free: 268 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.006488, allocations: 51.89 kB / 396.8 MB, free: 216 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.006741, allocations: 199.4 kB / 397 MB, free: 16 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006743, allocations: 0 / 397 MB, free: 16 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.006744, allocations: 0 / 397 MB, free: 16 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.006749, allocations: 0 / 397 MB, free: 16 kB / 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.0005987/0.007348, allocations: 439.2 kB / 397.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.007382, allocations: 8.031 kB / 397.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.007421, allocations: 16.84 kB / 397.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.007536, allocations: 158.2 kB / 397.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.007552, allocations: 8.375 kB / 397.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.007569, allocations: 8.375 kB / 397.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.007787, allocations: 132.8 kB / 397.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.007796, allocations: 3.938 kB / 397.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.007809, allocations: 4 kB / 397.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.007814, allocations: 0 / 397.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.008042, allocations: 131.9 kB / 397.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.008548, allocations: 411.3 kB / 398.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.008798, allocations: 130.4 kB / 398.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.008902, allocations: 56.94 kB / 398.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.008914, allocations: 0 / 398.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.009109, allocations: 115.3 kB / 398.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.00911, allocations: 0 / 398.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003972/0.009508, allocations: 213.4 kB / 398.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.00954, allocations: 59.34 kB / 398.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.009678, allocations: 190.9 kB / 399 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.009693, allocations: 25.7 kB / 399.1 MB, free: 13.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.009758, allocations: 132.1 kB / 399.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.009773, allocations: 15.84 kB / 399.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.009812, allocations: 29.7 kB / 399.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.00989, allocations: 322.8 kB / 399.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.01002, allocations: 93.66 kB / 399.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.01015, allocations: 112.2 kB / 399.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.01036, allocations: 156.1 kB / 399.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.01036, allocations: 0 / 399.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002878/0.01065, allocations: 236.9 kB / 400.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.01068, allocations: 37.7 kB / 400.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01069, allocations: 4.047 kB / 400.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.0107, allocations: 4 kB / 400.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.01079, allocations: 27.86 kB / 400.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.01079, allocations: 0 / 400.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.01087, allocations: 23.92 kB / 400.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.01088, allocations: 4 kB / 400.2 MB, free: 12.53 MB / 330.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.571e-05/0.01096, allocations: 134.9 kB / 400.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.01097, allocations: 15.91 kB / 400.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.011, allocations: 17.47 kB / 400.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.011, allocations: 0 / 400.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.011, allocations: 3.938 kB / 400.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.01101, allocations: 3.984 kB / 400.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.344e-05/0.0111, allocations: 157.2 kB / 400.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.0111, allocations: 4.031 kB / 400.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.01115, allocations: 23.91 kB / 400.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.01115, allocations: 4.188 kB / 400.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.01116, allocations: 0 / 400.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.01116, allocations: 4 kB / 400.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01116, allocations: 4 kB / 400.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.01141, allocations: 180.9 kB / 400.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.01142, allocations: 11.91 kB / 400.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.01144, allocations: 8 kB / 400.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.01151, allocations: 19.97 kB / 400.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.01157, allocations: 19.91 kB / 400.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01158, allocations: 11.98 kB / 400.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.028e-05/0.01166, allocations: 139.2 kB / 401 MB, free: 11.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01166, allocations: 0 / 401 MB, free: 11.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.01181, allocations: 28 kB / 401 MB, free: 11.7 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: 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.36e-05/0.01188, allocations: 95.19 kB / 401.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.01218, allocations: 225.1 kB / 401.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01219, allocations: 0 / 401.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.0123, allocations: 59.89 kB / 401.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.01247, allocations: 19.98 kB / 401.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.01286, allocations: 287.7 kB / 401.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.68e-05/0.01292, allocations: 94.28 kB / 401.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.01297, allocations: 20.48 kB / 401.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01297, allocations: 0 / 401.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of Templates: time 0.002436/0.0154, allocations: 2.031 MB / 403.8 MB, free: 8.809 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 > ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.569300328847021]