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.0009937/0.0009937, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001112/0.001112, allocations: 170 kB / 23.27 MB, free: 1.223 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.055/1.055, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.02826/0.02826, allocations: 7.12 MB / 267.4 MB, free: 5.902 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 2.053e-06/2.053e-06, allocations: 0 / 339.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.611e-05, allocations: 2.312 kB / 339.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.002659/0.002685, allocations: 2.047 MB / 341.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008647/0.00355, allocations: 0.5257 MB / 342.1 MB, free: 8.094 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.003628, allocations: 4 kB / 342.1 MB, free: 8.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.221e-05/0.00368, allocations: 19.8 kB / 342.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.003805, allocations: 47.62 kB / 342.2 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.00402, allocations: 47.88 kB / 342.2 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.004213, allocations: 187.2 kB / 342.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.004333, allocations: 29.66 kB / 342.4 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.004504, allocations: 95.8 kB / 342.5 MB, free: 7.668 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.0046, allocations: 63.8 kB / 342.6 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.004631, allocations: 16 kB / 342.6 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.058e-05/0.004651, allocations: 16 kB / 342.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.004685, allocations: 31.91 kB / 342.6 MB, free: 7.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.004737, allocations: 59.83 kB / 342.7 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.004895, allocations: 119.6 kB / 342.8 MB, free: 7.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.004898, allocations: 0 / 342.8 MB, free: 7.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.004899, allocations: 0 / 342.8 MB, free: 7.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004903, allocations: 0 / 342.8 MB, free: 7.367 MB / 314.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.0006073/0.00551, allocations: 0.5134 MB / 343.3 MB, free: 6.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.005551, allocations: 12.03 kB / 343.3 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.005606, allocations: 28.78 kB / 343.4 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.005725, allocations: 144.4 kB / 343.5 MB, free: 6.605 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.005738, allocations: 12.56 kB / 343.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.00576, allocations: 4.375 kB / 343.5 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.005943, allocations: 113.4 kB / 343.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.005951, allocations: 3.938 kB / 343.6 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.005961, allocations: 4 kB / 343.6 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.00597, allocations: 4 kB / 343.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.586e-05/0.006026, allocations: 27.97 kB / 343.7 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.00652, allocations: 427.2 kB / 344.1 MB, free: 5.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/0.006618, allocations: 63.03 kB / 344.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.00665, allocations: 23.67 kB / 344.2 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.006661, allocations: 4 kB / 344.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.006783, allocations: 80.95 kB / 344.2 MB, free: 5.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.006784, allocations: 0 / 344.2 MB, free: 5.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001872/0.006971, allocations: 93.98 kB / 344.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.007003, allocations: 55.41 kB / 344.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.007118, allocations: 215.9 kB / 344.6 MB, free: 5.391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.007133, allocations: 37.7 kB / 344.6 MB, free: 5.348 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.007208, allocations: 162.7 kB / 344.8 MB, free: 5.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.007229, allocations: 31.73 kB / 344.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.007273, allocations: 35.34 kB / 344.9 MB, free: 5.109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.007403, allocations: 0.5 MB / 345.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.00746, allocations: 41.69 kB / 345.4 MB, free: 4.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.007513, allocations: 72.67 kB / 345.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/0.007597, allocations: 88.69 kB / 345.6 MB, free: 4.355 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007599, allocations: 0 / 345.6 MB, free: 4.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001603/0.00776, allocations: 160.9 kB / 345.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.007791, allocations: 37.69 kB / 345.8 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.007796, allocations: 0 / 345.8 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.007809, allocations: 4 kB / 345.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.007914, allocations: 19.98 kB / 345.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.007919, allocations: 8.062 kB / 345.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.007986, allocations: 19.94 kB / 345.8 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.007997, allocations: 7.938 kB / 345.8 MB, free: 4.078 MB / 314.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 8.1e-05/0.008078, allocations: 172.6 kB / 346 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.008096, allocations: 11.95 kB / 346 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.008125, allocations: 17.45 kB / 346 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.008129, allocations: 4 kB / 346 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.008131, allocations: 0 / 346 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.008135, allocations: 0 / 346 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.008245, allocations: 145.1 kB / 346.2 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.008247, allocations: 4 kB / 346.2 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.008322, allocations: 15.98 kB / 346.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.008325, allocations: 3.938 kB / 346.2 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.008334, allocations: 4 kB / 346.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.008335, allocations: 0 / 346.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008336, allocations: 0 / 346.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.008526, allocations: 148.2 kB / 346.3 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.008566, allocations: 23.83 kB / 346.4 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.008581, allocations: 0 / 346.4 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.008639, allocations: 15.98 kB / 346.4 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.008683, allocations: 15.97 kB / 346.4 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.00869, allocations: 0 / 346.4 MB, free: 3.453 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.181e-05/0.008751, allocations: 151.8 kB / 346.5 MB, free: 3.305 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008751, allocations: 4.031 kB / 346.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000147/0.008898, allocations: 32 kB / 346.6 MB, free: 3.27 MB / 314.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 8.967e-05/0.008988, allocations: 91.25 kB / 346.7 MB, free: 3.168 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.009144, allocations: 140.7 kB / 346.8 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.009145, allocations: 0 / 346.8 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.009193, allocations: 31.67 kB / 346.8 MB, free: 2.973 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.009374, allocations: 24.05 kB / 346.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.009841, allocations: 286.3 kB / 347.1 MB, free: 2.641 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.009878, allocations: 67.33 kB / 347.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.009934, allocations: 12.98 kB / 347.2 MB, free: 2.539 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/0.01003, allocations: 94.17 kB / 347.3 MB, free: 2.445 MB / 314.7 MB Notification: Performance of SimCode: time 1.432e-06/0.01003, allocations: 0 / 347.3 MB, free: 2.445 MB / 314.7 MB Notification: Performance of Templates: time 0.004415/0.01445, allocations: 2.38 MB / 349.7 MB, free: 120 kB / 314.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.903847334906459]