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.001888/0.001888, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 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.002191/0.002191, allocations: 217.8 kB / 22.26 MB, free: 3.578 MB / 13.93 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.819/1.819, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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.05098/0.05098, allocations: 9.553 MB / 322 MB, free: 8.449 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: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003671/0.003671, allocations: 67.89 kB / 449.1 MB, free: 37.2 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1135, allocations: 55.78 MB / 0.493 GB, free: 13.32 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.00414/0.1176, allocations: 1.961 MB / 0.495 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1188, allocations: 0.5026 MB / 0.4955 GB, free: 10.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.1189, allocations: 0 / 0.4955 GB, free: 10.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.085e-05/0.119, allocations: 15.86 kB / 0.4955 GB, free: 10.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.1191, allocations: 51.56 kB / 0.4955 GB, free: 10.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1194, allocations: 39.95 kB / 0.4956 GB, free: 10.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.1197, allocations: 187.2 kB / 0.4957 GB, free: 10.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1198, allocations: 33.59 kB / 0.4958 GB, free: 10.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.12, allocations: 71.72 kB / 0.4958 GB, free: 10.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1201, allocations: 75.67 kB / 0.4959 GB, free: 10.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.1202, allocations: 16 kB / 0.4959 GB, free: 10.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.583e-05/0.1202, allocations: 16 kB / 0.4959 GB, free: 10.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.1203, allocations: 27.92 kB / 0.496 GB, free: 10.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.1204, allocations: 71.66 kB / 0.496 GB, free: 10.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1206, allocations: 175.3 kB / 0.4962 GB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.1207, allocations: 4 kB / 0.4962 GB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1207, allocations: 0 / 0.4962 GB, free: 10.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1207, allocations: 0 / 0.4962 GB, free: 10.07 MB / 362.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.001048/0.1217, allocations: 415.5 kB / 0.4966 GB, free: 9.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1218, allocations: 12.03 kB / 0.4966 GB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.1218, allocations: 24.84 kB / 0.4966 GB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.122, allocations: 142.3 kB / 0.4968 GB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.122, allocations: 8.312 kB / 0.4968 GB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.1221, allocations: 12 kB / 0.4968 GB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.1225, allocations: 140.7 kB / 0.4969 GB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1225, allocations: 0 / 0.4969 GB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.1226, allocations: 7.938 kB / 0.4969 GB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1226, allocations: 4 kB / 0.4969 GB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.1231, allocations: 135.8 kB / 0.4971 GB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009861/0.124, allocations: 415.1 kB / 0.4975 GB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.1246, allocations: 142.5 kB / 0.4976 GB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.1248, allocations: 60.8 kB / 0.4977 GB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1248, allocations: 3.938 kB / 0.4977 GB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.1252, allocations: 123.2 kB / 0.4978 GB, free: 8.328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1252, allocations: 0 / 0.4978 GB, free: 8.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007989/0.126, allocations: 221.8 kB / 0.498 GB, free: 8.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1261, allocations: 55.41 kB / 0.498 GB, free: 8.039 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.1263, allocations: 174.1 kB / 0.4982 GB, free: 7.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.1263, allocations: 25.7 kB / 0.4982 GB, free: 7.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1264, allocations: 116 kB / 0.4983 GB, free: 7.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1264, allocations: 27.78 kB / 0.4984 GB, free: 7.684 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.1265, allocations: 37.66 kB / 0.4984 GB, free: 7.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004779/0.127, allocations: 322.8 kB / 0.4987 GB, free: 7.316 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.1273, allocations: 97.58 kB / 0.4988 GB, free: 7.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.1276, allocations: 112.2 kB / 0.4989 GB, free: 7.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.128, allocations: 164.2 kB / 0.4991 GB, free: 6.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1281, allocations: 0 / 0.4991 GB, free: 6.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006334/0.1287, allocations: 256.8 kB / 0.4993 GB, free: 6.645 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.1287, allocations: 43.78 kB / 0.4994 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1287, allocations: 0 / 0.4994 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1288, allocations: 3.938 kB / 0.4994 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.129, allocations: 27.97 kB / 0.4994 GB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.129, allocations: 0 / 0.4994 GB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.1292, allocations: 23.94 kB / 0.4994 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.1292, allocations: 7.984 kB / 0.4994 GB, free: 6.535 MB / 362.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 0.0001542/0.1293, allocations: 125.8 kB / 0.4995 GB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.1294, allocations: 15.95 kB / 0.4996 GB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.1294, allocations: 13.41 kB / 0.4996 GB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.1294, allocations: 7.938 kB / 0.4996 GB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1294, allocations: 0 / 0.4996 GB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1294, allocations: 3.984 kB / 0.4996 GB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.1297, allocations: 161.2 kB / 0.4997 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1297, allocations: 0 / 0.4997 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.1299, allocations: 23.97 kB / 0.4998 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1299, allocations: 0 / 0.4998 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1299, allocations: 4 kB / 0.4998 GB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1299, allocations: 4 kB / 0.4998 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.1299, allocations: 4.031 kB / 0.4998 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008309/0.1307, allocations: 268.8 kB / 0.5 GB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.1308, allocations: 19.92 kB / 0.5 GB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.1308, allocations: 0 / 0.5 GB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.131, allocations: 28.03 kB / 0.5001 GB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.1311, allocations: 15.92 kB / 0.5001 GB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1311, allocations: 0 / 0.5001 GB, free: 5.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1312, allocations: 128.7 kB / 0.5002 GB, free: 5.668 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1312, allocations: 0 / 0.5002 GB, free: 5.668 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.1315, allocations: 24 kB / 0.5002 GB, free: 5.645 MB / 362.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.0001693/0.1316, allocations: 103.2 kB / 0.5003 GB, free: 5.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.1323, allocations: 225.3 kB / 0.5005 GB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1323, allocations: 0 / 0.5005 GB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.1325, allocations: 67.94 kB / 0.5006 GB, free: 5.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1328, allocations: 23.97 kB / 0.5006 GB, free: 5.207 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.1337, allocations: 315.2 kB / 0.5009 GB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.1338, allocations: 98.23 kB / 0.501 GB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.1339, allocations: 12.97 kB / 0.501 GB, free: 4.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.1339, allocations: 11.44 kB / 0.501 GB, free: 4.727 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1339, allocations: 0 / 0.501 GB, free: 4.727 MB / 362.7 MB Notification: Performance of Templates: time 0.00633/0.1403, allocations: 2.296 MB / 0.5033 GB, free: 2.457 MB / 362.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: 5.447710060048848]