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.001018/0.001018, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001794/0.001794, allocations: 169 kB / 24.06 MB, free: 452 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 1.058/1.058, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.03738/0.03738, allocations: 7.114 MB / 268.1 MB, free: 5.871 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.553e-06/1.553e-06, allocations: 0 / 340.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.898e-05, allocations: 2.312 kB / 340.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.002284/0.002303, allocations: 2.051 MB / 342.3 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006838/0.002987, allocations: 0.5181 MB / 342.9 MB, free: 7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.003056, allocations: 3.938 kB / 342.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.003102, allocations: 15.86 kB / 342.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.003216, allocations: 51.56 kB / 342.9 MB, free: 6.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.003401, allocations: 39.89 kB / 343 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.00356, allocations: 191.2 kB / 343.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.003672, allocations: 21.67 kB / 343.2 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.003816, allocations: 103.8 kB / 343.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.003941, allocations: 63.81 kB / 343.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.003979, allocations: 16 kB / 343.4 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.004002, allocations: 16 kB / 343.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.004034, allocations: 39.83 kB / 343.4 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.004084, allocations: 47.91 kB / 343.5 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.004223, allocations: 127.5 kB / 343.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004225, allocations: 0 / 343.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004226, allocations: 0 / 343.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.00423, allocations: 0 / 343.6 MB, free: 6.273 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.0004787/0.004708, allocations: 0.5134 MB / 344.1 MB, free: 5.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.004742, allocations: 8.031 kB / 344.1 MB, free: 5.711 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.004787, allocations: 20.84 kB / 344.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.951e-05/0.004876, allocations: 147 kB / 344.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.00489, allocations: 4.562 kB / 344.3 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.004912, allocations: 16.36 kB / 344.3 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.005079, allocations: 107.4 kB / 344.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.005087, allocations: 0 / 344.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.005098, allocations: 8 kB / 344.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005103, allocations: 0 / 344.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/0.00516, allocations: 37.78 kB / 344.4 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.005585, allocations: 431.2 kB / 344.9 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.88e-05/0.005674, allocations: 55.05 kB / 344.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.005702, allocations: 23.67 kB / 344.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.005712, allocations: 3.938 kB / 344.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.005816, allocations: 93.14 kB / 345 MB, free: 4.691 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.005818, allocations: 0 / 345 MB, free: 4.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001753/0.005993, allocations: 89.56 kB / 345.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.006017, allocations: 55.41 kB / 345.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.006098, allocations: 225 kB / 345.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.006109, allocations: 25.7 kB / 345.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.006155, allocations: 166.7 kB / 345.6 MB, free: 4.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.006173, allocations: 31.77 kB / 345.6 MB, free: 4.062 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.006211, allocations: 31.33 kB / 345.6 MB, free: 4.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.006258, allocations: 0.5 MB / 346.1 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.006297, allocations: 41.69 kB / 346.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.006336, allocations: 72.73 kB / 346.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.112e-05/0.006397, allocations: 88.69 kB / 346.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006399, allocations: 0 / 346.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001318/0.006531, allocations: 168.9 kB / 346.5 MB, free: 3.086 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.006551, allocations: 29.7 kB / 346.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.006556, allocations: 4 kB / 346.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.006566, allocations: 3.938 kB / 346.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.006668, allocations: 23.98 kB / 346.6 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.00667, allocations: 4.062 kB / 346.6 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.006733, allocations: 15.94 kB / 346.6 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.00675, allocations: 11.94 kB / 346.6 MB, free: 2.988 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 6.218e-05/0.006812, allocations: 156.6 kB / 346.8 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.006832, allocations: 19.94 kB / 346.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.006859, allocations: 17.47 kB / 346.8 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006861, allocations: 0 / 346.8 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.006863, allocations: 3.938 kB / 346.8 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.006867, allocations: 3.984 kB / 346.8 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.884e-05/0.006956, allocations: 141.1 kB / 346.9 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.006957, allocations: 4 kB / 346.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.606e-05/0.007023, allocations: 19.98 kB / 347 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007025, allocations: 0 / 347 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.007034, allocations: 0 / 347 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.007035, allocations: 4 kB / 347 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007036, allocations: 0 / 347 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.007187, allocations: 132.3 kB / 347.1 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.007222, allocations: 27.83 kB / 347.1 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.007239, allocations: 4 kB / 347.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.007289, allocations: 15.95 kB / 347.1 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.996e-05/0.007329, allocations: 11.98 kB / 347.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.007336, allocations: 11.98 kB / 347.2 MB, free: 2.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.007371, allocations: 160.8 kB / 347.3 MB, free: 2.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007371, allocations: 0 / 347.3 MB, free: 2.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001428/0.007514, allocations: 24 kB / 347.3 MB, free: 2.184 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 6.164e-05/0.007575, allocations: 95.25 kB / 347.4 MB, free: 2.082 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.007718, allocations: 144.7 kB / 347.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.007719, allocations: 0 / 347.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.007762, allocations: 31.8 kB / 347.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.007928, allocations: 31.92 kB / 347.6 MB, free: 1.852 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.008303, allocations: 276.2 kB / 347.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.181e-05/0.008324, allocations: 71.2 kB / 348 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.517e-05/0.00837, allocations: 12.97 kB / 348 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.008452, allocations: 94.17 kB / 348.1 MB, free: 1.359 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.008453, allocations: 0 / 348.1 MB, free: 1.359 MB / 266.7 MB Notification: Performance of Templates: time 0.003632/0.01208, allocations: 2.424 MB / 350.5 MB, free: 14.98 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.8596904622390866]