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.001159/0.001159, allocations: 77.95 kB / 20.67 MB, free: 3.836 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.0009544/0.0009544, allocations: 169.4 kB / 24.07 MB, free: 448 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 0.922/0.922, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.02534/0.02534, allocations: 7.114 MB / 268.2 MB, free: 5.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.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.203e-06/1.203e-06, allocations: 0 / 340.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.048e-05, allocations: 8.984 kB / 340.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.005777/0.005798, allocations: 1.958 MB / 342.3 MB, free: 8.691 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000781/0.006579, allocations: 0.5219 MB / 342.8 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.006654, allocations: 4 kB / 342.8 MB, free: 8.164 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.896e-05/0.006702, allocations: 11.86 kB / 342.8 MB, free: 8.152 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.006814, allocations: 35.66 kB / 342.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.007023, allocations: 47.88 kB / 342.9 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.007179, allocations: 119.4 kB / 343 MB, free: 7.953 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.007282, allocations: 33.22 kB / 343 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.01054, allocations: 67.88 kB / 343.1 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.01063, allocations: 43.83 kB / 343.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.01065, allocations: 8 kB / 343.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.315e-05/0.01069, allocations: 12 kB / 343.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.01072, allocations: 27.91 kB / 343.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.01075, allocations: 35.91 kB / 343.2 MB, free: 7.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.0109, allocations: 83.67 kB / 343.3 MB, free: 7.648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.0109, allocations: 4 kB / 343.3 MB, free: 7.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.0109, allocations: 0 / 343.3 MB, free: 7.645 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.01091, allocations: 0 / 343.3 MB, free: 7.645 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.0004306/0.01134, allocations: 456.1 kB / 343.7 MB, free: 7.164 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.01137, allocations: 8.031 kB / 343.8 MB, free: 7.156 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.01148, allocations: 20.89 kB / 343.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.01163, allocations: 147 kB / 343.9 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.01164, allocations: 8.375 kB / 343.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.01166, allocations: 16.31 kB / 343.9 MB, free: 6.945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.01179, allocations: 78.92 kB / 344 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.0118, allocations: 3.938 kB / 344 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.01181, allocations: 8 kB / 344 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.01182, allocations: 0 / 344 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.816e-05/0.01188, allocations: 34.66 kB / 344.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.0123, allocations: 383.2 kB / 344.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.01238, allocations: 55.03 kB / 344.5 MB, free: 6.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.01241, allocations: 19.8 kB / 344.5 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.01242, allocations: 8 kB / 344.5 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.01244, allocations: 33.39 kB / 344.6 MB, free: 6.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.01245, allocations: 0 / 344.6 MB, free: 6.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001582/0.0126, allocations: 73.75 kB / 344.6 MB, free: 6.191 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.01262, allocations: 51.41 kB / 344.7 MB, free: 6.129 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.01272, allocations: 197.8 kB / 344.9 MB, free: 5.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.01273, allocations: 29.7 kB / 344.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.0128, allocations: 158.9 kB / 345.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.01282, allocations: 23.8 kB / 345.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.01286, allocations: 35.34 kB / 345.1 MB, free: 5.652 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.01298, allocations: 0.4884 MB / 345.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.013, allocations: 7.984 kB / 345.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.01304, allocations: 35.05 kB / 345.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.0131, allocations: 50.98 kB / 345.7 MB, free: 5.035 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.0131, allocations: 0 / 345.7 MB, free: 5.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003145/0.01625, allocations: 85.55 kB / 345.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01626, allocations: 4.062 kB / 345.8 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01627, allocations: 4 kB / 345.8 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01628, allocations: 4 kB / 345.8 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01638, allocations: 19.92 kB / 345.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.01639, allocations: 4 kB / 345.8 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.01643, allocations: 7.891 kB / 345.8 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.01644, allocations: 4 kB / 345.8 MB, free: 4.898 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 7.167e-05/0.01651, allocations: 156.6 kB / 346 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.01654, allocations: 11.95 kB / 346 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.01657, allocations: 16.77 kB / 346 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01657, allocations: 7.938 kB / 346 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01657, allocations: 0 / 346 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.0166, allocations: 15.83 kB / 346 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.01662, allocations: 8 kB / 346 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/0.01668, allocations: 3.984 kB / 346 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.0167, allocations: 3.984 kB / 346 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001964/0.0169, allocations: 196.8 kB / 346.2 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000206/0.01711, allocations: 343 kB / 346.6 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.917e-05/0.01715, allocations: 20.05 kB / 346.6 MB, free: 4.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.0172, allocations: 149.6 kB / 346.7 MB, free: 3.945 MB / 314.7 MB Notification: Performance of Backend: time 2.6e-07/0.0172, allocations: 0 / 346.7 MB, free: 3.945 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.01753, allocations: 108.8 kB / 346.8 MB, free: 3.828 MB / 314.7 MB Notification: Performance of SimCode: time 0.0006972/0.01823, allocations: 0.9584 MB / 347.8 MB, free: 2.816 MB / 314.7 MB Notification: Performance of Templates: time 0.006181/0.02441, allocations: 1.147 MB / 348.9 MB, free: 1.672 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.663393666036427]