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.0009701/0.0009701, 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.0012/0.0012, 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 1.025/1.025, 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.02594/0.02594, allocations: 7.124 MB / 268.2 MB, free: 5.898 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.704e-06/1.704e-06, allocations: 0 / 339.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.442e-05, allocations: 4.703 kB / 339.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.00232/0.002344, allocations: 2.044 MB / 341.5 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007381/0.003082, allocations: 0.5648 MB / 342.1 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.003154, allocations: 0 / 342.1 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.213e-05/0.003206, allocations: 31.72 kB / 342.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.003326, allocations: 43.58 kB / 342.2 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.003524, allocations: 63.78 kB / 342.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.003678, allocations: 203.2 kB / 342.4 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.003792, allocations: 41.78 kB / 342.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.003923, allocations: 115.8 kB / 342.6 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.00403, allocations: 79.77 kB / 342.7 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.004061, allocations: 20 kB / 342.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.131e-05/0.004082, allocations: 20 kB / 342.7 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.004113, allocations: 39.83 kB / 342.7 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.004159, allocations: 59.84 kB / 342.8 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.004302, allocations: 143.5 kB / 342.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004304, allocations: 0 / 342.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004305, allocations: 0 / 342.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004309, allocations: 0 / 342.9 MB, free: 6.945 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.0005245/0.004833, allocations: 0.5485 MB / 343.5 MB, free: 6.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.004865, allocations: 12.03 kB / 343.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.004911, allocations: 32.83 kB / 343.5 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.288e-05/0.004984, allocations: 136.3 kB / 343.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.005004, allocations: 12.66 kB / 343.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.005021, allocations: 16.36 kB / 343.7 MB, free: 6.125 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.005208, allocations: 141 kB / 343.8 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005217, allocations: 3.938 kB / 343.8 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.00523, allocations: 11.98 kB / 343.8 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.005235, allocations: 4 kB / 343.8 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.637e-05/0.005301, allocations: 56.11 kB / 343.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.005777, allocations: 0.5326 MB / 344.4 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.005894, allocations: 75.09 kB / 344.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.005975, allocations: 51.64 kB / 344.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.005996, allocations: 8 kB / 344.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.00613, allocations: 120.3 kB / 344.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.006131, allocations: 0 / 344.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002157/0.006347, allocations: 137.4 kB / 344.8 MB, free: 4.898 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.006374, allocations: 81.11 kB / 344.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.00644, allocations: 204.6 kB / 345.1 MB, free: 4.586 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.006453, allocations: 33.7 kB / 345.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.006499, allocations: 167.1 kB / 345.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.006517, allocations: 35.77 kB / 345.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.006565, allocations: 43.47 kB / 345.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.006609, allocations: 0.5 MB / 345.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.006649, allocations: 45.69 kB / 345.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.903e-05/0.006698, allocations: 114.9 kB / 346 MB, free: 3.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.006777, allocations: 127.7 kB / 346.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.00678, allocations: 3.938 kB / 346.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001629/0.006943, allocations: 200.7 kB / 346.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.006969, allocations: 37.69 kB / 346.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006974, allocations: 0 / 346.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.006985, allocations: 7.984 kB / 346.4 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.007094, allocations: 31.98 kB / 346.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.007098, allocations: 3.984 kB / 346.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.007169, allocations: 23.88 kB / 346.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.007179, allocations: 8 kB / 346.5 MB, free: 3.098 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.607e-05/0.007245, allocations: 180.6 kB / 346.6 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.007264, allocations: 11.95 kB / 346.6 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.007432, allocations: 138.3 kB / 346.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007435, allocations: 4 kB / 346.8 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.007436, allocations: 0 / 346.8 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.00744, allocations: 3.938 kB / 346.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.007751, allocations: 0.5433 MB / 347.3 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007753, allocations: 4.031 kB / 347.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.007819, allocations: 27.98 kB / 347.4 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.007821, allocations: 0 / 347.4 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.007837, allocations: 3.984 kB / 347.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.007839, allocations: 7.938 kB / 347.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.007841, allocations: 3.984 kB / 347.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.007988, allocations: 299.8 kB / 347.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.008001, allocations: 11.91 kB / 347.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.008019, allocations: 0 / 347.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.008104, allocations: 27.97 kB / 347.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.008154, allocations: 19.97 kB / 347.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.008165, allocations: 3.984 kB / 347.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.792e-05/0.008193, allocations: 150.1 kB / 347.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008193, allocations: 0 / 347.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.008377, allocations: 39.94 kB / 347.9 MB, free: 1.559 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 7.181e-05/0.008449, allocations: 102.2 kB / 348 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.008594, allocations: 168.6 kB / 348.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.008595, allocations: 4.312 kB / 348.2 MB, free: 1.262 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.384e-05/0.008649, allocations: 59.53 kB / 348.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.008867, allocations: 23.98 kB / 348.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.009249, allocations: 326.9 kB / 348.6 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.813e-05/0.009297, allocations: 111.5 kB / 348.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/0.009384, allocations: 94.19 kB / 348.8 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009385, allocations: 0 / 348.8 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of Templates: time 0.002419/0.0118, allocations: 2.075 MB / 350.9 MB, free: 14.53 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 > ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.659415930043906]