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.001213/0.001213, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002014/0.003227, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.001312/0.001312, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001926/0.003237, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.164/1.164, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1348/1.299, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.02996/0.02996, allocations: 7.103 MB / 251.2 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007017/0.03697, allocations: 2.857 MB / 254.1 MB, free: 4.91 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.623e-06/1.623e-06, allocations: 3.938 kB / 255.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.51e-05, allocations: 2.312 kB / 255.4 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.007696/0.007721, allocations: 2.096 MB / 257.5 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.008755, allocations: 0.5375 MB / 258 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.008836, allocations: 4 kB / 258 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.006e-05/0.008896, allocations: 19.8 kB / 258 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.009017, allocations: 47.56 kB / 258.1 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.00919, allocations: 51.88 kB / 258.1 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.009421, allocations: 183.2 kB / 258.3 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.009541, allocations: 26.31 kB / 258.4 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.009742, allocations: 123.7 kB / 258.5 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.009864, allocations: 63.84 kB / 258.5 MB, free: 464 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.009899, allocations: 16 kB / 258.5 MB, free: 448 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.01293, allocations: 16 kB / 258.6 MB, free: 432 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.01298, allocations: 27.88 kB / 258.6 MB, free: 404 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.01305, allocations: 43.94 kB / 258.6 MB, free: 360 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.01329, allocations: 107.6 kB / 258.7 MB, free: 252 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.805e-05/0.01331, allocations: 0 / 258.7 MB, free: 252 kB / 250.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.01332, allocations: 4 kB / 258.7 MB, free: 248 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.01333, allocations: 0 / 258.7 MB, free: 248 kB / 250.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.0009296/0.01426, allocations: 421.7 kB / 259.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.01432, allocations: 12.58 kB / 259.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.01439, allocations: 16.92 kB / 259.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.01454, allocations: 134.2 kB / 259.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.01457, allocations: 8.562 kB / 259.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.01461, allocations: 12.38 kB / 259.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.01488, allocations: 114.4 kB / 259.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.0149, allocations: 0 / 259.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.01491, allocations: 0 / 259.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.01492, allocations: 4 kB / 259.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.015, allocations: 31.16 kB / 259.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.01559, allocations: 303.2 kB / 259.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.01572, allocations: 46.52 kB / 259.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.01575, allocations: 21 kB / 259.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.01577, allocations: 4 kB / 259.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003219/0.01899, allocations: 75.34 kB / 259.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.993e-06/0.01899, allocations: 0 / 259.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002148/0.0192, allocations: 73.88 kB / 260 MB, free: 14.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.01925, allocations: 67.28 kB / 260.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.01939, allocations: 159.2 kB / 260.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.01942, allocations: 29.7 kB / 260.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.01948, allocations: 111.9 kB / 260.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.01951, allocations: 27.83 kB / 260.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.01957, allocations: 29.72 kB / 260.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.0197, allocations: 326.7 kB / 260.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.01976, allocations: 41.69 kB / 260.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.01983, allocations: 64.27 kB / 260.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.01994, allocations: 84.22 kB / 260.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01994, allocations: 0 / 260.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001749/0.02011, allocations: 137 kB / 261 MB, free: 13.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.02016, allocations: 37.77 kB / 261.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.02017, allocations: 3.984 kB / 261.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.02018, allocations: 0 / 261.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.02034, allocations: 31.98 kB / 261.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.02034, allocations: 0 / 261.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.402e-05/0.02044, allocations: 23.81 kB / 261.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.02045, allocations: 4 kB / 261.1 MB, free: 13.61 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 9.559e-05/0.02055, allocations: 121.7 kB / 261.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.02058, allocations: 11.98 kB / 261.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.02063, allocations: 21.45 kB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.02063, allocations: 4 kB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.02064, allocations: 4 kB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.02064, allocations: 0 / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.02083, allocations: 101.8 kB / 261.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02084, allocations: 0 / 261.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.02096, allocations: 19.98 kB / 261.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.02101, allocations: 19.89 kB / 261.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.02101, allocations: 0 / 261.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.02103, allocations: 0 / 261.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.02103, allocations: 0 / 261.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.02103, allocations: 4 kB / 261.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.02125, allocations: 113 kB / 261.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.02128, allocations: 0 / 261.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.02136, allocations: 15.98 kB / 261.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.02142, allocations: 19.95 kB / 261.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.02143, allocations: 0 / 261.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.9e-05/0.02148, allocations: 46.44 kB / 261.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02148, allocations: 0 / 261.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003209/0.02468, allocations: 31.94 kB / 261.7 MB, free: 13.04 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 0.0001431/0.02483, allocations: 80.44 kB / 261.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.02504, allocations: 141.8 kB / 261.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.02505, allocations: 0 / 261.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.02512, allocations: 32.84 kB / 261.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.02541, allocations: 265.1 kB / 262.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.02659, allocations: 300.2 kB / 262.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.02663, allocations: 63.34 kB / 262.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.164e-05/0.0267, allocations: 12.97 kB / 262.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.02682, allocations: 71.36 kB / 262.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02682, allocations: 0 / 262.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Templates: time 0.007982/0.0348, allocations: 2.23 MB / 264.8 MB, free: 9.77 MB / 266.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.7891488233581185]