Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.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.001171/0.001171, 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.001413/0.001413, allocations: 211.6 kB / 22.99 MB, free: 2.961 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.9749/0.9749, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.02807/0.02807, allocations: 9.562 MB / 322.7 MB, free: 8.473 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.SimpleDiodeCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic") translateModel(ChaoticCircuits.Test.SimpleDiodeCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic") [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.001352/0.001352, allocations: 71.89 kB / 449.1 MB, free: 38.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.08617, allocations: 55.78 MB / 0.493 GB, free: 14.13 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleDiodeCharacteristic): time 0.002287/0.08845, allocations: 2.021 MB / 0.495 GB, free: 12.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005579/0.08901, allocations: 474.8 kB / 0.4955 GB, free: 11.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.08909, allocations: 0 / 0.4955 GB, free: 11.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.08919, allocations: 19.8 kB / 0.4955 GB, free: 11.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.626e-05/0.08926, allocations: 43.62 kB / 0.4955 GB, free: 11.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.0894, allocations: 35.97 kB / 0.4956 GB, free: 11.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.08954, allocations: 143.4 kB / 0.4957 GB, free: 11.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.08966, allocations: 33.28 kB / 0.4957 GB, free: 11.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.08972, allocations: 59.73 kB / 0.4958 GB, free: 11.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.08978, allocations: 47.77 kB / 0.4958 GB, free: 11.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.0898, allocations: 12 kB / 0.4958 GB, free: 11.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.08982, allocations: 12 kB / 0.4958 GB, free: 11.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.08985, allocations: 31.91 kB / 0.4959 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.08989, allocations: 51.73 kB / 0.4959 GB, free: 11.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.09003, allocations: 139.4 kB / 0.4961 GB, free: 11.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.09004, allocations: 0 / 0.4961 GB, free: 11.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09004, allocations: 4 kB / 0.4961 GB, free: 11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.09004, allocations: 0 / 0.4961 GB, free: 11 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004533/0.0905, allocations: 365.7 kB / 0.4964 GB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.09053, allocations: 8.031 kB / 0.4964 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.09057, allocations: 12.89 kB / 0.4964 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.09073, allocations: 154.3 kB / 0.4966 GB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.09074, allocations: 8.375 kB / 0.4966 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.09076, allocations: 16.12 kB / 0.4966 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.09096, allocations: 143.3 kB / 0.4967 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.09097, allocations: 7.875 kB / 0.4967 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.09098, allocations: 7.984 kB / 0.4968 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.09099, allocations: 4 kB / 0.4968 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.09113, allocations: 87.94 kB / 0.4968 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.09163, allocations: 438 kB / 0.4973 GB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.09183, allocations: 82.53 kB / 0.4973 GB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.09189, allocations: 32.83 kB / 0.4974 GB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.0919, allocations: 0 / 0.4974 GB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.09192, allocations: 34.56 kB / 0.4974 GB, free: 9.504 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.09192, allocations: 4 kB / 0.4974 GB, free: 9.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004486/0.09237, allocations: 178.3 kB / 0.4976 GB, free: 9.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.09239, allocations: 55.41 kB / 0.4976 GB, free: 9.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.09248, allocations: 147 kB / 0.4978 GB, free: 9.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.09249, allocations: 29.7 kB / 0.4978 GB, free: 9.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.09255, allocations: 127.9 kB / 0.4979 GB, free: 8.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.09256, allocations: 19.83 kB / 0.4979 GB, free: 8.914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.09258, allocations: 17.72 kB / 0.498 GB, free: 8.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.09265, allocations: 326.8 kB / 0.4983 GB, free: 8.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.09271, allocations: 23.98 kB / 0.4983 GB, free: 8.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.039e-05/0.09277, allocations: 50.55 kB / 0.4983 GB, free: 8.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.09288, allocations: 82.72 kB / 0.4984 GB, free: 8.391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.09288, allocations: 4 kB / 0.4984 GB, free: 8.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002068/0.09309, allocations: 138.4 kB / 0.4986 GB, free: 8.242 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.0931, allocations: 4 kB / 0.4986 GB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.0931, allocations: 3.938 kB / 0.4986 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.09325, allocations: 40.89 kB / 0.4986 GB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-05/0.09329, allocations: 19.92 kB / 0.4986 GB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008869/0.09418, allocations: 1.349 MB / 0.4999 GB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.09423, allocations: 11.92 kB / 0.4999 GB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.09423, allocations: 4 kB / 0.4999 GB, free: 6.691 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.0943, allocations: 125.8 kB / 0.5001 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.09432, allocations: 7.953 kB / 0.5001 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.0945, allocations: 130.8 kB / 0.5002 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.0945, allocations: 0 / 0.5002 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.09451, allocations: 7.922 kB / 0.5002 GB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.09451, allocations: 0 / 0.5002 GB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.09462, allocations: 149.2 kB / 0.5004 GB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.09462, allocations: 0 / 0.5004 GB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.09465, allocations: 19.98 kB / 0.5004 GB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.887e-05/0.09471, allocations: 28.84 kB / 0.5004 GB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.09472, allocations: 12.05 kB / 0.5004 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006704/0.09539, allocations: 1.383 MB / 0.5018 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.09539, allocations: 0 / 0.5018 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.09559, allocations: 232.3 kB / 0.502 GB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.0956, allocations: 7.906 kB / 0.502 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-06/0.0956, allocations: 4 kB / 0.502 GB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.09566, allocations: 7.984 kB / 0.502 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.09569, allocations: 11.98 kB / 0.502 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.09569, allocations: 0 / 0.502 GB, free: 4.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.806e-05/0.09574, allocations: 114.5 kB / 0.5021 GB, free: 4.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09574, allocations: 0 / 0.5021 GB, free: 4.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.09591, allocations: 35.94 kB / 0.5022 GB, free: 4.258 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 6.673e-05/0.09597, allocations: 99.19 kB / 0.5022 GB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.09623, allocations: 190.5 kB / 0.5024 GB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.09623, allocations: 0 / 0.5024 GB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.09633, allocations: 158.8 kB / 0.5026 GB, free: 3.777 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.09651, allocations: 12.38 kB / 0.5026 GB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.09689, allocations: 295.4 kB / 0.5029 GB, free: 3.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.806e-05/0.09695, allocations: 93.17 kB / 0.503 GB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.09697, allocations: 11.44 kB / 0.503 GB, free: 3.324 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.09697, allocations: 0 / 0.503 GB, free: 3.324 MB / 362.7 MB Notification: Performance of Templates: time 0.002399/0.09937, allocations: 1.936 MB / 0.5049 GB, free: 1.391 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.sim & ./ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic > ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.811675682198256]