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.00159/0.00159, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.002063/0.002063, allocations: 173 kB / 23.35 MB, free: 1.137 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.041/1.041, allocations: 177.1 MB / 203.8 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.02698/0.02698, allocations: 7.121 MB / 267.4 MB, free: 5.93 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.502e-06/1.502e-06, allocations: 0 / 286.3 MB, free: 2.996 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.898e-05, allocations: 2.312 kB / 286.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.002668/0.002687, allocations: 2.091 MB / 288.4 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.003652, allocations: 0.5258 MB / 288.9 MB, free: 364 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.003716, allocations: 3.938 kB / 288.9 MB, free: 360 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.003761, allocations: 15.86 kB / 288.9 MB, free: 344 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.003883, allocations: 47.56 kB / 289 MB, free: 296 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.004072, allocations: 47.88 kB / 289 MB, free: 248 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.004269, allocations: 195.2 kB / 289.2 MB, free: 52 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.004369, allocations: 34.25 kB / 289.3 MB, free: 20 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1332/0.1375, allocations: 89.84 kB / 289.3 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1376, allocations: 61.27 kB / 289.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.1377, allocations: 19.44 kB / 289.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.665e-05/0.1377, allocations: 13.91 kB / 289.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.1378, allocations: 34.69 kB / 289.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.1378, allocations: 52.23 kB / 289.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.138, allocations: 119.7 kB / 289.6 MB, free: 18.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.138, allocations: 0 / 289.6 MB, free: 18.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.138, allocations: 1.844 kB / 289.6 MB, free: 18.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.138, allocations: 0 / 289.6 MB, free: 18.8 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005573/0.1386, allocations: 393 kB / 290 MB, free: 18.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1386, allocations: 10.47 kB / 290 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.1387, allocations: 18.86 kB / 290 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.851e-05/0.1388, allocations: 139.4 kB / 290.2 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1388, allocations: 9.812 kB / 290.2 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1388, allocations: 11.28 kB / 290.2 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.139, allocations: 113.6 kB / 290.3 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.139, allocations: 1.094 kB / 290.3 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1391, allocations: 6.281 kB / 290.3 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1391, allocations: 2 kB / 290.3 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.016e-05/0.1391, allocations: 25.34 kB / 290.4 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.1396, allocations: 306.7 kB / 290.7 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1397, allocations: 50.64 kB / 290.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.1398, allocations: 18.06 kB / 290.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1398, allocations: 2.047 kB / 290.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.1399, allocations: 71.81 kB / 290.8 MB, free: 18.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.1399, allocations: 0 / 290.8 MB, free: 18.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001792/0.1401, allocations: 78.5 kB / 290.9 MB, free: 18.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.1401, allocations: 53.34 kB / 290.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1402, allocations: 167.8 kB / 291.1 MB, free: 17.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1402, allocations: 26.95 kB / 291.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.1403, allocations: 117.5 kB / 291.2 MB, free: 17.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.1403, allocations: 24.16 kB / 291.2 MB, free: 17.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.1404, allocations: 30.83 kB / 291.3 MB, free: 17.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.1404, allocations: 328.1 kB / 291.6 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.1405, allocations: 41.11 kB / 291.6 MB, free: 17.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/0.1405, allocations: 63.56 kB / 291.7 MB, free: 17.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.194e-05/0.1406, allocations: 78.78 kB / 291.8 MB, free: 17.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1406, allocations: 0 / 291.8 MB, free: 17.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001534/0.1408, allocations: 144.3 kB / 291.9 MB, free: 17.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.1408, allocations: 36.11 kB / 292 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1408, allocations: 0 / 292 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1408, allocations: 1.203 kB / 292 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1409, allocations: 25.56 kB / 292 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1409, allocations: 1.766 kB / 292 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.141, allocations: 21.75 kB / 292 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.141, allocations: 4.766 kB / 292 MB, free: 17.09 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: 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 6.56e-05/0.1411, allocations: 126.3 kB / 292.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.1411, allocations: 10.05 kB / 292.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.1412, allocations: 19.97 kB / 292.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1412, allocations: 2.594 kB / 292.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1412, allocations: 1.344 kB / 292.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1412, allocations: 2.719 kB / 292.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.1413, allocations: 102.8 kB / 292.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1413, allocations: 1.609 kB / 292.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.1414, allocations: 16.22 kB / 292.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1414, allocations: 3.859 kB / 292.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1414, allocations: 3.328 kB / 292.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1414, allocations: 0 / 292.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1414, allocations: 1.625 kB / 292.3 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1416, allocations: 113.7 kB / 292.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.1416, allocations: 21.03 kB / 292.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1416, allocations: 6.469 kB / 292.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.1417, allocations: 14.5 kB / 292.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.1417, allocations: 15.12 kB / 292.5 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1417, allocations: 1.75 kB / 292.5 MB, free: 16.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.796e-05/0.1418, allocations: 39.45 kB / 292.5 MB, free: 16.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1418, allocations: 1.188 kB / 292.5 MB, free: 16.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001961/0.142, allocations: 27.78 kB / 292.5 MB, free: 16.8 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: 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.0001297/0.1421, allocations: 85.31 kB / 292.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.1423, allocations: 137.8 kB / 292.7 MB, free: 16.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.1423, allocations: 1.062 kB / 292.7 MB, free: 16.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.1423, allocations: 24.2 kB / 292.8 MB, free: 16.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.1425, allocations: 34.22 kB / 292.8 MB, free: 16.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.1429, allocations: 280.1 kB / 293.1 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.406e-05/0.143, allocations: 67.64 kB / 293.1 MB, free: 16.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.713e-05/0.1431, allocations: 17.22 kB / 293.2 MB, free: 16.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.913e-05/0.1432, allocations: 78.08 kB / 293.2 MB, free: 16.32 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1432, allocations: 0 / 293.2 MB, free: 16.32 MB / 266.7 MB Notification: Performance of Templates: time 0.005091/0.1483, allocations: 2.23 MB / 295.5 MB, free: 16.14 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7760152160190046]