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.001333/0.001333, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.001024/0.001024, allocations: 173.9 kB / 23.21 MB, free: 1.328 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 0.9049/0.9049, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.02692/0.02692, allocations: 7.115 MB / 267.1 MB, free: 6.242 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.262e-06/1.262e-06, allocations: 0 / 393.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.652e-05, allocations: 2.281 kB / 393.5 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.001958/0.001974, allocations: 1.969 MB / 395.4 MB, free: 1.531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006485/0.002623, allocations: 0.5686 MB / 396 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.002684, allocations: 0 / 396 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.1e-05/0.002735, allocations: 23.78 kB / 396 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.002837, allocations: 39.59 kB / 396.1 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.003014, allocations: 63.78 kB / 396.1 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.003315, allocations: 211.2 kB / 396.3 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.003434, allocations: 45.05 kB / 396.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.00357, allocations: 119.7 kB / 396.5 MB, free: 484 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.003665, allocations: 75.77 kB / 396.6 MB, free: 408 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.003696, allocations: 20 kB / 396.6 MB, free: 388 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.19e-05/0.003718, allocations: 20 kB / 396.6 MB, free: 368 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.003752, allocations: 35.84 kB / 396.6 MB, free: 332 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.00381, allocations: 59.83 kB / 396.7 MB, free: 272 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.003978, allocations: 195.5 kB / 396.9 MB, free: 76 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.003981, allocations: 3.984 kB / 396.9 MB, free: 72 kB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003982, allocations: 4 kB / 396.9 MB, free: 68 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.003985, allocations: 0 / 396.9 MB, free: 68 kB / 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.0006489/0.004634, allocations: 459.6 kB / 397.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.004667, allocations: 12.03 kB / 397.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.00471, allocations: 20.83 kB / 397.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.558e-05/0.004796, allocations: 129.6 kB / 397.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.004812, allocations: 16.66 kB / 397.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.004833, allocations: 12.38 kB / 397.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.005126, allocations: 193.1 kB / 397.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.005138, allocations: 7.922 kB / 397.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.005153, allocations: 4 kB / 397.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005159, allocations: 7.938 kB / 397.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.005461, allocations: 184.1 kB / 397.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.006095, allocations: 0.5287 MB / 398.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.0064, allocations: 170.5 kB / 398.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.006608, allocations: 108.7 kB / 398.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.006628, allocations: 4 kB / 398.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.006872, allocations: 157 kB / 398.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.006873, allocations: 0 / 398.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005273/0.0074, allocations: 301.4 kB / 399.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.00744, allocations: 81.11 kB / 399.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.007526, allocations: 149.7 kB / 399.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.007544, allocations: 29.69 kB / 399.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.007599, allocations: 132.3 kB / 399.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.007622, allocations: 35.73 kB / 399.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.007668, allocations: 37.7 kB / 399.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.007734, allocations: 326.8 kB / 400 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.007883, allocations: 105.6 kB / 400.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.008038, allocations: 145.8 kB / 400.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.008317, allocations: 214.6 kB / 400.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008319, allocations: 0 / 400.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003694/0.008688, allocations: 301.2 kB / 400.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.008715, allocations: 37.69 kB / 400.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.008719, allocations: 0 / 400.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.00873, allocations: 7.938 kB / 400.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.00884, allocations: 31.97 kB / 400.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.008845, allocations: 0 / 400.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.876e-05/0.008934, allocations: 35.86 kB / 400.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.008946, allocations: 12.02 kB / 400.8 MB, free: 11.86 MB / 330.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.45e-05/0.00903, allocations: 137.7 kB / 401 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.009044, allocations: 7.953 kB / 401 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.009441, allocations: 246.2 kB / 401.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009444, allocations: 4 kB / 401.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.009447, allocations: 0 / 401.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.009451, allocations: 0 / 401.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.01, allocations: 0.5724 MB / 401.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01, allocations: 4.031 kB / 401.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.01008, allocations: 31.91 kB / 401.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01008, allocations: 7.938 kB / 401.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.0101, allocations: 7.984 kB / 401.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.0101, allocations: 0 / 401.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.0101, allocations: 4 kB / 401.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.01046, allocations: 338.3 kB / 402.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.01048, allocations: 19.84 kB / 402.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.0105, allocations: 7.984 kB / 402.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.0106, allocations: 23.97 kB / 402.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.01065, allocations: 19.95 kB / 402.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.01067, allocations: 19.92 kB / 402.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.536e-05/0.01071, allocations: 106.6 kB / 402.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01071, allocations: 0 / 402.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001824/0.01089, allocations: 47.98 kB / 402.4 MB, free: 10.19 MB / 330.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.512e-05/0.01097, allocations: 111.2 kB / 402.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.01135, allocations: 268.8 kB / 402.8 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01135, allocations: 4.312 kB / 402.8 MB, free: 9.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.01151, allocations: 95.86 kB / 402.9 MB, free: 9.695 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.01171, allocations: 19.98 kB / 402.9 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.0123, allocations: 340.5 kB / 403.2 MB, free: 9.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.066e-05/0.01237, allocations: 111.7 kB / 403.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.01243, allocations: 20.5 kB / 403.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01243, allocations: 0 / 403.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of Templates: time 0.002406/0.01483, allocations: 2.059 MB / 405.4 MB, free: 7.109 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 > ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.372897102031857]