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.00112/0.00112, 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.002126/0.002126, allocations: 206.8 kB / 22.99 MB, free: 2.977 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 1.046/1.046, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.02896/0.02896, allocations: 9.551 MB / 322.7 MB, free: 8.574 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: 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.00155/0.00155, allocations: 74.25 kB / 449.1 MB, free: 38.03 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.09136, allocations: 55.78 MB / 0.493 GB, free: 14.14 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.002554/0.09392, allocations: 1.963 MB / 0.4949 GB, free: 12.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.09461, allocations: 0.5026 MB / 0.4954 GB, free: 11.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.09468, allocations: 7.875 kB / 0.4954 GB, free: 11.65 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.09473, allocations: 15.86 kB / 0.4955 GB, free: 11.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.09485, allocations: 47.62 kB / 0.4955 GB, free: 11.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.09506, allocations: 43.89 kB / 0.4955 GB, free: 11.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.09524, allocations: 183.3 kB / 0.4957 GB, free: 11.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.09536, allocations: 25.66 kB / 0.4957 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.09548, allocations: 71.77 kB / 0.4958 GB, free: 11.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.09558, allocations: 75.62 kB / 0.4959 GB, free: 11.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.09561, allocations: 16 kB / 0.4959 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.09563, allocations: 16 kB / 0.4959 GB, free: 11.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.09567, allocations: 31.91 kB / 0.4959 GB, free: 11.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.09574, allocations: 59.72 kB / 0.496 GB, free: 11.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.09593, allocations: 183.3 kB / 0.4962 GB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.09593, allocations: 0 / 0.4962 GB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.09593, allocations: 0 / 0.4962 GB, free: 10.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.09594, allocations: 0 / 0.4962 GB, free: 10.89 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006627/0.0966, allocations: 427.5 kB / 0.4966 GB, free: 10.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.09664, allocations: 12.03 kB / 0.4966 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.09669, allocations: 16.84 kB / 0.4966 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.09681, allocations: 146.2 kB / 0.4968 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.09682, allocations: 12.31 kB / 0.4968 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.09685, allocations: 12 kB / 0.4968 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.09712, allocations: 129.6 kB / 0.4969 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.09713, allocations: 0 / 0.4969 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.09714, allocations: 8 kB / 0.4969 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.09715, allocations: 3.938 kB / 0.4969 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.09742, allocations: 143.7 kB / 0.497 GB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/0.09818, allocations: 419.1 kB / 0.4974 GB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.09853, allocations: 138.5 kB / 0.4976 GB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.09866, allocations: 60.81 kB / 0.4976 GB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.09868, allocations: 0 / 0.4976 GB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.09892, allocations: 119.5 kB / 0.4978 GB, free: 9.152 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.09892, allocations: 0 / 0.4978 GB, free: 9.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005036/0.09943, allocations: 225.5 kB / 0.498 GB, free: 8.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.09947, allocations: 55.41 kB / 0.498 GB, free: 8.859 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.09961, allocations: 174.1 kB / 0.4982 GB, free: 8.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.09963, allocations: 29.69 kB / 0.4982 GB, free: 8.645 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.0997, allocations: 116 kB / 0.4983 GB, free: 8.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.09972, allocations: 23.8 kB / 0.4983 GB, free: 8.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.09978, allocations: 37.66 kB / 0.4984 GB, free: 8.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.09987, allocations: 322.8 kB / 0.4987 GB, free: 8.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1, allocations: 93.64 kB / 0.4988 GB, free: 8.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1002, allocations: 108.2 kB / 0.4989 GB, free: 7.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.1005, allocations: 172.1 kB / 0.499 GB, free: 7.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1005, allocations: 0 / 0.499 GB, free: 7.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003705/0.1008, allocations: 252.8 kB / 0.4993 GB, free: 7.469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.1009, allocations: 35.89 kB / 0.4993 GB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1009, allocations: 8.062 kB / 0.4993 GB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1009, allocations: 3.938 kB / 0.4993 GB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.101, allocations: 31.91 kB / 0.4994 GB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.101, allocations: 0 / 0.4994 GB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-05/0.1011, allocations: 27.92 kB / 0.4994 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1011, allocations: 4 kB / 0.4994 GB, free: 7.355 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: 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 9.194e-05/0.1012, allocations: 125 kB / 0.4995 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.1013, allocations: 11.95 kB / 0.4995 GB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.1013, allocations: 21.39 kB / 0.4995 GB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1013, allocations: 7.938 kB / 0.4996 GB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1013, allocations: 0 / 0.4996 GB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1013, allocations: 0 / 0.4996 GB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1014, allocations: 157.2 kB / 0.4997 GB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1014, allocations: 0 / 0.4997 GB, free: 7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1015, allocations: 31.91 kB / 0.4997 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1015, allocations: 0 / 0.4997 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1016, allocations: 3.984 kB / 0.4997 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1016, allocations: 0 / 0.4997 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1016, allocations: 7.938 kB / 0.4997 GB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.102, allocations: 257.3 kB / 0.5 GB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.1021, allocations: 27.86 kB / 0.5 GB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1021, allocations: 0 / 0.5 GB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.1022, allocations: 28.03 kB / 0.5 GB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.1023, allocations: 15.92 kB / 0.5001 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.1023, allocations: 3.984 kB / 0.5001 GB, free: 6.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.347e-05/0.1023, allocations: 128.6 kB / 0.5002 GB, free: 6.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1023, allocations: 0 / 0.5002 GB, free: 6.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.1025, allocations: 28 kB / 0.5002 GB, free: 6.461 MB / 362.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 9.463e-05/0.1026, allocations: 107.2 kB / 0.5003 GB, free: 6.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.103, allocations: 228.9 kB / 0.5005 GB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.103, allocations: 0 / 0.5005 GB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1031, allocations: 68 kB / 0.5006 GB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.1033, allocations: 27.98 kB / 0.5006 GB, free: 6.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006036/0.1039, allocations: 321 kB / 0.5009 GB, free: 5.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.667e-05/0.104, allocations: 102.2 kB / 0.501 GB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.104, allocations: 15.44 kB / 0.501 GB, free: 5.523 MB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.104, allocations: 0 / 0.501 GB, free: 5.523 MB / 362.7 MB Notification: Performance of Templates: time 0.00278/0.1068, allocations: 1.98 MB / 0.503 GB, free: 3.555 MB / 362.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 > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.955225623678416]