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.0009584/0.0009584, allocations: 80.88 kB / 20.8 MB, free: 3.656 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.001651/0.001651, allocations: 165 kB / 24.22 MB, free: 240 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.057/1.057, allocations: 177.1 MB / 204.7 MB, free: 5.469 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.03672/0.03672, allocations: 7.115 MB / 268.3 MB, free: 5.918 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.623e-06/1.623e-06, allocations: 0 / 287.3 MB, free: 2.922 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.085e-05, allocations: 5.828 kB / 287.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.003251/0.003272, allocations: 2.084 MB / 289.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.004304, allocations: 0.5802 MB / 289.9 MB, free: 236 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.004387, allocations: 0 / 289.9 MB, free: 236 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.399e-05/0.004461, allocations: 23.78 kB / 289.9 MB, free: 212 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.004621, allocations: 43.64 kB / 290 MB, free: 168 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.004868, allocations: 63.78 kB / 290 MB, free: 104 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1166/0.1214, allocations: 199.7 kB / 290.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1216, allocations: 43.94 kB / 290.3 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.1218, allocations: 119 kB / 290.4 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1219, allocations: 76.28 kB / 290.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.122, allocations: 19.06 kB / 290.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.599e-05/0.122, allocations: 19.09 kB / 290.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.122, allocations: 41.7 kB / 290.6 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.1221, allocations: 66.14 kB / 290.6 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1223, allocations: 135.8 kB / 290.8 MB, free: 18.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1223, allocations: 0.5938 kB / 290.8 MB, free: 18.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1223, allocations: 1.812 kB / 290.8 MB, free: 18.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1223, allocations: 1.141 kB / 290.8 MB, free: 18.84 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.0005405/0.1228, allocations: 429.7 kB / 291.2 MB, free: 18.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1228, allocations: 9.906 kB / 291.2 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.1229, allocations: 28.09 kB / 291.2 MB, free: 18.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.161e-05/0.123, allocations: 140.1 kB / 291.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.123, allocations: 13.12 kB / 291.4 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.123, allocations: 15.23 kB / 291.4 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.1232, allocations: 150.1 kB / 291.5 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1233, allocations: 0 / 291.5 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1233, allocations: 9.094 kB / 291.5 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1233, allocations: 4.375 kB / 291.5 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.1233, allocations: 46.36 kB / 291.6 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.1238, allocations: 417.7 kB / 292 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1239, allocations: 67.17 kB / 292.1 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.124, allocations: 40.27 kB / 292.1 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.124, allocations: 6.156 kB / 292.1 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.1241, allocations: 111.5 kB / 292.2 MB, free: 17.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.61e-07/0.1241, allocations: 1.094 kB / 292.2 MB, free: 17.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001703/0.1243, allocations: 102.8 kB / 292.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.1243, allocations: 84.61 kB / 292.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.1244, allocations: 149.4 kB / 292.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1244, allocations: 31.2 kB / 292.6 MB, free: 17.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.1244, allocations: 118.9 kB / 292.7 MB, free: 17.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.1244, allocations: 35 kB / 292.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1245, allocations: 37.83 kB / 292.8 MB, free: 17.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.973e-05/0.1245, allocations: 328.3 kB / 293.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-05/0.1246, allocations: 44.77 kB / 293.1 MB, free: 17.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.1246, allocations: 97.23 kB / 293.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.106e-05/0.1247, allocations: 116.4 kB / 293.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1247, allocations: 1.156 kB / 293.3 MB, free: 17.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001325/0.1248, allocations: 169 kB / 293.5 MB, free: 16.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1248, allocations: 33.92 kB / 293.5 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1248, allocations: 5.938 kB / 293.5 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.1248, allocations: 3.719 kB / 293.5 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.125, allocations: 38.41 kB / 293.6 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.125, allocations: 4.234 kB / 293.6 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.701e-05/0.125, allocations: 19.77 kB / 293.6 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1251, allocations: 10.06 kB / 293.6 MB, free: 16.93 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 5.768e-05/0.1251, allocations: 131.5 kB / 293.7 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1251, allocations: 18.47 kB / 293.8 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.1253, allocations: 105.4 kB / 293.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1253, allocations: 4.469 kB / 293.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1253, allocations: 0 / 293.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1253, allocations: 1.859 kB / 293.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.1255, allocations: 375 kB / 294.2 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1255, allocations: 3.438 kB / 294.2 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.1256, allocations: 24.42 kB / 294.3 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1256, allocations: 1.188 kB / 294.3 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1256, allocations: 7.438 kB / 294.3 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1256, allocations: 1.766 kB / 294.3 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1256, allocations: 2.641 kB / 294.3 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.1257, allocations: 197.6 kB / 294.5 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.1257, allocations: 13.23 kB / 294.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1258, allocations: 4.734 kB / 294.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.1258, allocations: 22.5 kB / 294.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.1259, allocations: 22.38 kB / 294.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1259, allocations: 3.609 kB / 294.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.1259, allocations: 31.52 kB / 294.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1259, allocations: 2.219 kB / 294.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.1261, allocations: 44.89 kB / 294.6 MB, free: 16.33 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.124e-05/0.1262, allocations: 87.59 kB / 294.7 MB, free: 16.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1263, allocations: 165.5 kB / 294.9 MB, free: 16.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1263, allocations: 3.625 kB / 294.9 MB, free: 16.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.1264, allocations: 58.83 kB / 294.9 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.1266, allocations: 22.47 kB / 294.9 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.1269, allocations: 298 kB / 295.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.57e-05/0.127, allocations: 75.42 kB / 295.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.627e-05/0.127, allocations: 10 kB / 295.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.1271, allocations: 73.88 kB / 295.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1271, allocations: 0 / 295.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of Templates: time 0.004158/0.1313, allocations: 2.09 MB / 297.5 MB, free: 15.69 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.7366709569469094]