Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.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.001026/0.001026, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001054/0.001054, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9471/0.9471, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.02503/0.02503, allocations: 7.122 MB / 267.1 MB, free: 6.055 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.SimpleTransistorCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic") translateModel(ChaoticCircuits.Test.SimpleTransistorCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 339.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.706e-05, allocations: 6.25 kB / 339.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.002519/0.002546, allocations: 2.056 MB / 341.1 MB, free: 8.871 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.003476, allocations: 0.5802 MB / 341.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.003567, allocations: 8 kB / 341.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.978e-05/0.003627, allocations: 15.8 kB / 341.7 MB, free: 8.266 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.00377, allocations: 43.62 kB / 341.8 MB, free: 8.223 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.004023, allocations: 59.81 kB / 341.8 MB, free: 8.164 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.004242, allocations: 203.2 kB / 342 MB, free: 7.965 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.004388, allocations: 45.77 kB / 342.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.004575, allocations: 127.6 kB / 342.2 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.004694, allocations: 71.83 kB / 342.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.00473, allocations: 20 kB / 342.3 MB, free: 7.707 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.748e-05/0.004757, allocations: 24 kB / 342.3 MB, free: 7.684 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.004796, allocations: 35.84 kB / 342.3 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/0.004875, allocations: 59.83 kB / 342.4 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.00509, allocations: 147.5 kB / 342.5 MB, free: 7.445 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.005093, allocations: 0 / 342.5 MB, free: 7.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.005095, allocations: 0 / 342.5 MB, free: 7.445 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.005101, allocations: 0 / 342.5 MB, free: 7.445 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007162/0.005817, allocations: 0.537 MB / 343.1 MB, free: 6.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.005862, allocations: 8.031 kB / 343.1 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.005939, allocations: 28.84 kB / 343.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.006061, allocations: 140.3 kB / 343.3 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.006086, allocations: 12.66 kB / 343.3 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.006108, allocations: 12.38 kB / 343.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.006371, allocations: 161 kB / 343.4 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.006383, allocations: 3.938 kB / 343.4 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.006401, allocations: 8 kB / 343.4 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.006409, allocations: 7.938 kB / 343.5 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.006524, allocations: 64.17 kB / 343.5 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.007229, allocations: 0.5594 MB / 344.1 MB, free: 5.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.007419, allocations: 87.08 kB / 344.2 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.007545, allocations: 51.61 kB / 344.2 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.007567, allocations: 11.94 kB / 344.2 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.007767, allocations: 116.4 kB / 344.3 MB, free: 5.484 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.007769, allocations: 0 / 344.3 MB, free: 5.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003166/0.008086, allocations: 149.5 kB / 344.5 MB, free: 5.332 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.008134, allocations: 85.05 kB / 344.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.008258, allocations: 205 kB / 344.8 MB, free: 5.016 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.008286, allocations: 33.7 kB / 344.8 MB, free: 4.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.008386, allocations: 175.1 kB / 345 MB, free: 4.801 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.008421, allocations: 39.66 kB / 345 MB, free: 4.762 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.00848, allocations: 43.48 kB / 345.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.008618, allocations: 0.5 MB / 345.6 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.008692, allocations: 49.69 kB / 345.6 MB, free: 4.145 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.008785, allocations: 115.8 kB / 345.7 MB, free: 4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.008928, allocations: 135.8 kB / 345.8 MB, free: 3.836 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.008931, allocations: 0 / 345.8 MB, free: 3.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002495/0.009181, allocations: 208.8 kB / 346.1 MB, free: 3.613 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.009222, allocations: 33.7 kB / 346.1 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.009229, allocations: 0 / 346.1 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.009256, allocations: 4 kB / 346.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.009388, allocations: 31.97 kB / 346.1 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.009396, allocations: 3.938 kB / 346.1 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.009477, allocations: 23.94 kB / 346.1 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.009492, allocations: 8 kB / 346.2 MB, free: 3.504 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (staircase.n,$PRE.staircase.n,staircase.firstTrigger,$PRE.staircase.firstTrigger,staircase.sampleTrigger,$whenCondition2,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,staircase.h,$PRE.staircase.h,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001315/0.009623, allocations: 184.6 kB / 346.3 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.009649, allocations: 15.95 kB / 346.3 MB, free: 3.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.009887, allocations: 157.3 kB / 346.5 MB, free: 3.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.00989, allocations: 4 kB / 346.5 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.009894, allocations: 0 / 346.5 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.009899, allocations: 3.984 kB / 346.5 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.01037, allocations: 0.5667 MB / 347.1 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01037, allocations: 32 / 347.1 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.327e-05/0.01044, allocations: 27.97 kB / 347.1 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01045, allocations: 0 / 347.1 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.01046, allocations: 8 kB / 347.1 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.01047, allocations: 0 / 347.1 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.01047, allocations: 0 / 347.1 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.01069, allocations: 303.8 kB / 347.4 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.01071, allocations: 19.83 kB / 347.4 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.01074, allocations: 8 kB / 347.4 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.01082, allocations: 15.98 kB / 347.5 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.01089, allocations: 23.95 kB / 347.5 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.0109, allocations: 11.94 kB / 347.5 MB, free: 2.082 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.293e-05/0.01096, allocations: 150.2 kB / 347.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01096, allocations: 0 / 347.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.01117, allocations: 43.95 kB / 347.7 MB, free: 1.895 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 (staircase.sampleTrigger,$whenCondition2,$whenCondition1,staircase.firstTrigger,staircase.h,staircase.n,trapezoid.T_start,trapezoid.count) * Number of discrete states: 3 (trapezoid.count,staircase.n,staircase.h) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001115/0.01128, allocations: 104.8 kB / 347.8 MB, free: 1.785 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.01152, allocations: 183.8 kB / 348 MB, free: 1.586 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.01152, allocations: 320 / 348 MB, free: 1.586 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.0116, allocations: 55.61 kB / 348 MB, free: 1.527 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.01184, allocations: 31.5 kB / 348 MB, free: 1.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.01237, allocations: 311.2 kB / 348.3 MB, free: 1.164 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.122e-05/0.01243, allocations: 71.33 kB / 348.4 MB, free: 1.074 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.408e-05/0.01247, allocations: 12.72 kB / 348.4 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.01253, allocations: 24.48 kB / 348.5 MB, free: 1.035 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01253, allocations: 0 / 348.5 MB, free: 1.035 MB / 314.7 MB Notification: Performance of Templates: time 0.004444/0.01697, allocations: 2.185 MB / 350.6 MB, free: 14.87 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.sim & ./ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8064488763920963]