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.001103/0.001103, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001417/0.001417, allocations: 169 kB / 23.02 MB, free: 1.547 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.088/1.088, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.02544/0.02544, allocations: 7.108 MB / 267.1 MB, free: 6.07 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 2.144e-06/2.144e-06, allocations: 0 / 339.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.218e-05, allocations: 6.25 kB / 339.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.003557/0.003589, allocations: 1.97 MB / 341 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.004734, allocations: 0.5219 MB / 341.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.004847, allocations: 0 / 341.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.581e-05/0.004922, allocations: 19.86 kB / 341.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.005076, allocations: 27.66 kB / 341.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.005412, allocations: 39.94 kB / 341.6 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.00562, allocations: 123.5 kB / 341.8 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.005768, allocations: 25.17 kB / 341.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.006029, allocations: 75.81 kB / 341.9 MB, free: 7.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.006155, allocations: 43.88 kB / 341.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.006186, allocations: 12 kB / 341.9 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.761e-05/0.006253, allocations: 16 kB / 341.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.006278, allocations: 19.92 kB / 341.9 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.006325, allocations: 35.84 kB / 342 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.006543, allocations: 91.66 kB / 342.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.006547, allocations: 0 / 342.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006548, allocations: 0 / 342.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.006555, allocations: 0 / 342.1 MB, free: 6.859 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005522/0.007107, allocations: 444.1 kB / 342.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.007163, allocations: 12.03 kB / 342.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.007354, allocations: 28.88 kB / 342.5 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.007555, allocations: 148.4 kB / 342.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.007571, allocations: 4.375 kB / 342.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.007599, allocations: 8.375 kB / 342.7 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.007804, allocations: 88.47 kB / 342.8 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.007817, allocations: 3.938 kB / 342.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.007835, allocations: 7.984 kB / 342.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.007846, allocations: 0 / 342.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.007948, allocations: 43.91 kB / 342.8 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.008571, allocations: 406.6 kB / 343.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.008699, allocations: 55.05 kB / 343.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.008744, allocations: 23.67 kB / 343.3 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.008762, allocations: 4 kB / 343.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.008785, allocations: 41.52 kB / 343.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.008787, allocations: 0 / 343.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002551/0.009042, allocations: 73.75 kB / 343.4 MB, free: 5.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.009077, allocations: 63.34 kB / 343.5 MB, free: 5.281 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.009186, allocations: 193.2 kB / 343.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.009196, allocations: 33.64 kB / 343.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.009256, allocations: 162.9 kB / 343.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.009278, allocations: 23.8 kB / 343.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.009327, allocations: 27.36 kB / 343.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.009393, allocations: 0.4923 MB / 344.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.009429, allocations: 4 kB / 344.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.182e-05/0.00948, allocations: 43.05 kB / 344.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.344e-05/0.009564, allocations: 55 kB / 344.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009567, allocations: 0 / 344.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001475/0.009714, allocations: 85.55 kB / 344.6 MB, free: 4.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.009731, allocations: 8 kB / 344.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.009737, allocations: 0 / 344.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.009752, allocations: 0 / 344.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.009889, allocations: 23.92 kB / 344.6 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.009899, allocations: 3.938 kB / 344.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.009956, allocations: 8 kB / 344.6 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.009969, allocations: 4.062 kB / 344.6 MB, free: 4.047 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: 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 6.402e-05/0.01003, allocations: 156.6 kB / 344.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.01007, allocations: 15.91 kB / 344.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.0101, allocations: 16.77 kB / 344.8 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.0101, allocations: 0 / 344.8 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.01011, allocations: 3.938 kB / 344.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01011, allocations: 0 / 344.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.01028, allocations: 148.5 kB / 345 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01028, allocations: 0 / 345 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.581e-05/0.01037, allocations: 11.98 kB / 345 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01038, allocations: 4 kB / 345 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01039, allocations: 8 kB / 345 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.0104, allocations: 0 / 345 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.0104, allocations: 0 / 345 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.01065, allocations: 232 kB / 345.2 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.01069, allocations: 11.94 kB / 345.2 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.01071, allocations: 4.062 kB / 345.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.01079, allocations: 8 kB / 345.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.01085, allocations: 7.922 kB / 345.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.01086, allocations: 4 kB / 345.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.01092, allocations: 147.1 kB / 345.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01092, allocations: 0 / 345.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000274/0.01119, allocations: 23.95 kB / 345.4 MB, free: 3.195 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: 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 9.494e-05/0.01128, allocations: 91.25 kB / 345.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.01144, allocations: 47.59 kB / 345.6 MB, free: 3.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01144, allocations: 0 / 345.6 MB, free: 3.047 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.01148, allocations: 31.61 kB / 345.6 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.01177, allocations: 8 kB / 345.6 MB, free: 3.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007363/0.01251, allocations: 248.1 kB / 345.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.01255, allocations: 69.61 kB / 345.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.01261, allocations: 8 kB / 345.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.01265, allocations: 12.5 kB / 345.9 MB, free: 2.629 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01265, allocations: 0 / 345.9 MB, free: 2.629 MB / 266.7 MB Notification: Performance of Templates: time 0.003858/0.01651, allocations: 0.8602 MB / 346.8 MB, free: 1.781 MB / 266.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: 3.2258202037774026]