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.001812/0.001812, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00198/0.00198, allocations: 170.3 kB / 22.45 MB, free: 2.102 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.595/1.595, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.04627/0.04627, allocations: 7.121 MB / 266.3 MB, free: 6.258 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 6.322e-06/6.322e-06, allocations: 4 kB / 393.5 MB, free: 2.742 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.567e-05/4.199e-05, allocations: 6.219 kB / 393.5 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.00498/0.005022, allocations: 2.051 MB / 395.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.006506, allocations: 0.6113 MB / 396.1 MB, free: 56 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.006595, allocations: 7.938 kB / 396.2 MB, free: 48 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.00688, allocations: 43.64 kB / 396.2 MB, free: 4 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.007048, allocations: 51.69 kB / 396.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.007272, allocations: 47.88 kB / 396.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000351/0.007623, allocations: 199.2 kB / 396.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.007761, allocations: 25.78 kB / 396.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.007995, allocations: 103.8 kB / 396.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.008182, allocations: 71.78 kB / 396.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.008232, allocations: 16 kB / 396.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.023e-05/0.008282, allocations: 20 kB / 396.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.008348, allocations: 39.84 kB / 396.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.008464, allocations: 55.83 kB / 396.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.008828, allocations: 195.5 kB / 397 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.008831, allocations: 0 / 397 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.008833, allocations: 0 / 397 MB, free: 15.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.008838, allocations: 4 kB / 397 MB, free: 15.19 MB / 330.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.001204/0.01004, allocations: 435.2 kB / 397.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01008, allocations: 8.031 kB / 397.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.01016, allocations: 24.78 kB / 397.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.01039, allocations: 150.2 kB / 397.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.01041, allocations: 8.359 kB / 397.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.01045, allocations: 12.38 kB / 397.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.01097, allocations: 134.2 kB / 397.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.01098, allocations: 3.938 kB / 397.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.01101, allocations: 4 kB / 397.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.01101, allocations: 4 kB / 397.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.01168, allocations: 127.8 kB / 397.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.01282, allocations: 411.4 kB / 398.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.0135, allocations: 126.4 kB / 398.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.01382, allocations: 60.94 kB / 398.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.01385, allocations: 0 / 398.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004814/0.01433, allocations: 115.3 kB / 398.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.01433, allocations: 4 kB / 398.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.001072/0.0154, allocations: 209.4 kB / 398.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.01547, allocations: 59.28 kB / 398.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.01577, allocations: 191 kB / 399.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.01581, allocations: 25.7 kB / 399.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.01595, allocations: 128.2 kB / 399.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.01599, allocations: 15.89 kB / 399.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-05/0.01608, allocations: 25.72 kB / 399.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.0163, allocations: 322.8 kB / 399.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.01667, allocations: 97.64 kB / 399.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.01706, allocations: 112.2 kB / 399.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/0.0177, allocations: 148.1 kB / 399.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01771, allocations: 4 kB / 399.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008585/0.01856, allocations: 240.9 kB / 400.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/0.01862, allocations: 33.7 kB / 400.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01862, allocations: 0 / 400.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01864, allocations: 0 / 400.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.01888, allocations: 43.84 kB / 400.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01889, allocations: 0 / 400.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.01914, allocations: 27.86 kB / 400.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.01915, allocations: 4 kB / 400.3 MB, free: 11.7 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 0.0001614/0.01931, allocations: 126.1 kB / 400.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.01936, allocations: 15.91 kB / 400.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.01941, allocations: 21.45 kB / 400.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01942, allocations: 0 / 400.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.01942, allocations: 4.188 kB / 400.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01943, allocations: 4 kB / 400.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.01969, allocations: 161.3 kB / 400.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01969, allocations: 3.938 kB / 400.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.01987, allocations: 23.91 kB / 400.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.01987, allocations: 0 / 400.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01988, allocations: 0 / 400.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01988, allocations: 0 / 400.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01988, allocations: 0 / 400.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.02062, allocations: 180.9 kB / 400.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.02066, allocations: 15.89 kB / 400.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.0207, allocations: 4 kB / 400.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.02092, allocations: 23.97 kB / 400.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.02102, allocations: 19.91 kB / 400.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.02103, allocations: 4 kB / 400.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001982/0.02123, allocations: 143.2 kB / 401 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02123, allocations: 0 / 401 MB, free: 10.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.02161, allocations: 28 kB / 401 MB, free: 10.88 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 0.0001517/0.02176, allocations: 99.19 kB / 401.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008369/0.0226, allocations: 217 kB / 401.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.0226, allocations: 0 / 401.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.02295, allocations: 68 kB / 401.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.02331, allocations: 31.91 kB / 401.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.02417, allocations: 254 kB / 401.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.02432, allocations: 98.27 kB / 401.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.999e-05/0.02442, allocations: 12.97 kB / 401.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.02449, allocations: 12.5 kB / 401.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.02449, allocations: 0 / 401.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Templates: time 0.007949/0.03244, allocations: 2.284 MB / 404.1 MB, free: 7.777 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: 5.3467651209793985]