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.001005/0.001005, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001304/0.001304, allocations: 177 kB / 23.36 MB, free: 1.129 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.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.027/0.027, allocations: 7.124 MB / 267.4 MB, free: 5.953 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.804e-06/1.804e-06, allocations: 0 / 286.2 MB, free: 3.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.329e-05, allocations: 9.828 kB / 286.3 MB, free: 3.062 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.00279/0.002814, allocations: 2.036 MB / 288.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008927/0.003706, allocations: 0.5724 MB / 288.9 MB, free: 440 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.198e-05/0.003778, allocations: 4 kB / 288.9 MB, free: 436 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.088e-05/0.003829, allocations: 19.78 kB / 288.9 MB, free: 416 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.003963, allocations: 39.59 kB / 288.9 MB, free: 376 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.004188, allocations: 63.78 kB / 289 MB, free: 312 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.004381, allocations: 207.2 kB / 289.2 MB, free: 104 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.004491, allocations: 54.36 kB / 289.2 MB, free: 52 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1481/0.1526, allocations: 111.8 kB / 289.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1527, allocations: 78.75 kB / 289.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.1528, allocations: 19.38 kB / 289.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.591e-05/0.1528, allocations: 18.41 kB / 289.5 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.1529, allocations: 43.88 kB / 289.5 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.1529, allocations: 59.97 kB / 289.6 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1532, allocations: 138.1 kB / 289.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1532, allocations: 2.484 kB / 289.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1532, allocations: 1.156 kB / 289.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1532, allocations: 0.5625 kB / 289.7 MB, free: 19.31 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.0005907/0.1538, allocations: 425.9 kB / 290.1 MB, free: 19.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1538, allocations: 9.594 kB / 290.1 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.1539, allocations: 26.53 kB / 290.2 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.154, allocations: 133.7 kB / 290.3 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.154, allocations: 11.73 kB / 290.3 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.154, allocations: 18.44 kB / 290.3 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.1542, allocations: 155.2 kB / 290.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1542, allocations: 0 / 290.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1542, allocations: 10.36 kB / 290.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1543, allocations: 4.344 kB / 290.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.436e-05/0.1543, allocations: 42.92 kB / 290.5 MB, free: 18.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.1549, allocations: 423.2 kB / 290.9 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.155, allocations: 68.42 kB / 291 MB, free: 18.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.625e-05/0.1551, allocations: 40.67 kB / 291 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1551, allocations: 2.688 kB / 291 MB, free: 18.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1553, allocations: 111 kB / 291.2 MB, free: 18.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.1553, allocations: 0 / 291.2 MB, free: 18.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000182/0.1555, allocations: 106.2 kB / 291.3 MB, free: 18.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.1555, allocations: 84.08 kB / 291.3 MB, free: 18.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.1556, allocations: 148 kB / 291.5 MB, free: 18.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1556, allocations: 28.62 kB / 291.5 MB, free: 18.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.1556, allocations: 120 kB / 291.6 MB, free: 18.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.1556, allocations: 34.3 kB / 291.7 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.1557, allocations: 46.89 kB / 291.7 MB, free: 18.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.1557, allocations: 327.7 kB / 292 MB, free: 17.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.395e-05/0.1558, allocations: 44.58 kB / 292.1 MB, free: 17.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.1558, allocations: 82.94 kB / 292.2 MB, free: 17.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.69e-05/0.1559, allocations: 121.9 kB / 292.3 MB, free: 17.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1559, allocations: 0.75 kB / 292.3 MB, free: 17.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001562/0.1561, allocations: 164.5 kB / 292.4 MB, free: 17.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.1561, allocations: 35.97 kB / 292.5 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1561, allocations: 3.484 kB / 292.5 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1561, allocations: 4.797 kB / 292.5 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1563, allocations: 38.3 kB / 292.5 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1563, allocations: 3.297 kB / 292.5 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.309e-05/0.1563, allocations: 27.61 kB / 292.5 MB, free: 17.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1563, allocations: 5.281 kB / 292.6 MB, free: 17.42 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.228e-05/0.1564, allocations: 132.9 kB / 292.7 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1564, allocations: 15.78 kB / 292.7 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.1566, allocations: 101 kB / 292.8 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1566, allocations: 3.547 kB / 292.8 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1566, allocations: 5.312 kB / 292.8 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1566, allocations: 2.438 kB / 292.8 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.1569, allocations: 377.4 kB / 293.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1569, allocations: 1.219 kB / 293.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.39e-05/0.1569, allocations: 21.78 kB / 293.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1569, allocations: 1.781 kB / 293.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1569, allocations: 7.062 kB / 293.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1569, allocations: 4.438 kB / 293.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1569, allocations: 1.125 kB / 293.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.1571, allocations: 199.9 kB / 293.4 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.1571, allocations: 15.33 kB / 293.4 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.1571, allocations: 6.828 kB / 293.4 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.1572, allocations: 17.12 kB / 293.4 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.1572, allocations: 23.42 kB / 293.5 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1572, allocations: 3.828 kB / 293.5 MB, free: 16.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.776e-05/0.1573, allocations: 34.52 kB / 293.5 MB, free: 16.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1573, allocations: 1.125 kB / 293.5 MB, free: 16.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.1574, allocations: 43.45 kB / 293.5 MB, free: 16.82 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 8.83e-05/0.1575, allocations: 87.66 kB / 293.6 MB, free: 16.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.1577, allocations: 167.7 kB / 293.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1577, allocations: 0.5312 kB / 293.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.142e-05/0.1578, allocations: 53.81 kB / 293.9 MB, free: 16.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.158, allocations: 21.14 kB / 293.9 MB, free: 16.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.1584, allocations: 302.5 kB / 294.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.35e-05/0.1584, allocations: 71.69 kB / 294.2 MB, free: 16.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.1585, allocations: 10.31 kB / 294.2 MB, free: 16.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.1585, allocations: 70.14 kB / 294.3 MB, free: 16.33 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1585, allocations: 0 / 294.3 MB, free: 16.33 MB / 266.7 MB Notification: Performance of Templates: time 0.004294/0.1628, allocations: 2.093 MB / 296.4 MB, free: 16.18 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 os._exit(0), Time elapsed: 242.86767570208758]