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.002059/0.002059, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.002138/0.002138, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.669/1.669, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 178] 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.0726/0.0726, allocations: 7.115 MB / 266.3 MB, free: 6.27 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.603e-06/1.603e-06, allocations: 0 / 393.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.41e-05/3.571e-05, allocations: 6.219 kB / 393.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.003527/0.003563, allocations: 1.958 MB / 395.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.004675, allocations: 0.5723 MB / 396 MB, free: 188 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.004765, allocations: 4 kB / 396 MB, free: 184 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.027e-05/0.004836, allocations: 19.78 kB / 396 MB, free: 164 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.004993, allocations: 47.62 kB / 396.1 MB, free: 116 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.005245, allocations: 67.8 kB / 396.2 MB, free: 48 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.005572, allocations: 199.2 kB / 396.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.005734, allocations: 37.78 kB / 396.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.005951, allocations: 127.6 kB / 396.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.006109, allocations: 75.78 kB / 396.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.006155, allocations: 16 kB / 396.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.006193, allocations: 20 kB / 396.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.006251, allocations: 35.91 kB / 396.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.006358, allocations: 67.81 kB / 396.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.006667, allocations: 203.4 kB / 396.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006669, allocations: 0 / 396.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.00667, allocations: 0 / 396.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.006675, allocations: 0 / 396.9 MB, free: 15.28 MB / 330.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.00105/0.007725, allocations: 455.5 kB / 397.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.007766, allocations: 12.03 kB / 397.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.007828, allocations: 24.78 kB / 397.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.007987, allocations: 141.5 kB / 397.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.008016, allocations: 16.64 kB / 397.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.008048, allocations: 12.38 kB / 397.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.008591, allocations: 189.1 kB / 397.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.008603, allocations: 3.938 kB / 397.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.008624, allocations: 4 kB / 397.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.008634, allocations: 7.984 kB / 397.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.00925, allocations: 176 kB / 397.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.01043, allocations: 0.5328 MB / 398.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/0.01106, allocations: 162.5 kB / 398.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.01144, allocations: 112.6 kB / 398.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.01148, allocations: 4 kB / 398.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004689/0.01195, allocations: 157 kB / 398.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.01195, allocations: 0 / 398.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.001069/0.01302, allocations: 289.5 kB / 399.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.01311, allocations: 89.09 kB / 399.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.01329, allocations: 152.9 kB / 399.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.01349, allocations: 29.7 kB / 399.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.01361, allocations: 128.3 kB / 399.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.01366, allocations: 35.67 kB / 399.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.01375, allocations: 37.7 kB / 399.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.01395, allocations: 330.8 kB / 400 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.01427, allocations: 109.6 kB / 400.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.01462, allocations: 142.8 kB / 400.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.01522, allocations: 214.7 kB / 400.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01522, allocations: 0 / 400.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007568/0.01598, allocations: 296.7 kB / 400.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.01603, allocations: 33.7 kB / 400.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01603, allocations: 0 / 400.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.01605, allocations: 4 kB / 400.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.01627, allocations: 39.89 kB / 400.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.01628, allocations: 4.156 kB / 400.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.01649, allocations: 27.92 kB / 400.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.01651, allocations: 15.94 kB / 400.8 MB, free: 11.08 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 0.0001472/0.01665, allocations: 129.7 kB / 401 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.01668, allocations: 11.95 kB / 401 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/0.01748, allocations: 250.2 kB / 401.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.01749, allocations: 4 kB / 401.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.01749, allocations: 0 / 401.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.0175, allocations: 96 / 401.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.01864, allocations: 0.5802 MB / 401.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01864, allocations: 0 / 401.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.01881, allocations: 31.91 kB / 401.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.01882, allocations: 3.984 kB / 401.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.01884, allocations: 4 kB / 401.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01884, allocations: 0 / 401.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.01884, allocations: 4 kB / 401.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007753/0.01962, allocations: 340.5 kB / 402.2 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.01965, allocations: 19.89 kB / 402.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.01968, allocations: 7.938 kB / 402.2 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.01989, allocations: 23.97 kB / 402.2 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.01998, allocations: 19.97 kB / 402.2 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.02, allocations: 11.92 kB / 402.3 MB, free: 9.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.02011, allocations: 118.3 kB / 402.4 MB, free: 9.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02011, allocations: 0 / 402.4 MB, free: 9.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.02041, allocations: 43.89 kB / 402.4 MB, free: 9.418 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 0.0001386/0.02055, allocations: 102.5 kB / 402.5 MB, free: 9.312 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000757/0.02131, allocations: 278 kB / 402.8 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02131, allocations: 0 / 402.8 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.02165, allocations: 99.86 kB / 402.9 MB, free: 8.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.02195, allocations: 16.42 kB / 402.9 MB, free: 8.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000812/0.02276, allocations: 323.1 kB / 403.2 MB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.02288, allocations: 103.6 kB / 403.3 MB, free: 8.445 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.115e-05/0.02295, allocations: 16.64 kB / 403.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.02301, allocations: 20.44 kB / 403.4 MB, free: 8.41 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.02301, allocations: 0 / 403.4 MB, free: 8.41 MB / 330.7 MB Notification: Performance of Templates: time 0.006153/0.02917, allocations: 2.066 MB / 405.4 MB, free: 6.371 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.257641288917512]