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.0008419/0.0008419, allocations: 77.14 kB / 20.67 MB, free: 3.836 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.0009908/0.0009908, allocations: 165 kB / 24.06 MB, free: 456 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.9115/0.9115, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.02549/0.02549, allocations: 7.118 MB / 268.2 MB, free: 5.918 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.062e-06/1.062e-06, allocations: 0 / 340.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.558e-06/1.062e-05, allocations: 9.125 kB / 340.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.001672/0.001682, allocations: 2.044 MB / 342.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004941/0.002177, allocations: 0.5181 MB / 342.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.002227, allocations: 0 / 342.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.251e-05/0.00227, allocations: 27.72 kB / 342.9 MB, free: 7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.002367, allocations: 35.66 kB / 342.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.002525, allocations: 51.92 kB / 343 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.002655, allocations: 191.2 kB / 343.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.918e-05/0.002744, allocations: 17.69 kB / 343.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.002848, allocations: 111.7 kB / 343.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.002919, allocations: 63.81 kB / 343.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.00294, allocations: 16 kB / 343.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.002955, allocations: 16 kB / 343.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.002982, allocations: 31.89 kB / 343.4 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.003021, allocations: 55.84 kB / 343.5 MB, free: 6.418 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003132, allocations: 119.6 kB / 343.6 MB, free: 6.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003133, allocations: 4 kB / 343.6 MB, free: 6.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003134, allocations: 0 / 343.6 MB, free: 6.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.003138, allocations: 0 / 343.6 MB, free: 6.297 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.0004152/0.003553, allocations: 0.5095 MB / 344.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.003582, allocations: 12.03 kB / 344.1 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.00362, allocations: 20.84 kB / 344.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.716e-05/0.003677, allocations: 143 kB / 344.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.003693, allocations: 8.562 kB / 344.3 MB, free: 5.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.003713, allocations: 12.38 kB / 344.3 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.003849, allocations: 111.4 kB / 344.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.003859, allocations: 0 / 344.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.003869, allocations: 4 kB / 344.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.003873, allocations: 0 / 344.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.172e-05/0.003925, allocations: 29.84 kB / 344.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.004269, allocations: 431.2 kB / 344.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.34e-05/0.004343, allocations: 62.97 kB / 344.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.004369, allocations: 23.67 kB / 344.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.004378, allocations: 0 / 344.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.627e-05/0.004464, allocations: 93.14 kB / 345 MB, free: 4.723 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.004465, allocations: 0 / 345 MB, free: 4.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001474/0.004612, allocations: 89.56 kB / 345.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.243e-05/0.004624, allocations: 55.41 kB / 345.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.969e-05/0.004694, allocations: 221 kB / 345.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.004704, allocations: 29.7 kB / 345.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.00474, allocations: 166.7 kB / 345.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.004755, allocations: 27.78 kB / 345.6 MB, free: 4.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.00479, allocations: 43.3 kB / 345.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.61e-05/0.004826, allocations: 0.5 MB / 346.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.178e-05/0.004858, allocations: 33.7 kB / 346.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.004892, allocations: 72.73 kB / 346.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.649e-05/0.004949, allocations: 96.66 kB / 346.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.00495, allocations: 0 / 346.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001147/0.005065, allocations: 157 kB / 346.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.005082, allocations: 37.77 kB / 346.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.005086, allocations: 0 / 346.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.005095, allocations: 0 / 346.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.005182, allocations: 27.97 kB / 346.6 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.005185, allocations: 3.938 kB / 346.6 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.005245, allocations: 23.94 kB / 346.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.005253, allocations: 0 / 346.6 MB, free: 3.023 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 4.316e-05/0.005296, allocations: 164.5 kB / 346.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.00531, allocations: 15.94 kB / 346.8 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.005332, allocations: 25.45 kB / 346.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.005335, allocations: 0 / 346.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005336, allocations: 0 / 346.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.005367, allocations: 23.89 kB / 346.8 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.005383, allocations: 7.938 kB / 346.8 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.00543, allocations: 7.984 kB / 346.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.005466, allocations: 15.97 kB / 346.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001482/0.005615, allocations: 216.7 kB / 347.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001364/0.005751, allocations: 367.1 kB / 347.4 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.665e-05/0.005788, allocations: 27.67 kB / 347.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.055e-05/0.005818, allocations: 164.7 kB / 347.6 MB, free: 1.965 MB / 266.7 MB Notification: Performance of Backend: time 2.01e-07/0.005818, allocations: 0 / 347.6 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.006052, allocations: 205.9 kB / 347.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of SimCode: time 0.0003743/0.006426, allocations: 1.011 MB / 348.8 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of Templates: time 0.003788/0.01021, allocations: 2.764 MB / 351.6 MB, free: 13.96 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.546570069156587]