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.0009627/0.0009627, allocations: 73.97 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.0009186/0.0009186, 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 0.9939/0.9939, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.02714/0.02714, allocations: 7.121 MB / 268.2 MB, free: 5.867 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.573e-06/1.573e-06, allocations: 3.938 kB / 339.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.411e-05, allocations: 6.312 kB / 339.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.002429/0.002463, allocations: 2.051 MB / 341.5 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.0033, allocations: 0.5219 MB / 342.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.003372, allocations: 0 / 342.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.964e-05/0.003442, allocations: 19.84 kB / 342.1 MB, free: 8.871 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.003572, allocations: 47.58 kB / 342.1 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.003768, allocations: 51.81 kB / 342.2 MB, free: 8.773 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.003943, allocations: 191.2 kB / 342.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.004055, allocations: 17.69 kB / 342.4 MB, free: 8.566 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.004203, allocations: 111.7 kB / 342.5 MB, free: 8.457 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.004293, allocations: 55.88 kB / 342.5 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.004323, allocations: 16 kB / 342.6 MB, free: 8.387 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.004344, allocations: 16 kB / 342.6 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.004383, allocations: 39.83 kB / 342.6 MB, free: 8.332 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.004433, allocations: 51.84 kB / 342.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.004591, allocations: 123.6 kB / 342.8 MB, free: 8.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.004595, allocations: 0 / 342.8 MB, free: 8.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.004596, allocations: 4 kB / 342.8 MB, free: 8.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.0046, allocations: 0 / 342.8 MB, free: 8.156 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.0005847/0.005185, allocations: 0.5056 MB / 343.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.00522, allocations: 12.03 kB / 343.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.005267, allocations: 20.84 kB / 343.3 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.463e-05/0.005362, allocations: 140.4 kB / 343.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.005375, allocations: 4.562 kB / 343.5 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.005399, allocations: 16.36 kB / 343.5 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.005579, allocations: 113.4 kB / 343.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.005586, allocations: 4 kB / 343.6 MB, free: 7.273 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.005598, allocations: 4 kB / 343.6 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.005603, allocations: 3.938 kB / 343.6 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/0.005658, allocations: 31.91 kB / 343.6 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.006115, allocations: 431.2 kB / 344.1 MB, free: 6.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.006212, allocations: 63.03 kB / 344.1 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.006244, allocations: 23.67 kB / 344.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.006254, allocations: 4 kB / 344.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.006385, allocations: 81.16 kB / 344.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.006387, allocations: 3.938 kB / 344.2 MB, free: 6.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002228/0.00661, allocations: 81.86 kB / 344.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.006646, allocations: 55.41 kB / 344.4 MB, free: 6.426 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.006792, allocations: 227.9 kB / 344.6 MB, free: 6.184 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.006812, allocations: 25.7 kB / 344.6 MB, free: 6.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/0.006909, allocations: 166.7 kB / 344.8 MB, free: 5.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.006939, allocations: 39.72 kB / 344.8 MB, free: 5.945 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.006995, allocations: 31.36 kB / 344.8 MB, free: 5.906 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.00714, allocations: 0.5 MB / 345.3 MB, free: 5.395 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.007201, allocations: 41.7 kB / 345.4 MB, free: 5.348 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.00727, allocations: 72.67 kB / 345.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.007375, allocations: 88.73 kB / 345.5 MB, free: 5.152 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007377, allocations: 0 / 345.5 MB, free: 5.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001963/0.007573, allocations: 160.8 kB / 345.7 MB, free: 4.977 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.007607, allocations: 37.77 kB / 345.7 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.007616, allocations: 4.078 kB / 345.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.00763, allocations: 0 / 345.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.007761, allocations: 27.97 kB / 345.8 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.007765, allocations: 3.984 kB / 345.8 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-05/0.007863, allocations: 27.88 kB / 345.8 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.007874, allocations: 3.938 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: 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 9.367e-05/0.007968, allocations: 160.6 kB / 346 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.007991, allocations: 15.89 kB / 346 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.008027, allocations: 25.45 kB / 346 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.00803, allocations: 0 / 346 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008032, allocations: 0 / 346 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.008037, allocations: 4 kB / 346 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.008166, allocations: 133.1 kB / 346.1 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.008168, allocations: 0 / 346.1 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.054e-05/0.008258, allocations: 19.98 kB / 346.1 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.008261, allocations: 4 kB / 346.1 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.008272, allocations: 3.984 kB / 346.2 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008274, allocations: 0 / 346.2 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008275, allocations: 4 kB / 346.2 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.008497, allocations: 132.2 kB / 346.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.008547, allocations: 23.89 kB / 346.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.008569, allocations: 7.984 kB / 346.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.008643, allocations: 15.98 kB / 346.3 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.008698, allocations: 7.984 kB / 346.3 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.008707, allocations: 4 kB / 346.3 MB, free: 4.262 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.645e-05/0.008783, allocations: 155.8 kB / 346.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008783, allocations: 0 / 346.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.008994, allocations: 31.94 kB / 346.5 MB, free: 4.078 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 0.0001041/0.009098, allocations: 103.2 kB / 346.6 MB, free: 3.965 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.009288, allocations: 144.7 kB / 346.8 MB, free: 3.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.00929, allocations: 0 / 346.8 MB, free: 3.801 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.657e-05/0.009347, allocations: 27.67 kB / 346.8 MB, free: 3.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.009573, allocations: 31.92 kB / 346.8 MB, free: 3.738 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.01017, allocations: 308.2 kB / 347.1 MB, free: 3.402 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.202e-05/0.01025, allocations: 98.25 kB / 347.2 MB, free: 3.285 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.01037, allocations: 94.19 kB / 347.3 MB, free: 3.191 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01037, allocations: 4 kB / 347.3 MB, free: 3.188 MB / 314.7 MB Notification: Performance of Templates: time 0.002578/0.01295, allocations: 1.985 MB / 349.3 MB, free: 1.211 MB / 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 > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.610418063122779]