Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.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.001482/0.001482, allocations: 73.09 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.00155/0.00155, 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.056/1.056, allocations: 177.1 MB / 204.5 MB, free: 5.465 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.02923/0.02923, allocations: 7.121 MB / 268.2 MB, free: 5.855 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.MemristorTestSine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine") translateModel(ChaoticCircuits.Test.MemristorTestSine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 3.938 kB / 340.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.118e-05, allocations: 8.922 kB / 340.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.002308/0.00233, allocations: 1.966 MB / 342.3 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.003041, allocations: 0.518 MB / 342.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.003114, allocations: 0 / 342.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.00316, allocations: 19.86 kB / 342.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.003269, allocations: 31.66 kB / 342.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.003478, allocations: 43.88 kB / 342.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.003618, allocations: 123.5 kB / 343 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.003719, allocations: 25.22 kB / 343 MB, free: 7.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.003887, allocations: 71.83 kB / 343.1 MB, free: 7.828 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.003965, allocations: 39.88 kB / 343.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.003984, allocations: 12 kB / 343.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.412e-05/0.004028, allocations: 20 kB / 343.2 MB, free: 7.758 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.004047, allocations: 15.92 kB / 343.2 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.004081, allocations: 39.84 kB / 343.2 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.004216, allocations: 91.66 kB / 343.3 MB, free: 7.613 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004217, allocations: 0 / 343.3 MB, free: 7.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.004218, allocations: 0 / 343.3 MB, free: 7.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.004222, allocations: 0 / 343.3 MB, free: 7.613 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004171/0.004639, allocations: 448.1 kB / 343.7 MB, free: 7.141 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.004674, allocations: 11.97 kB / 343.7 MB, free: 7.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.004789, allocations: 28.88 kB / 343.8 MB, free: 7.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.004932, allocations: 144.4 kB / 343.9 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.004944, allocations: 8.375 kB / 343.9 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.004962, allocations: 4.375 kB / 343.9 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.005086, allocations: 82.92 kB / 344 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.005097, allocations: 7.875 kB / 344 MB, free: 6.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.005108, allocations: 7.984 kB / 344 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.005116, allocations: 4 kB / 344 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/0.005165, allocations: 27.06 kB / 344.1 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.005585, allocations: 391.2 kB / 344.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.005666, allocations: 47.05 kB / 344.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.005692, allocations: 19.81 kB / 344.5 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.005705, allocations: 0 / 344.5 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.005732, allocations: 41.38 kB / 344.5 MB, free: 6.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.005733, allocations: 0 / 344.5 MB, free: 6.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001653/0.005899, allocations: 73.73 kB / 344.6 MB, free: 6.164 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.005931, allocations: 55.41 kB / 344.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.006023, allocations: 201.8 kB / 344.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.006034, allocations: 25.7 kB / 344.9 MB, free: 5.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.006096, allocations: 158.9 kB / 345 MB, free: 5.688 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.006114, allocations: 27.78 kB / 345.1 MB, free: 5.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.006151, allocations: 31.36 kB / 345.1 MB, free: 5.621 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.006272, allocations: 0.4884 MB / 345.6 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.006293, allocations: 8 kB / 345.6 MB, free: 5.113 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.006328, allocations: 38.98 kB / 345.6 MB, free: 5.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.006386, allocations: 51.03 kB / 345.7 MB, free: 5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006388, allocations: 4 kB / 345.7 MB, free: 4.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.543e-05/0.006483, allocations: 77.56 kB / 345.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.006498, allocations: 10.66 kB / 345.8 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006501, allocations: 0 / 345.8 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.006512, allocations: 0 / 345.8 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.00661, allocations: 23.92 kB / 345.8 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.006614, allocations: 3.938 kB / 345.8 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.006644, allocations: 7.953 kB / 345.8 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.006655, allocations: 4 kB / 345.8 MB, free: 4.867 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.931e-05/0.006745, allocations: 160.6 kB / 346 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.006777, allocations: 7.953 kB / 346 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.00681, allocations: 20.77 kB / 346 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006813, allocations: 0 / 346 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.006814, allocations: 0 / 346 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.006819, allocations: 3.938 kB / 346 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.006996, allocations: 125.2 kB / 346.1 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.007, allocations: 3.984 kB / 346.1 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/0.007098, allocations: 11.94 kB / 346.1 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.007102, allocations: 4 kB / 346.1 MB, free: 4.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.007112, allocations: 4 kB / 346.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007113, allocations: 0 / 346.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.007115, allocations: 3.984 kB / 346.2 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.007343, allocations: 219.8 kB / 346.4 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.007379, allocations: 16.25 kB / 346.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.007395, allocations: 0 / 346.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.007471, allocations: 4 kB / 346.4 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.007509, allocations: 11.98 kB / 346.4 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.007514, allocations: 3.938 kB / 346.4 MB, free: 4.223 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.098e-05/0.007585, allocations: 142.2 kB / 346.5 MB, free: 4.086 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.007586, allocations: 0 / 346.5 MB, free: 4.086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.007744, allocations: 27.97 kB / 346.6 MB, free: 4.059 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.801e-05/0.007822, allocations: 103.1 kB / 346.7 MB, free: 3.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.169e-05/0.007914, allocations: 35.67 kB / 346.7 MB, free: 3.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007916, allocations: 0 / 346.7 MB, free: 3.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.007945, allocations: 27.61 kB / 346.7 MB, free: 3.879 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.008137, allocations: 8 kB / 346.7 MB, free: 3.871 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.00861, allocations: 242.2 kB / 347 MB, free: 3.605 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.647e-05/0.008646, allocations: 63.34 kB / 347 MB, free: 3.523 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.726e-05/0.008684, allocations: 15.97 kB / 347.1 MB, free: 3.508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.008742, allocations: 78.2 kB / 347.1 MB, free: 3.43 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008742, allocations: 0 / 347.1 MB, free: 3.43 MB / 314.7 MB Notification: Performance of Templates: time 0.002555/0.0113, allocations: 0.8991 MB / 348 MB, free: 2.539 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.sim & ./ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8599131610244513]