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.001938/0.001938, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002127/0.002127, allocations: 213.5 kB / 22.25 MB, free: 3.586 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.828/1.828, allocations: 230.6 MB / 256 MB, free: 9.613 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.05159/0.05159, allocations: 9.545 MB / 322 MB, free: 8.48 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: 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.004096/0.004096, allocations: 67.89 kB / 449.1 MB, free: 37.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1171, allocations: 55.79 MB / 0.4931 GB, free: 13.33 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.004383/0.1215, allocations: 1.877 MB / 0.4949 GB, free: 11.44 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.123, allocations: 0.4988 MB / 0.4954 GB, free: 10.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.1232, allocations: 3.938 kB / 0.4954 GB, free: 10.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.585e-05/0.1233, allocations: 11.86 kB / 0.4954 GB, free: 10.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1235, allocations: 31.7 kB / 0.4954 GB, free: 10.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.1238, allocations: 43.89 kB / 0.4955 GB, free: 10.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.124, allocations: 119.5 kB / 0.4956 GB, free: 10.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1242, allocations: 33.22 kB / 0.4956 GB, free: 10.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.1244, allocations: 51.84 kB / 0.4957 GB, free: 10.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1245, allocations: 47.72 kB / 0.4957 GB, free: 10.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.1246, allocations: 12 kB / 0.4957 GB, free: 10.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.702e-05/0.1247, allocations: 12 kB / 0.4957 GB, free: 10.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.1247, allocations: 23.92 kB / 0.4957 GB, free: 10.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.1248, allocations: 47.77 kB / 0.4958 GB, free: 10.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.125, allocations: 119.5 kB / 0.4959 GB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.125, allocations: 3.938 kB / 0.4959 GB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.125, allocations: 0 / 0.4959 GB, free: 10.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.125, allocations: 0 / 0.4959 GB, free: 10.39 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008602/0.1259, allocations: 341.8 kB / 0.4962 GB, free: 10.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1259, allocations: 16.02 kB / 0.4963 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.1261, allocations: 12.89 kB / 0.4963 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.1263, allocations: 152.4 kB / 0.4964 GB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1264, allocations: 8.375 kB / 0.4964 GB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.1264, allocations: 16.12 kB / 0.4964 GB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.1266, allocations: 85.66 kB / 0.4965 GB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1267, allocations: 4 kB / 0.4965 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1267, allocations: 4 kB / 0.4965 GB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1267, allocations: 4 kB / 0.4965 GB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.1269, allocations: 67.95 kB / 0.4966 GB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.1276, allocations: 363.2 kB / 0.4969 GB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1278, allocations: 62.5 kB / 0.497 GB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.1279, allocations: 28.91 kB / 0.497 GB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1279, allocations: 4 kB / 0.497 GB, free: 9.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1279, allocations: 34.56 kB / 0.4971 GB, free: 9.094 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1279, allocations: 4 kB / 0.4971 GB, free: 9.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003643/0.1283, allocations: 109.7 kB / 0.4972 GB, free: 8.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1283, allocations: 55.34 kB / 0.4972 GB, free: 8.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1285, allocations: 140.4 kB / 0.4974 GB, free: 8.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1285, allocations: 25.7 kB / 0.4974 GB, free: 8.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.1286, allocations: 116.2 kB / 0.4975 GB, free: 8.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1286, allocations: 23.84 kB / 0.4975 GB, free: 8.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.1287, allocations: 17.72 kB / 0.4975 GB, free: 8.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1288, allocations: 322.8 kB / 0.4978 GB, free: 8.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.1289, allocations: 27.98 kB / 0.4979 GB, free: 8.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.129, allocations: 42.56 kB / 0.4979 GB, free: 8.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1292, allocations: 78.47 kB / 0.498 GB, free: 8.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1292, allocations: 0 / 0.498 GB, free: 8.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002188/0.1294, allocations: 97.56 kB / 0.4981 GB, free: 7.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.1294, allocations: 11.94 kB / 0.4981 GB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1294, allocations: 4 kB / 0.4981 GB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1294, allocations: 4 kB / 0.4981 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1296, allocations: 19.98 kB / 0.4981 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1296, allocations: 0 / 0.4981 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.1297, allocations: 15.89 kB / 0.4981 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1297, allocations: 4 kB / 0.4981 GB, free: 7.914 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: 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 0.0001056/0.1298, allocations: 117.8 kB / 0.4982 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.1298, allocations: 15.88 kB / 0.4983 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.1299, allocations: 16.72 kB / 0.4983 GB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1299, allocations: 0 / 0.4983 GB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1299, allocations: 4 kB / 0.4983 GB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1299, allocations: 0 / 0.4983 GB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.1301, allocations: 137.5 kB / 0.4984 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1301, allocations: 4 kB / 0.4984 GB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1302, allocations: 19.98 kB / 0.4984 GB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1302, allocations: 0 / 0.4984 GB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1302, allocations: 3.938 kB / 0.4984 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1302, allocations: 0 / 0.4984 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1302, allocations: 192 / 0.4984 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.1306, allocations: 215.4 kB / 0.4986 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.1306, allocations: 23.97 kB / 0.4987 GB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1306, allocations: 3.938 kB / 0.4987 GB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/0.1307, allocations: 7.984 kB / 0.4987 GB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.1307, allocations: 0 / 0.4987 GB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1307, allocations: 4 kB / 0.4987 GB, free: 7.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.727e-05/0.1308, allocations: 117.7 kB / 0.4988 GB, free: 7.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1308, allocations: 0 / 0.4988 GB, free: 7.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.1311, allocations: 23.89 kB / 0.4988 GB, free: 7.16 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: 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 0.0001122/0.1312, allocations: 91.25 kB / 0.4989 GB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1314, allocations: 63.91 kB / 0.499 GB, free: 7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1314, allocations: 4 kB / 0.499 GB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.1315, allocations: 27.98 kB / 0.499 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1317, allocations: 4 kB / 0.499 GB, free: 6.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.1323, allocations: 264.1 kB / 0.4992 GB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.1324, allocations: 92.27 kB / 0.4993 GB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.117e-05/0.1325, allocations: 7.938 kB / 0.4993 GB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.1325, allocations: 11.44 kB / 0.4994 GB, free: 6.551 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1325, allocations: 4 kB / 0.4994 GB, free: 6.547 MB / 362.7 MB Notification: Performance of Templates: time 0.003862/0.1364, allocations: 0.8813 MB / 0.5002 GB, free: 5.676 MB / 362.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: 5.3902860172092915]