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.001824/0.001824, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001914/0.001914, allocations: 217.4 kB / 22.25 MB, free: 3.582 MB / 13.93 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.861/1.861, allocations: 230.6 MB / 256 MB, free: 9.637 MB / 202.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.05999/0.05999, allocations: 9.554 MB / 322 MB, free: 8.465 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: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003606/0.003606, allocations: 75.89 kB / 449.1 MB, free: 37.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1124, allocations: 55.78 MB / 0.4931 GB, free: 13.34 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.003801/0.1162, allocations: 1.969 MB / 0.495 GB, free: 11.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1173, allocations: 0.5377 MB / 0.4955 GB, free: 10.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.1174, allocations: 4 kB / 0.4955 GB, free: 10.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.45e-05/0.1175, allocations: 19.73 kB / 0.4955 GB, free: 10.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1176, allocations: 43.64 kB / 0.4956 GB, free: 10.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1179, allocations: 63.86 kB / 0.4956 GB, free: 10.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.1182, allocations: 199.3 kB / 0.4958 GB, free: 10.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1183, allocations: 49.64 kB / 0.4959 GB, free: 10.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1185, allocations: 83.7 kB / 0.4959 GB, free: 10.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1187, allocations: 87.59 kB / 0.496 GB, free: 10.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.1187, allocations: 16 kB / 0.496 GB, free: 10.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.114e-05/0.1187, allocations: 20 kB / 0.4961 GB, free: 10.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.1188, allocations: 39.89 kB / 0.4961 GB, free: 10.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1189, allocations: 79.59 kB / 0.4962 GB, free: 10.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.1192, allocations: 183.3 kB / 0.4963 GB, free: 9.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1192, allocations: 0 / 0.4963 GB, free: 9.941 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1192, allocations: 4 kB / 0.4964 GB, free: 9.938 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1192, allocations: 0 / 0.4964 GB, free: 9.938 MB / 362.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.001176/0.1204, allocations: 463.4 kB / 0.4968 GB, free: 9.449 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1205, allocations: 8.031 kB / 0.4968 GB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.1205, allocations: 20.84 kB / 0.4968 GB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1207, allocations: 138.3 kB / 0.497 GB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.1207, allocations: 16.59 kB / 0.497 GB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.1208, allocations: 16.12 kB / 0.497 GB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.1213, allocations: 191.7 kB / 0.4972 GB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1213, allocations: 0 / 0.4972 GB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.1213, allocations: 7.938 kB / 0.4972 GB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1214, allocations: 4 kB / 0.4972 GB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.1219, allocations: 180 kB / 0.4973 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.1231, allocations: 0.5399 MB / 0.4979 GB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.1237, allocations: 170.5 kB / 0.498 GB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.1241, allocations: 100.8 kB / 0.4981 GB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1241, allocations: 0 / 0.4981 GB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/0.1246, allocations: 173 kB / 0.4983 GB, free: 7.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1246, allocations: 0 / 0.4983 GB, free: 7.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001012/0.1256, allocations: 293.8 kB / 0.4986 GB, free: 7.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.1257, allocations: 81.11 kB / 0.4987 GB, free: 7.406 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1258, allocations: 148.9 kB / 0.4988 GB, free: 7.254 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.1259, allocations: 33.7 kB / 0.4988 GB, free: 7.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.126, allocations: 124.3 kB / 0.499 GB, free: 7.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.126, allocations: 35.73 kB / 0.499 GB, free: 7.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.1261, allocations: 33.7 kB / 0.499 GB, free: 7.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.1263, allocations: 330.8 kB / 0.4993 GB, free: 6.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.1266, allocations: 105.6 kB / 0.4994 GB, free: 6.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.127, allocations: 150.7 kB / 0.4996 GB, free: 6.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/0.1276, allocations: 218.7 kB / 0.4998 GB, free: 6.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1276, allocations: 0 / 0.4998 GB, free: 6.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007385/0.1283, allocations: 292.8 kB / 0.5001 GB, free: 5.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.1283, allocations: 41.69 kB / 0.5001 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1283, allocations: 4 kB / 0.5001 GB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.1284, allocations: 4 kB / 0.5001 GB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.1286, allocations: 31.91 kB / 0.5001 GB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1286, allocations: 4 kB / 0.5001 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.1288, allocations: 35.89 kB / 0.5002 GB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1288, allocations: 11.94 kB / 0.5002 GB, free: 5.723 MB / 362.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.0001405/0.129, allocations: 129.8 kB / 0.5003 GB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.129, allocations: 15.95 kB / 0.5003 GB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007547/0.1297, allocations: 251.8 kB / 0.5006 GB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1297, allocations: 4 kB / 0.5006 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1297, allocations: 0 / 0.5006 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1297, allocations: 0 / 0.5006 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.1309, allocations: 0.5724 MB / 0.5011 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1309, allocations: 4 kB / 0.5011 GB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.1311, allocations: 31.91 kB / 0.5012 GB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1311, allocations: 0 / 0.5012 GB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.1311, allocations: 8 kB / 0.5012 GB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.1311, allocations: 8.016 kB / 0.5012 GB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1311, allocations: 3.938 kB / 0.5012 GB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.1318, allocations: 335.1 kB / 0.5015 GB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.1319, allocations: 15.84 kB / 0.5015 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.1319, allocations: 15.92 kB / 0.5015 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1321, allocations: 23.91 kB / 0.5016 GB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.1322, allocations: 23.91 kB / 0.5016 GB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1322, allocations: 8 kB / 0.5016 GB, free: 4.215 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1323, allocations: 111.2 kB / 0.5017 GB, free: 4.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1323, allocations: 4 kB / 0.5017 GB, free: 4.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.1326, allocations: 43.89 kB / 0.5017 GB, free: 4.059 MB / 362.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.000133/0.1327, allocations: 99.25 kB / 0.5018 GB, free: 3.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007299/0.1335, allocations: 277 kB / 0.5021 GB, free: 3.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1335, allocations: 0 / 0.5021 GB, free: 3.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.1338, allocations: 95.91 kB / 0.5022 GB, free: 3.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1341, allocations: 26.33 kB / 0.5022 GB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.135, allocations: 309.9 kB / 0.5025 GB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.1351, allocations: 107.5 kB / 0.5026 GB, free: 3.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.228e-05/0.1352, allocations: 16.64 kB / 0.5026 GB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.1352, allocations: 23.42 kB / 0.5027 GB, free: 3.043 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1352, allocations: 0 / 0.5027 GB, free: 3.043 MB / 362.7 MB Notification: Performance of Templates: time 0.006099/0.1413, allocations: 2.202 MB / 0.5048 GB, free: 0.8672 MB / 362.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.7036206889897585]