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.004699/0.004699, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.006362/0.006362, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.736/1.736, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] 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.04595/0.04595, allocations: 7.116 MB / 266.3 MB, free: 6.262 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.954e-06/1.954e-06, allocations: 0 / 393.5 MB, free: 2.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.34e-05, allocations: 9.172 kB / 393.5 MB, free: 2.742 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.003502/0.003535, allocations: 1.963 MB / 395.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.004554, allocations: 0.5257 MB / 396 MB, free: 240 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.004623, allocations: 0 / 396 MB, free: 240 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.008e-05/0.004683, allocations: 11.86 kB / 396 MB, free: 228 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.004818, allocations: 51.58 kB / 396 MB, free: 176 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.005039, allocations: 47.88 kB / 396.1 MB, free: 128 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.005338, allocations: 183.4 kB / 396.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.00546, allocations: 29.66 kB / 396.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.005648, allocations: 95.8 kB / 396.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.00577, allocations: 63.8 kB / 396.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.00581, allocations: 16 kB / 396.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.391e-05/0.005844, allocations: 16 kB / 396.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.005899, allocations: 39.83 kB / 396.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.005987, allocations: 51.91 kB / 396.6 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.006273, allocations: 187.4 kB / 396.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.006277, allocations: 0 / 396.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006278, allocations: 0 / 396.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.006283, allocations: 0 / 396.8 MB, free: 15.45 MB / 330.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.0009599/0.007243, allocations: 435.5 kB / 397.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.007282, allocations: 8.031 kB / 397.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.007338, allocations: 28.72 kB / 397.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.007508, allocations: 129.6 kB / 397.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.007525, allocations: 4.562 kB / 397.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.007566, allocations: 16.36 kB / 397.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.008262, allocations: 133.7 kB / 397.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.008271, allocations: 0 / 397.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.008289, allocations: 8 kB / 397.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.008295, allocations: 3.938 kB / 397.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.008775, allocations: 131.9 kB / 397.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.009683, allocations: 423.4 kB / 398 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.01019, allocations: 142.4 kB / 398.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.01042, allocations: 64.8 kB / 398.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.01044, allocations: 4 kB / 398.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.0108, allocations: 115.3 kB / 398.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.01081, allocations: 3.938 kB / 398.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008204/0.01163, allocations: 217.6 kB / 398.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.01169, allocations: 55.41 kB / 398.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.01189, allocations: 179.2 kB / 398.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.01192, allocations: 25.7 kB / 398.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01204, allocations: 123.9 kB / 399 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.01207, allocations: 23.86 kB / 399 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.01214, allocations: 33.66 kB / 399 MB, free: 13.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.01233, allocations: 326.8 kB / 399.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.0126, allocations: 89.64 kB / 399.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.01289, allocations: 116.2 kB / 399.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.01338, allocations: 160.1 kB / 399.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01338, allocations: 0 / 399.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006444/0.01402, allocations: 252.8 kB / 399.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.01407, allocations: 41.75 kB / 400 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01408, allocations: 0 / 400 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.0141, allocations: 4 kB / 400 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.01431, allocations: 27.91 kB / 400 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.01432, allocations: 4 kB / 400 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.0145, allocations: 35.8 kB / 400 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01451, allocations: 0 / 400 MB, free: 11.91 MB / 330.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.0001473/0.01466, allocations: 121.8 kB / 400.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.01469, allocations: 15.95 kB / 400.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.01475, allocations: 21.45 kB / 400.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01476, allocations: 0 / 400.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.01477, allocations: 0 / 400.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.01477, allocations: 3.938 kB / 400.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.015, allocations: 157.3 kB / 400.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.015, allocations: 3.938 kB / 400.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.01517, allocations: 31.91 kB / 400.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01517, allocations: 0 / 400.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.01518, allocations: 4 kB / 400.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01519, allocations: 0 / 400.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01519, allocations: 0 / 400.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.01599, allocations: 265.1 kB / 400.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.01605, allocations: 23.92 kB / 400.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.01608, allocations: 0 / 400.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.01622, allocations: 28.03 kB / 400.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.0163, allocations: 11.98 kB / 400.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.01631, allocations: 4 kB / 400.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.01643, allocations: 127.9 kB / 400.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01643, allocations: 0 / 400.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.01665, allocations: 35.88 kB / 400.9 MB, free: 11.01 MB / 330.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.0001352/0.01679, allocations: 95.25 kB / 401 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006061/0.01739, allocations: 228.9 kB / 401.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01739, allocations: 3.938 kB / 401.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.01764, allocations: 59.95 kB / 401.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.0179, allocations: 27.11 kB / 401.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.01865, allocations: 282.1 kB / 401.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.01878, allocations: 102.2 kB / 401.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.01885, allocations: 8.984 kB / 401.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.01891, allocations: 20.5 kB / 401.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01891, allocations: 192 / 401.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of Templates: time 0.005897/0.02481, allocations: 2.163 MB / 403.9 MB, free: 8 MB / 330.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: 5.4202816230244935]