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.001056/0.001056, allocations: 93.06 kB / 19.65 MB, free: 276 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.001077/0.001077, allocations: 169 kB / 23.02 MB, free: 1.547 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.637 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.02607/0.02607, allocations: 7.114 MB / 267.1 MB, free: 6.055 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.774e-06/1.774e-06, allocations: 3.938 kB / 339.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.206e-05, allocations: 6.312 kB / 339.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.003467/0.003499, allocations: 2.055 MB / 341.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.004415, allocations: 0.5142 MB / 341.6 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.004497, allocations: 4 kB / 341.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.499e-05/0.004552, allocations: 19.78 kB / 341.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.004696, allocations: 43.58 kB / 341.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.004937, allocations: 51.88 kB / 341.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.005168, allocations: 187.2 kB / 341.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.005307, allocations: 29.67 kB / 342 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.005531, allocations: 103.7 kB / 342.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.00568, allocations: 59.86 kB / 342.1 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.005725, allocations: 16 kB / 342.1 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.052e-05/0.005756, allocations: 20 kB / 342.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.0058, allocations: 31.84 kB / 342.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.005883, allocations: 51.84 kB / 342.2 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.006094, allocations: 123.6 kB / 342.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.006098, allocations: 0 / 342.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006098, allocations: 4 kB / 342.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.006104, allocations: 0 / 342.4 MB, free: 6.543 MB / 266.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.0006505/0.006754, allocations: 0.5056 MB / 342.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.006794, allocations: 8.031 kB / 342.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.006865, allocations: 24.84 kB / 342.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.006989, allocations: 142.7 kB / 343 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.007007, allocations: 8.562 kB / 343.1 MB, free: 5.793 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.007038, allocations: 12.38 kB / 343.1 MB, free: 5.781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.007305, allocations: 119.4 kB / 343.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.007315, allocations: 0 / 343.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.007332, allocations: 3.984 kB / 343.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.007342, allocations: 4 kB / 343.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.00746, allocations: 44.41 kB / 343.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009509/0.00841, allocations: 454.6 kB / 343.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.008547, allocations: 63.05 kB / 343.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.008589, allocations: 31.67 kB / 343.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.008599, allocations: 0 / 343.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.00873, allocations: 87.66 kB / 343.9 MB, free: 4.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.008731, allocations: 0 / 343.9 MB, free: 4.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002416/0.008973, allocations: 101.7 kB / 344 MB, free: 4.809 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.009002, allocations: 59.39 kB / 344 MB, free: 4.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.009097, allocations: 221.1 kB / 344.2 MB, free: 4.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.00911, allocations: 29.7 kB / 344.3 MB, free: 4.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.009161, allocations: 170.7 kB / 344.4 MB, free: 4.297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.009181, allocations: 19.8 kB / 344.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.009225, allocations: 43.31 kB / 344.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.009273, allocations: 0.4923 MB / 345 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.009326, allocations: 49.69 kB / 345 MB, free: 3.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.00938, allocations: 76.77 kB / 345.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.078e-05/0.009461, allocations: 96.7 kB / 345.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009463, allocations: 0 / 345.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001531/0.009616, allocations: 164.9 kB / 345.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.009642, allocations: 33.7 kB / 345.4 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009647, allocations: 4.062 kB / 345.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.009663, allocations: 0 / 345.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.009803, allocations: 31.91 kB / 345.4 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.009808, allocations: 0 / 345.4 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.009881, allocations: 27.88 kB / 345.4 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.00989, allocations: 4 kB / 345.5 MB, free: 3.176 MB / 266.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 5.876e-05/0.009949, allocations: 162.3 kB / 345.6 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.009964, allocations: 7.953 kB / 345.6 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.009994, allocations: 21.45 kB / 345.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.009997, allocations: 4 kB / 345.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01, allocations: 4 kB / 345.6 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01, allocations: 3.938 kB / 345.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.81e-05/0.0101, allocations: 160.5 kB / 345.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.0101, allocations: 0 / 345.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.01017, allocations: 19.92 kB / 345.8 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01017, allocations: 0 / 345.8 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.01019, allocations: 11.98 kB / 345.8 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.01019, allocations: 0 / 345.8 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01019, allocations: 0 / 345.8 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.01038, allocations: 140.3 kB / 346 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.01042, allocations: 27.83 kB / 346 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01044, allocations: 3.984 kB / 346 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.01048, allocations: 12 kB / 346 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.01054, allocations: 15.97 kB / 346 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.01055, allocations: 3.938 kB / 346 MB, free: 2.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.869e-05/0.0106, allocations: 168.8 kB / 346.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0106, allocations: 0 / 346.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001527/0.01075, allocations: 27.94 kB / 346.2 MB, free: 2.328 MB / 266.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 7.921e-05/0.01083, allocations: 115.3 kB / 346.3 MB, free: 2.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.01099, allocations: 140.7 kB / 346.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01099, allocations: 0 / 346.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.01105, allocations: 39.66 kB / 346.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.01123, allocations: 27.95 kB / 346.5 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.01171, allocations: 276.4 kB / 346.8 MB, free: 1.684 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.478e-05/0.01174, allocations: 67.2 kB / 346.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.566e-05/0.01178, allocations: 12.97 kB / 346.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.01183, allocations: 20.5 kB / 346.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01183, allocations: 0 / 346.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of Templates: time 0.003973/0.0158, allocations: 2.309 MB / 349.2 MB, free: 15.29 MB / 282.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.869416364002973]