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.001544/0.001544, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 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.00159/0.00159, allocations: 219.6 kB / 23 MB, free: 2.973 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 0.9655/0.9655, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.03907/0.03907, allocations: 9.549 MB / 322.7 MB, free: 8.57 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.004768/0.004768, allocations: 71.89 kB / 449.1 MB, free: 38.03 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09639, allocations: 55.78 MB / 0.493 GB, free: 14.15 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.002388/0.09878, allocations: 1.974 MB / 0.495 GB, free: 12.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007414/0.09952, allocations: 0.5415 MB / 0.4955 GB, free: 11.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.09959, allocations: 0 / 0.4955 GB, free: 11.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.264e-05/0.09965, allocations: 23.78 kB / 0.4955 GB, free: 11.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.09977, allocations: 47.58 kB / 0.4955 GB, free: 11.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.09999, allocations: 59.86 kB / 0.4956 GB, free: 11.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1002, allocations: 195.3 kB / 0.4958 GB, free: 11.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1003, allocations: 45.72 kB / 0.4958 GB, free: 11.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1004, allocations: 91.62 kB / 0.4959 GB, free: 11.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1005, allocations: 79.66 kB / 0.496 GB, free: 11.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.1006, allocations: 20 kB / 0.496 GB, free: 11.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.363e-05/0.1006, allocations: 20 kB / 0.496 GB, free: 11.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.1006, allocations: 39.84 kB / 0.4961 GB, free: 11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.285e-05/0.1007, allocations: 75.64 kB / 0.4961 GB, free: 10.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1009, allocations: 195.2 kB / 0.4963 GB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1009, allocations: 0 / 0.4963 GB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1009, allocations: 0 / 0.4963 GB, free: 10.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1009, allocations: 0 / 0.4963 GB, free: 10.74 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.0007087/0.1016, allocations: 463.5 kB / 0.4968 GB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1016, allocations: 8.031 kB / 0.4968 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.1017, allocations: 16.84 kB / 0.4968 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1018, allocations: 142.2 kB / 0.4969 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1018, allocations: 8.656 kB / 0.4969 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1018, allocations: 28.11 kB / 0.497 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.1021, allocations: 187.7 kB / 0.4971 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1022, allocations: 0 / 0.4971 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1022, allocations: 8 kB / 0.4972 GB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1022, allocations: 0 / 0.4972 GB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.1025, allocations: 180.1 kB / 0.4973 GB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.1032, allocations: 0.536 MB / 0.4979 GB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.1035, allocations: 166.5 kB / 0.498 GB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.1037, allocations: 104.7 kB / 0.4981 GB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1038, allocations: 0 / 0.4981 GB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.1041, allocations: 172.9 kB / 0.4983 GB, free: 8.605 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.1041, allocations: 4 kB / 0.4983 GB, free: 8.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005827/0.1046, allocations: 277.5 kB / 0.4985 GB, free: 8.324 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1047, allocations: 93.09 kB / 0.4986 GB, free: 8.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.338e-05/0.1048, allocations: 148.9 kB / 0.4988 GB, free: 8.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1048, allocations: 33.7 kB / 0.4988 GB, free: 8.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.1048, allocations: 128.2 kB / 0.4989 GB, free: 7.895 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.1049, allocations: 39.73 kB / 0.499 GB, free: 7.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.1049, allocations: 37.7 kB / 0.499 GB, free: 7.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.105, allocations: 330.8 kB / 0.4993 GB, free: 7.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.1052, allocations: 97.64 kB / 0.4994 GB, free: 7.379 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.1053, allocations: 154.7 kB / 0.4996 GB, free: 7.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.1056, allocations: 219 kB / 0.4998 GB, free: 6.965 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1056, allocations: 0 / 0.4998 GB, free: 6.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005128/0.1061, allocations: 288.9 kB / 0.5 GB, free: 6.664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.1062, allocations: 37.7 kB / 0.5001 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1062, allocations: 4 kB / 0.5001 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1062, allocations: 7.984 kB / 0.5001 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1063, allocations: 35.91 kB / 0.5001 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1063, allocations: 0 / 0.5001 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.275e-05/0.1064, allocations: 31.92 kB / 0.5002 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1064, allocations: 11.88 kB / 0.5002 GB, free: 6.531 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 8.703e-05/0.1065, allocations: 141.7 kB / 0.5003 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.1065, allocations: 11.95 kB / 0.5003 GB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/0.1069, allocations: 242.2 kB / 0.5005 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1069, allocations: 4 kB / 0.5005 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1069, allocations: 0 / 0.5005 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1069, allocations: 3.984 kB / 0.5006 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.1076, allocations: 0.5743 MB / 0.5011 GB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1076, allocations: 0 / 0.5011 GB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.544e-05/0.1077, allocations: 35.94 kB / 0.5011 GB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1077, allocations: 4 kB / 0.5012 GB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1077, allocations: 4 kB / 0.5012 GB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1077, allocations: 3.938 kB / 0.5012 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1077, allocations: 4 kB / 0.5012 GB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.1081, allocations: 336.6 kB / 0.5015 GB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.1081, allocations: 23.83 kB / 0.5015 GB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1081, allocations: 4 kB / 0.5015 GB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1082, allocations: 31.89 kB / 0.5015 GB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.1083, allocations: 19.97 kB / 0.5016 GB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1083, allocations: 8 kB / 0.5016 GB, free: 5.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.1083, allocations: 111.3 kB / 0.5017 GB, free: 4.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1083, allocations: 3.938 kB / 0.5017 GB, free: 4.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.1085, allocations: 39.95 kB / 0.5017 GB, free: 4.867 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 8.653e-05/0.1086, allocations: 105.4 kB / 0.5018 GB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.109, allocations: 270.4 kB / 0.5021 GB, free: 4.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.109, allocations: 0 / 0.5021 GB, free: 4.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.1092, allocations: 100.2 kB / 0.5022 GB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.1094, allocations: 19.98 kB / 0.5022 GB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.11, allocations: 347.3 kB / 0.5025 GB, free: 3.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.944e-05/0.11, allocations: 107.5 kB / 0.5026 GB, free: 3.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.1101, allocations: 23.42 kB / 0.5026 GB, free: 3.828 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1101, allocations: 3.938 kB / 0.5026 GB, free: 3.824 MB / 362.7 MB Notification: Performance of Templates: time 0.002631/0.1127, allocations: 2.07 MB / 0.5047 GB, free: 1.762 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 > ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.834392803255469]