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.001256/0.001256, allocations: 77.95 kB / 20.66 MB, free: 3.836 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.001321/0.001321, allocations: 165.4 kB / 24.06 MB, free: 452 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.9432/0.9432, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.03355/0.03355, allocations: 7.122 MB / 268.2 MB, free: 5.863 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.312e-06/1.312e-06, allocations: 7.875 kB / 340.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.216e-05, allocations: 5.406 kB / 340.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.002116/0.002128, allocations: 2.044 MB / 342.4 MB, free: 8.594 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007151/0.002843, allocations: 0.5686 MB / 342.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.002906, allocations: 4 kB / 342.9 MB, free: 8.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.314e-05/0.002959, allocations: 23.72 kB / 342.9 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.003074, allocations: 47.58 kB / 343 MB, free: 7.949 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.00326, allocations: 63.8 kB / 343.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.003426, allocations: 203.2 kB / 343.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.003533, allocations: 41.78 kB / 343.3 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.00367, allocations: 123.7 kB / 343.4 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.00377, allocations: 67.84 kB / 343.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.003798, allocations: 20 kB / 343.5 MB, free: 7.441 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.178e-05/0.00382, allocations: 20 kB / 343.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.003854, allocations: 39.83 kB / 343.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.003909, allocations: 63.81 kB / 343.6 MB, free: 7.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.004057, allocations: 151.4 kB / 343.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.004059, allocations: 0 / 343.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004059, allocations: 0 / 343.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.004063, allocations: 0 / 343.8 MB, free: 7.172 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.0005598/0.004623, allocations: 0.5369 MB / 344.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.004657, allocations: 8.031 kB / 344.3 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.004708, allocations: 32.84 kB / 344.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.004789, allocations: 136.3 kB / 344.5 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.004808, allocations: 16.64 kB / 344.5 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.004826, allocations: 12.38 kB / 344.5 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.005028, allocations: 149 kB / 344.7 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.00504, allocations: 3.938 kB / 344.7 MB, free: 6.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.005053, allocations: 4 kB / 344.7 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005059, allocations: 4 kB / 344.7 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.005138, allocations: 48.17 kB / 344.7 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.00568, allocations: 0.5443 MB / 345.3 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.005797, allocations: 75.14 kB / 345.3 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.005871, allocations: 47.59 kB / 345.4 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.005888, allocations: 4 kB / 345.4 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.006023, allocations: 124.3 kB / 345.5 MB, free: 5.281 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.006025, allocations: 7.938 kB / 345.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002152/0.00624, allocations: 129.5 kB / 345.6 MB, free: 5.141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.006272, allocations: 81.11 kB / 345.7 MB, free: 5.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.006356, allocations: 204.8 kB / 345.9 MB, free: 4.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.006374, allocations: 33.7 kB / 346 MB, free: 4.789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.006441, allocations: 175.1 kB / 346.1 MB, free: 4.613 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.006464, allocations: 31.73 kB / 346.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.006511, allocations: 43.34 kB / 346.2 MB, free: 4.531 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.006615, allocations: 0.4962 MB / 346.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.006661, allocations: 49.67 kB / 346.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.006729, allocations: 118.9 kB / 346.9 MB, free: 3.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.00683, allocations: 135.7 kB / 347 MB, free: 3.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006832, allocations: 0 / 347 MB, free: 3.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000179/0.007011, allocations: 188.8 kB / 347.2 MB, free: 3.457 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.007036, allocations: 33.86 kB / 347.2 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.00704, allocations: 4 kB / 347.2 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.007051, allocations: 4 kB / 347.2 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.007158, allocations: 35.91 kB / 347.2 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007163, allocations: 4 kB / 347.3 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.007239, allocations: 23.94 kB / 347.3 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.007249, allocations: 4 kB / 347.3 MB, free: 3.344 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 8.222e-05/0.007331, allocations: 172.5 kB / 347.4 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.007356, allocations: 27.86 kB / 347.5 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.007539, allocations: 142.3 kB / 347.6 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.007543, allocations: 0 / 347.6 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.007544, allocations: 0 / 347.6 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.00756, allocations: 15.88 kB / 347.6 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.007578, allocations: 7.938 kB / 347.6 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.00765, allocations: 15.98 kB / 347.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.007692, allocations: 23.91 kB / 347.7 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002016/0.007894, allocations: 375.9 kB / 348 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002243/0.008118, allocations: 0.5126 MB / 348.6 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.704e-05/0.008175, allocations: 47.64 kB / 348.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.533e-05/0.00822, allocations: 150.3 kB / 348.8 MB, free: 1.828 MB / 314.7 MB Notification: Performance of Backend: time 2.4e-07/0.008221, allocations: 0 / 348.8 MB, free: 1.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.008565, allocations: 225.9 kB / 349 MB, free: 1.578 MB / 314.7 MB Notification: Performance of SimCode: time 0.00053/0.009095, allocations: 1.012 MB / 350 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of Templates: time 0.00368/0.01278, allocations: 2.601 MB / 352.6 MB, free: 13.95 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.6087370640598238]