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.001473/0.001473, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001761/0.001761, allocations: 169 kB / 24.06 MB, free: 452 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 0.9949/0.9949, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.05452/0.05452, allocations: 7.114 MB / 268.2 MB, free: 5.898 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 340.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.93e-05, allocations: 6.312 kB / 340.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleDiodeCharacteristic): time 0.002262/0.002281, allocations: 2.121 MB / 342.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006276/0.002909, allocations: 494.6 kB / 342.9 MB, free: 8.047 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.335e-05/0.002982, allocations: 4 kB / 342.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.774e-05/0.00308, allocations: 23.78 kB / 342.9 MB, free: 8.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.769e-05/0.003158, allocations: 35.64 kB / 343 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.003285, allocations: 31.95 kB / 343 MB, free: 7.953 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.00342, allocations: 147.3 kB / 343.1 MB, free: 7.809 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003522, allocations: 37.22 kB / 343.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.701e-05/0.003609, allocations: 83.8 kB / 343.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.003677, allocations: 47.89 kB / 343.3 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.003697, allocations: 12 kB / 343.3 MB, free: 7.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.003712, allocations: 12 kB / 343.3 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.003741, allocations: 35.83 kB / 343.4 MB, free: 7.586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.003776, allocations: 43.92 kB / 343.4 MB, free: 7.543 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.003903, allocations: 95.64 kB / 343.5 MB, free: 7.449 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003904, allocations: 0 / 343.5 MB, free: 7.449 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003905, allocations: 0 / 343.5 MB, free: 7.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003909, allocations: 0 / 343.5 MB, free: 7.449 MB / 314.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.0003928/0.004302, allocations: 464 kB / 343.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.00433, allocations: 8.031 kB / 344 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.00437, allocations: 20.89 kB / 344 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.004503, allocations: 152.4 kB / 344.1 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004514, allocations: 4.375 kB / 344.1 MB, free: 6.754 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.004529, allocations: 20.31 kB / 344.1 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.004664, allocations: 124.6 kB / 344.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.004672, allocations: 7.922 kB / 344.3 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004682, allocations: 7.938 kB / 344.3 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.004688, allocations: 4 kB / 344.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.438e-05/0.004732, allocations: 32.62 kB / 344.3 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.005159, allocations: 454.3 kB / 344.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.005286, allocations: 67.02 kB / 344.8 MB, free: 5.984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.005306, allocations: 15.69 kB / 344.8 MB, free: 5.965 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.005316, allocations: 4 kB / 344.8 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.005337, allocations: 45.33 kB / 344.9 MB, free: 5.906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.005338, allocations: 0 / 344.9 MB, free: 5.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003337/0.005672, allocations: 121.2 kB / 345 MB, free: 5.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.005692, allocations: 51.41 kB / 345.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.005769, allocations: 197.9 kB / 345.3 MB, free: 5.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.00578, allocations: 25.7 kB / 345.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.00584, allocations: 178.5 kB / 345.5 MB, free: 5.293 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.005849, allocations: 11.89 kB / 345.5 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.005881, allocations: 31.36 kB / 345.5 MB, free: 5.242 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.005977, allocations: 0.4884 MB / 346 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.005991, allocations: 4 kB / 346 MB, free: 4.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.00602, allocations: 38.98 kB / 346 MB, free: 4.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.536e-05/0.006065, allocations: 50.98 kB / 346.1 MB, free: 4.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006067, allocations: 0 / 346.1 MB, free: 4.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001302/0.006197, allocations: 105.2 kB / 346.2 MB, free: 4.512 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.006208, allocations: 10.5 kB / 346.2 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006212, allocations: 0 / 346.2 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.006376, allocations: 51.64 kB / 346.2 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.262e-05/0.006409, allocations: 8 kB / 346.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008294/0.007238, allocations: 1.813 MB / 348.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.007277, allocations: 4 kB / 348.1 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.007284, allocations: 3.984 kB / 348.1 MB, free: 2.5 MB / 314.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.488e-05/0.007349, allocations: 160.6 kB / 348.2 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.007369, allocations: 7.953 kB / 348.2 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.00748, allocations: 93.69 kB / 348.3 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.007482, allocations: 4.031 kB / 348.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.007483, allocations: 0 / 348.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.007485, allocations: 0 / 348.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.00759, allocations: 133.1 kB / 348.5 MB, free: 2.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007591, allocations: 0 / 348.5 MB, free: 2.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.007612, allocations: 11.94 kB / 348.5 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.007715, allocations: 43.64 kB / 348.5 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-06/0.007719, allocations: 0 / 348.5 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007354/0.008454, allocations: 1.833 MB / 350.3 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008455, allocations: 0 / 350.3 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.008613, allocations: 243.4 kB / 350.6 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.008622, allocations: 11.89 kB / 350.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-06/0.008628, allocations: 0 / 350.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.008679, allocations: 15.97 kB / 350.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.008705, allocations: 7.984 kB / 350.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.008709, allocations: 0 / 350.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.534e-05/0.008754, allocations: 147.1 kB / 350.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008754, allocations: 0 / 350.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.008937, allocations: 31.94 kB / 350.8 MB, free: 15.57 MB / 330.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.501e-05/0.009002, allocations: 95.25 kB / 350.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.009185, allocations: 220.7 kB / 351.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009186, allocations: 4.125 kB / 351.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.009271, allocations: 197.5 kB / 351.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.009442, allocations: 15.98 kB / 351.3 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.009893, allocations: 270.6 kB / 351.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.009926, allocations: 67.28 kB / 351.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.661e-05/0.009953, allocations: 4.734 kB / 351.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.01001, allocations: 82.19 kB / 351.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01001, allocations: 0 / 351.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of Templates: time 0.003026/0.01304, allocations: 1.693 MB / 353.4 MB, free: 12.87 MB / 330.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.855215224903077]