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.001198/0.001198, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001875/0.003072, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001257/0.001257, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00163/0.002887, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.015/1.015, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09168/1.107, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.02938/0.02938, allocations: 7.119 MB / 251.1 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004697/0.03408, allocations: 2.833 MB / 253.9 MB, free: 5.027 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.213e-06/1.213e-06, allocations: 0 / 255.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.655e-05, allocations: 2.312 kB / 255.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.002315/0.002332, allocations: 2.084 MB / 257.3 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009065/0.003238, allocations: 0.5881 MB / 257.9 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.003315, allocations: 0 / 257.9 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.189e-05/0.003367, allocations: 19.8 kB / 257.9 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.13e-05/0.003458, allocations: 47.56 kB / 257.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.0036, allocations: 67.73 kB / 258 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.003786, allocations: 203.2 kB / 258.2 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.00389, allocations: 42.42 kB / 258.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.004049, allocations: 135.8 kB / 258.4 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.004153, allocations: 71.78 kB / 258.4 MB, free: 484 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.004186, allocations: 20 kB / 258.5 MB, free: 464 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.004209, allocations: 20 kB / 258.5 MB, free: 444 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.004243, allocations: 27.88 kB / 258.5 MB, free: 416 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.004297, allocations: 43.94 kB / 258.5 MB, free: 372 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.004488, allocations: 127.5 kB / 258.7 MB, free: 244 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.741e-05/0.004505, allocations: 4 kB / 258.7 MB, free: 240 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004506, allocations: 0 / 258.7 MB, free: 240 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.004522, allocations: 0 / 258.7 MB, free: 240 kB / 250.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.0006726/0.005194, allocations: 453.7 kB / 259.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.005227, allocations: 12.58 kB / 259.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.005277, allocations: 24.92 kB / 259.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.005383, allocations: 137.5 kB / 259.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.005404, allocations: 12.66 kB / 259.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.005423, allocations: 16.38 kB / 259.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.005629, allocations: 147 kB / 259.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.005638, allocations: 3.938 kB / 259.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.005651, allocations: 4 kB / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.005658, allocations: 4 kB / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.005731, allocations: 48.12 kB / 259.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.006297, allocations: 437.2 kB / 259.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.00642, allocations: 62.55 kB / 260 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.006499, allocations: 44.81 kB / 260.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.006521, allocations: 4 kB / 260.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.006677, allocations: 112.3 kB / 260.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.006678, allocations: 0 / 260.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001842/0.006862, allocations: 105.6 kB / 260.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.006903, allocations: 81.11 kB / 260.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.00699, allocations: 146.6 kB / 260.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.007007, allocations: 25.7 kB / 260.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.00706, allocations: 120.3 kB / 260.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.007085, allocations: 47.59 kB / 260.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.00713, allocations: 37.69 kB / 260.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.007216, allocations: 322.8 kB / 261 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.00727, allocations: 49.59 kB / 261.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.007325, allocations: 86.83 kB / 261.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.007429, allocations: 127.2 kB / 261.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.007431, allocations: 0 / 261.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001462/0.007578, allocations: 164.9 kB / 261.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.007615, allocations: 36.67 kB / 261.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.007621, allocations: 0 / 261.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.007631, allocations: 8.156 kB / 261.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.007759, allocations: 43.91 kB / 261.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.007762, allocations: 0 / 261.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.363e-05/0.007846, allocations: 19.94 kB / 261.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.007864, allocations: 8 kB / 261.6 MB, free: 13.08 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 0.0001091/0.007973, allocations: 121.8 kB / 261.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.007998, allocations: 19.86 kB / 261.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.00816, allocations: 106.3 kB / 261.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.008165, allocations: 4 kB / 261.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.008172, allocations: 3.938 kB / 261.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.008177, allocations: 0 / 261.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.008498, allocations: 385.8 kB / 262.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.008501, allocations: 0 / 262.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.008579, allocations: 23.98 kB / 262.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.008591, allocations: 7.953 kB / 262.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.008594, allocations: 0 / 262.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.008606, allocations: 19.95 kB / 262.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.008608, allocations: 0 / 262.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.00861, allocations: 0 / 262.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.008748, allocations: 192.7 kB / 262.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.008771, allocations: 11.98 kB / 262.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.008852, allocations: 15.98 kB / 262.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.008902, allocations: 23.97 kB / 262.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.008911, allocations: 7.984 kB / 262.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.78e-05/0.008939, allocations: 31.83 kB / 262.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008939, allocations: 0 / 262.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.009126, allocations: 47.89 kB / 262.6 MB, free: 12.02 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 9.248e-05/0.009219, allocations: 92.3 kB / 262.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.00939, allocations: 157.9 kB / 262.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.009398, allocations: 4 kB / 262.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.009456, allocations: 48.44 kB / 262.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.00964, allocations: 36.33 kB / 262.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000751/0.01039, allocations: 318.1 kB / 263.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.63e-05/0.01044, allocations: 75.33 kB / 263.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.01049, allocations: 12.64 kB / 263.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.01058, allocations: 71.36 kB / 263.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01058, allocations: 0 / 263.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of Templates: time 0.004142/0.01472, allocations: 2.135 MB / 265.5 MB, free: 9.031 MB / 266.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.415545381605625]