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.001511/0.001511, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001522/0.001522, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9751/0.9751, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.02758/0.02758, allocations: 7.125 MB / 268.2 MB, free: 5.891 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.353e-06/1.353e-06, allocations: 0 / 340.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.163e-05, allocations: 4.703 kB / 340.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.002806/0.002828, allocations: 2.04 MB / 342.3 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.003498, allocations: 0.5765 MB / 342.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.00357, allocations: 0 / 342.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.186e-05/0.003622, allocations: 23.8 kB / 342.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.003742, allocations: 47.56 kB / 343 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.003927, allocations: 59.8 kB / 343 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.004077, allocations: 203.2 kB / 343.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.004189, allocations: 41.77 kB / 343.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.004324, allocations: 119.8 kB / 343.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004424, allocations: 79.77 kB / 343.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.004451, allocations: 16 kB / 343.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.00447, allocations: 23.94 kB / 343.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.004502, allocations: 43.83 kB / 343.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.00455, allocations: 59.84 kB / 343.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004686, allocations: 135.5 kB / 343.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004688, allocations: 4 kB / 343.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004689, allocations: 0 / 343.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.004694, allocations: 0 / 343.7 MB, free: 6.125 MB / 266.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.0004954/0.005189, allocations: 0.5486 MB / 344.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.005219, allocations: 8.031 kB / 344.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.005265, allocations: 28.84 kB / 344.3 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.514e-05/0.00533, allocations: 140.3 kB / 344.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.005346, allocations: 8.656 kB / 344.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.005363, allocations: 16.38 kB / 344.5 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.005541, allocations: 149 kB / 344.6 MB, free: 5.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.005549, allocations: 3.938 kB / 344.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.005561, allocations: 4 kB / 344.6 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.005567, allocations: 4 kB / 344.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.005634, allocations: 52.11 kB / 344.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.00611, allocations: 0.5365 MB / 345.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.006221, allocations: 87.08 kB / 345.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.006296, allocations: 39.67 kB / 345.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.006312, allocations: 0 / 345.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.006428, allocations: 124.3 kB / 345.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.006429, allocations: 0 / 345.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002115/0.006641, allocations: 141.4 kB / 345.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.006666, allocations: 85.05 kB / 345.7 MB, free: 3.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.314e-05/0.00673, allocations: 204.6 kB / 345.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.006742, allocations: 25.7 kB / 345.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.00679, allocations: 183.2 kB / 346.1 MB, free: 3.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.006809, allocations: 31.73 kB / 346.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.006852, allocations: 47.34 kB / 346.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/0.006898, allocations: 0.4923 MB / 346.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.006939, allocations: 53.67 kB / 346.7 MB, free: 2.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.944e-05/0.006989, allocations: 102.9 kB / 346.8 MB, free: 2.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.007074, allocations: 139.7 kB / 347 MB, free: 2.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007076, allocations: 7.875 kB / 347 MB, free: 2.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001703/0.007247, allocations: 196.8 kB / 347.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.007266, allocations: 29.7 kB / 347.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.00727, allocations: 4 kB / 347.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.007279, allocations: 0 / 347.2 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.007384, allocations: 31.97 kB / 347.2 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.007387, allocations: 4 kB / 347.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.007458, allocations: 32.03 kB / 347.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.007468, allocations: 4 kB / 347.3 MB, free: 2.281 MB / 266.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 6.084e-05/0.007529, allocations: 172.5 kB / 347.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.007551, allocations: 19.94 kB / 347.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.007712, allocations: 134.3 kB / 347.6 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.007715, allocations: 3.984 kB / 347.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.007717, allocations: 4 kB / 347.6 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007721, allocations: 4 kB / 347.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.008018, allocations: 0.5472 MB / 348.1 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008019, allocations: 0 / 348.1 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.008086, allocations: 19.98 kB / 348.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008088, allocations: 0 / 348.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.008098, allocations: 15.92 kB / 348.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.008099, allocations: 0 / 348.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.008101, allocations: 3.984 kB / 348.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.008249, allocations: 291.8 kB / 348.5 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.008261, allocations: 15.84 kB / 348.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.00828, allocations: 16.02 kB / 348.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.008363, allocations: 15.98 kB / 348.5 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.008405, allocations: 15.97 kB / 348.5 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.008415, allocations: 8 kB / 348.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.911e-05/0.008444, allocations: 154.1 kB / 348.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008444, allocations: 0 / 348.7 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.00864, allocations: 36 kB / 348.7 MB, free: 0.7461 MB / 266.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 6.428e-05/0.008704, allocations: 114.1 kB / 348.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.008856, allocations: 172.6 kB / 349 MB, free: 448 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.008858, allocations: 0 / 349 MB, free: 448 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.008912, allocations: 47.59 kB / 349.1 MB, free: 396 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.009118, allocations: 23.98 kB / 349.1 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.00948, allocations: 305.6 kB / 349.4 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.265e-05/0.009533, allocations: 71.2 kB / 349.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.573e-05/0.009578, allocations: 16.58 kB / 349.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.009673, allocations: 94.19 kB / 349.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009674, allocations: 0 / 349.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of Templates: time 0.003803/0.01348, allocations: 2.288 MB / 351.8 MB, free: 13.59 MB / 282.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.768924772273749]