Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.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.001393/0.001393, allocations: 93.06 kB / 19.65 MB, free: 280 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.001873/0.001873, allocations: 169 kB / 23.02 MB, free: 1.551 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.047/1.047, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.02625/0.02625, allocations: 7.111 MB / 267.1 MB, free: 6.051 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.MemristorTestSpike,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike") translateModel(ChaoticCircuits.Test.MemristorTestSpike,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 339.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.568e-05/3.731e-05, allocations: 9.062 kB / 339.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.004248/0.004285, allocations: 2.052 MB / 341.1 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.005575, allocations: 0.5296 MB / 341.6 MB, free: 8.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.964e-05/0.005674, allocations: 4 kB / 341.7 MB, free: 8.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.895e-05/0.005753, allocations: 19.8 kB / 341.7 MB, free: 8.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.005955, allocations: 47.56 kB / 341.7 MB, free: 8.273 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.006303, allocations: 39.95 kB / 341.8 MB, free: 8.234 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.006602, allocations: 195.2 kB / 341.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.006783, allocations: 21.67 kB / 342 MB, free: 8.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.007031, allocations: 99.78 kB / 342.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.007166, allocations: 63.86 kB / 342.1 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.007215, allocations: 19.94 kB / 342.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.493e-05/0.00725, allocations: 20 kB / 342.2 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.007305, allocations: 35.84 kB / 342.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.007406, allocations: 55.83 kB / 342.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.007677, allocations: 119.6 kB / 342.4 MB, free: 7.613 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.007681, allocations: 0 / 342.4 MB, free: 7.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.4e-06/0.007686, allocations: 0 / 342.4 MB, free: 7.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.007695, allocations: 0 / 342.4 MB, free: 7.613 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009746/0.00867, allocations: 0.5056 MB / 342.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.008728, allocations: 12.03 kB / 342.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.008825, allocations: 24.84 kB / 342.9 MB, free: 7.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.008995, allocations: 148.2 kB / 343.1 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.009014, allocations: 8.562 kB / 343.1 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.009058, allocations: 12.38 kB / 343.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.009361, allocations: 117.4 kB / 343.2 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.00937, allocations: 0 / 343.2 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.00939, allocations: 4 kB / 343.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.0094, allocations: 0 / 343.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.009522, allocations: 35.97 kB / 343.2 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.01054, allocations: 458.7 kB / 343.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.01073, allocations: 67.03 kB / 343.7 MB, free: 6.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.0108, allocations: 31.61 kB / 343.8 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.01081, allocations: 3.984 kB / 343.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.011, allocations: 85 kB / 343.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.394e-06/0.011, allocations: 0 / 343.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003281/0.01133, allocations: 97.62 kB / 344 MB, free: 5.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.01138, allocations: 59.34 kB / 344 MB, free: 5.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.0116, allocations: 231.9 kB / 344.2 MB, free: 5.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.01162, allocations: 25.7 kB / 344.3 MB, free: 5.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.01174, allocations: 166.7 kB / 344.4 MB, free: 5.359 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.01178, allocations: 35.88 kB / 344.5 MB, free: 5.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.01188, allocations: 31.36 kB / 344.5 MB, free: 5.285 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.01209, allocations: 0.4962 MB / 345 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.01219, allocations: 41.7 kB / 345 MB, free: 4.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.01231, allocations: 76.73 kB / 345.1 MB, free: 4.637 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.01248, allocations: 96.69 kB / 345.2 MB, free: 4.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.01248, allocations: 3.938 kB / 345.2 MB, free: 4.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003148/0.01279, allocations: 165 kB / 345.4 MB, free: 4.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.01284, allocations: 32.36 kB / 345.4 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.01285, allocations: 4 kB / 345.4 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01286, allocations: 4 kB / 345.4 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.01303, allocations: 19.98 kB / 345.4 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.01304, allocations: 4 kB / 345.4 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01315, allocations: 27.94 kB / 345.5 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.01316, allocations: 7.938 kB / 345.5 MB, free: 4.238 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: 5 (trapezoidCurrent.signalSource.count,$PRE.trapezoidCurrent.signalSource.count,trapezoidCurrent.signalSource.T_start,$PRE.trapezoidCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.0001154/0.01328, allocations: 164.6 kB / 345.6 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.01331, allocations: 11.95 kB / 345.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.01335, allocations: 17.47 kB / 345.7 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01335, allocations: 0 / 345.7 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01336, allocations: 0 / 345.7 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.01337, allocations: 7.922 kB / 345.7 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.01354, allocations: 160.5 kB / 345.8 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01354, allocations: 0 / 345.8 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.01365, allocations: 19.98 kB / 345.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01365, allocations: 0 / 345.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.01367, allocations: 4 kB / 345.8 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01367, allocations: 0 / 345.8 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.01367, allocations: 0 / 345.8 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.01398, allocations: 152.2 kB / 346 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.01404, allocations: 27.77 kB / 346 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.01407, allocations: 0 / 346 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.01416, allocations: 15.98 kB / 346 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.01425, allocations: 15.97 kB / 346.1 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.01426, allocations: 8.031 kB / 346.1 MB, free: 3.582 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.01439, allocations: 155.9 kB / 346.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01439, allocations: 0 / 346.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000275/0.01467, allocations: 31.94 kB / 346.2 MB, free: 3.398 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (memristor.x) * Number of discrete variables: 3 ($whenCondition1,trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.count) * Number of discrete states: 1 (trapezoidCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001293/0.01479, allocations: 95.25 kB / 346.3 MB, free: 3.293 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.01509, allocations: 148.7 kB / 346.5 MB, free: 3.125 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01509, allocations: 0 / 346.5 MB, free: 3.125 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.01519, allocations: 35.61 kB / 346.5 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.01548, allocations: 28.11 kB / 346.5 MB, free: 3.059 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/0.01624, allocations: 274.4 kB / 346.8 MB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.211e-05/0.0163, allocations: 71.33 kB / 346.9 MB, free: 2.672 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.615e-05/0.01637, allocations: 8.984 kB / 346.9 MB, free: 2.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.01645, allocations: 24.48 kB / 346.9 MB, free: 2.637 MB / 314.7 MB Notification: Performance of SimCode: time 1.383e-06/0.01645, allocations: 3.938 kB / 346.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of Templates: time 0.005916/0.02236, allocations: 2.315 MB / 349.2 MB, free: 360 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.sim & ./ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9916411791928113]