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.0009942/0.0009942, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001714/0.001714, allocations: 169 kB / 23.27 MB, free: 1.223 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.006/1.006, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.036/0.036, allocations: 7.116 MB / 267.4 MB, free: 5.906 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.403e-06/1.403e-06, allocations: 0 / 339.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.353e-05, allocations: 2.312 kB / 339.5 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.002563/0.002587, allocations: 2.153 MB / 341.7 MB, free: 8.496 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007949/0.003382, allocations: 0.6192 MB / 342.3 MB, free: 7.875 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.003443, allocations: 0 / 342.3 MB, free: 7.875 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.003648, allocations: 51.62 kB / 342.3 MB, free: 7.824 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.003714, allocations: 55.56 kB / 342.4 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.003866, allocations: 39.95 kB / 342.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.004042, allocations: 195.2 kB / 342.6 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.004166, allocations: 25.8 kB / 342.6 MB, free: 7.516 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.004389, allocations: 111.7 kB / 342.8 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.004501, allocations: 63.8 kB / 342.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.004539, allocations: 20 kB / 342.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.358e-05/0.004563, allocations: 20 kB / 342.9 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.004599, allocations: 43.83 kB / 342.9 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.004654, allocations: 55.84 kB / 343 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.004804, allocations: 123.6 kB / 343.1 MB, free: 7.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004806, allocations: 0 / 343.1 MB, free: 7.086 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004807, allocations: 0 / 343.1 MB, free: 7.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.00481, allocations: 0 / 343.1 MB, free: 7.086 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.0005633/0.005374, allocations: 0.5171 MB / 343.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.005409, allocations: 12.03 kB / 343.6 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.005459, allocations: 16.84 kB / 343.6 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.005575, allocations: 160.2 kB / 343.8 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.005596, allocations: 8.375 kB / 343.8 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.005615, allocations: 4.375 kB / 343.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.005794, allocations: 108.9 kB / 343.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.005805, allocations: 3.938 kB / 343.9 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.005819, allocations: 8 kB / 343.9 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005825, allocations: 0 / 343.9 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.192e-05/0.005887, allocations: 23.97 kB / 343.9 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.006521, allocations: 419.2 kB / 344.3 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.006621, allocations: 50.98 kB / 344.4 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.006648, allocations: 11.69 kB / 344.4 MB, free: 5.637 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.006657, allocations: 4 kB / 344.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.00679, allocations: 77.14 kB / 344.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.006792, allocations: 0 / 344.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001763/0.006968, allocations: 81.52 kB / 344.6 MB, free: 5.457 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.007001, allocations: 59.41 kB / 344.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.007125, allocations: 233.7 kB / 344.8 MB, free: 5.141 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.00714, allocations: 29.7 kB / 344.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.007218, allocations: 186.8 kB / 345.1 MB, free: 4.914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.007231, allocations: 7.906 kB / 345.1 MB, free: 4.906 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.007275, allocations: 35.34 kB / 345.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.007403, allocations: 0.5001 MB / 345.6 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.007446, allocations: 41.69 kB / 345.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.007493, allocations: 64.75 kB / 345.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.97e-05/0.007563, allocations: 80.69 kB / 345.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007565, allocations: 0 / 345.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001352/0.0077, allocations: 153 kB / 345.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.007726, allocations: 29.7 kB / 346 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007731, allocations: 3.984 kB / 346 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.007743, allocations: 4 kB / 346 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.007817, allocations: 23.92 kB / 346 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.007821, allocations: 3.938 kB / 346 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.007892, allocations: 27.81 kB / 346 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.007901, allocations: 4 kB / 346 MB, free: 3.855 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.412e-05/0.007975, allocations: 167.9 kB / 346.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.007991, allocations: 15.91 kB / 346.2 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.008018, allocations: 21.45 kB / 346.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.00802, allocations: 0 / 346.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.008024, allocations: 4 kB / 346.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.008028, allocations: 3.938 kB / 346.2 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.806e-05/0.008126, allocations: 133.2 kB / 346.4 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008128, allocations: 0 / 346.4 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.008167, allocations: 19.92 kB / 346.4 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.008168, allocations: 0 / 346.4 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.008174, allocations: 4 kB / 346.4 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.008176, allocations: 4 kB / 346.4 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008177, allocations: 0 / 346.4 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.008286, allocations: 104.3 kB / 346.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.008312, allocations: 15.91 kB / 346.5 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.008329, allocations: 4 kB / 346.5 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.293e-05/0.008382, allocations: 11.98 kB / 346.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.008428, allocations: 19.97 kB / 346.5 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.008435, allocations: 7.969 kB / 346.6 MB, free: 3.273 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.076e-05/0.008496, allocations: 164.2 kB / 346.7 MB, free: 3.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008496, allocations: 4 kB / 346.7 MB, free: 3.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.008637, allocations: 35.89 kB / 346.7 MB, free: 3.074 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.221e-05/0.00871, allocations: 103.1 kB / 346.8 MB, free: 2.961 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.008842, allocations: 128.8 kB / 347 MB, free: 2.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.008845, allocations: 4 kB / 347 MB, free: 2.809 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.008887, allocations: 27.61 kB / 347 MB, free: 2.777 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.009049, allocations: 28.39 kB / 347 MB, free: 2.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.009397, allocations: 250.7 kB / 347.3 MB, free: 2.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.305e-05/0.00943, allocations: 63.34 kB / 347.3 MB, free: 2.398 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.142e-05/0.009472, allocations: 8.969 kB / 347.3 MB, free: 2.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.009567, allocations: 98.19 kB / 347.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.009568, allocations: 0 / 347.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of Templates: time 0.004355/0.01392, allocations: 2.47 MB / 349.9 MB, free: 15.86 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.787707674782723]