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.001444/0.001444, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.001529/0.001529, allocations: 165 kB / 24.22 MB, free: 248 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.041/1.041, allocations: 177.1 MB / 204.7 MB, free: 5.449 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.02589/0.02589, allocations: 7.123 MB / 268.3 MB, free: 5.902 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.723e-06/1.723e-06, allocations: 0 / 287.3 MB, free: 2.906 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.159e-05, allocations: 2.312 kB / 287.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.002585/0.002607, allocations: 2.087 MB / 289.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.003435, allocations: 0.5258 MB / 289.9 MB, free: 276 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.003495, allocations: 0 / 289.9 MB, free: 276 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.453e-05/0.00355, allocations: 19.8 kB / 289.9 MB, free: 256 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.003673, allocations: 51.56 kB / 289.9 MB, free: 204 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.00386, allocations: 35.95 kB / 290 MB, free: 168 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1202/0.1241, allocations: 190.8 kB / 290.2 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.1243, allocations: 28.39 kB / 290.2 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003203/0.1246, allocations: 99.08 kB / 290.3 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1248, allocations: 62.12 kB / 290.3 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.1248, allocations: 18.97 kB / 290.4 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.071e-05/0.1249, allocations: 17.25 kB / 290.4 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.1249, allocations: 34.97 kB / 290.4 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.125, allocations: 55.52 kB / 290.5 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.1253, allocations: 121.1 kB / 290.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1253, allocations: 6.031 kB / 290.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1253, allocations: 0.6875 kB / 290.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1253, allocations: 2.297 kB / 290.6 MB, free: 19.41 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.0006079/0.1259, allocations: 388.2 kB / 291 MB, free: 19.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1259, allocations: 9.031 kB / 291 MB, free: 19.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.126, allocations: 19.88 kB / 291 MB, free: 19.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.841e-05/0.1261, allocations: 139.4 kB / 291.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1261, allocations: 5.625 kB / 291.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1261, allocations: 11.45 kB / 291.2 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1263, allocations: 108.4 kB / 291.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.1263, allocations: 2.406 kB / 291.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1263, allocations: 5.781 kB / 291.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1263, allocations: 2.25 kB / 291.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/0.1264, allocations: 26.12 kB / 291.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1268, allocations: 306.7 kB / 291.6 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.553e-05/0.1269, allocations: 53.2 kB / 291.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.1269, allocations: 19 kB / 291.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.1269, allocations: 1.312 kB / 291.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.127, allocations: 74.41 kB / 291.7 MB, free: 18.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.127, allocations: 1.125 kB / 291.7 MB, free: 18.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001818/0.1272, allocations: 72.17 kB / 291.8 MB, free: 18.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.1272, allocations: 62.17 kB / 291.9 MB, free: 18.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1273, allocations: 158.8 kB / 292 MB, free: 18.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1274, allocations: 26.77 kB / 292.1 MB, free: 18.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.1274, allocations: 116.8 kB / 292.2 MB, free: 18.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.1274, allocations: 28.48 kB / 292.2 MB, free: 18.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.1275, allocations: 27.84 kB / 292.2 MB, free: 18.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.1275, allocations: 330 kB / 292.5 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-05/0.1276, allocations: 38.7 kB / 292.6 MB, free: 17.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.423e-05/0.1276, allocations: 68.36 kB / 292.7 MB, free: 17.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.04e-05/0.1277, allocations: 81.17 kB / 292.7 MB, free: 17.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1277, allocations: 0 / 292.7 MB, free: 17.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001208/0.1278, allocations: 138.9 kB / 292.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.1278, allocations: 41.5 kB / 292.9 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1278, allocations: 1.906 kB / 292.9 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.1278, allocations: 1.219 kB / 292.9 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.128, allocations: 29.98 kB / 292.9 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.128, allocations: 2.797 kB / 292.9 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.128, allocations: 17.25 kB / 293 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.128, allocations: 7.875 kB / 293 MB, free: 17.7 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 5.641e-05/0.1281, allocations: 119.1 kB / 293.1 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.1281, allocations: 12.41 kB / 293.1 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.1281, allocations: 19.44 kB / 293.1 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1281, allocations: 1.938 kB / 293.1 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.1281, allocations: 0 / 293.1 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1282, allocations: 6.047 kB / 293.1 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.717e-05/0.1282, allocations: 107.8 kB / 293.2 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1283, allocations: 1.375 kB / 293.2 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.431e-05/0.1283, allocations: 18.14 kB / 293.2 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1283, allocations: 0 / 293.2 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1283, allocations: 1.781 kB / 293.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1283, allocations: 0.5625 kB / 293.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1284, allocations: 1.125 kB / 293.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.1285, allocations: 114.9 kB / 293.4 MB, free: 17.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.1285, allocations: 15.77 kB / 293.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1286, allocations: 1.875 kB / 293.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.1286, allocations: 20.45 kB / 293.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.1287, allocations: 12.67 kB / 293.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.1287, allocations: 5.375 kB / 293.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.905e-05/0.1287, allocations: 40.48 kB / 293.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1287, allocations: 0 / 293.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.1289, allocations: 31.05 kB / 293.5 MB, free: 17.41 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.000115/0.129, allocations: 75.7 kB / 293.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1292, allocations: 138.5 kB / 293.7 MB, free: 17.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.1292, allocations: 1.219 kB / 293.7 MB, free: 17.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/0.1293, allocations: 27.75 kB / 293.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.1294, allocations: 38.59 kB / 293.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.13, allocations: 279 kB / 294 MB, free: 17.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.13, allocations: 66.36 kB / 294.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.13, allocations: 13.59 kB / 294.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.156e-05/0.1301, allocations: 77.03 kB / 294.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1301, allocations: 0 / 294.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of Templates: time 0.005326/0.1355, allocations: 2.235 MB / 296.4 MB, free: 16.73 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 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6899219444021583]