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.001002/0.001002, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 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.0009827/0.0009827, allocations: 211.6 kB / 22.99 MB, free: 2.961 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 0.9819/0.9819, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.02835/0.02835, allocations: 9.545 MB / 322.7 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.001393/0.001393, allocations: 72.17 kB / 449.1 MB, free: 38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08645/0.08784, allocations: 55.79 MB / 0.493 GB, free: 14.11 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.002173/0.09002, allocations: 1.885 MB / 0.4949 GB, free: 12.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006684/0.09068, allocations: 0.4948 MB / 0.4954 GB, free: 11.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.936e-05/0.09077, allocations: 4 kB / 0.4954 GB, free: 11.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.036e-05/0.09082, allocations: 15.86 kB / 0.4954 GB, free: 11.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.09094, allocations: 27.7 kB / 0.4954 GB, free: 11.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.09119, allocations: 43.89 kB / 0.4954 GB, free: 11.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.09134, allocations: 115.5 kB / 0.4956 GB, free: 11.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.09149, allocations: 21.3 kB / 0.4956 GB, free: 11.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.09166, allocations: 63.72 kB / 0.4956 GB, free: 11.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.09175, allocations: 47.77 kB / 0.4957 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.09177, allocations: 12 kB / 0.4957 GB, free: 11.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-05/0.09182, allocations: 12 kB / 0.4957 GB, free: 11.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.09185, allocations: 27.86 kB / 0.4957 GB, free: 11.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.09189, allocations: 43.8 kB / 0.4958 GB, free: 11.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.09206, allocations: 123.5 kB / 0.4959 GB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.09206, allocations: 3.938 kB / 0.4959 GB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.09206, allocations: 0 / 0.4959 GB, free: 11.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.09207, allocations: 0 / 0.4959 GB, free: 11.16 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.0004782/0.09255, allocations: 341.8 kB / 0.4962 GB, free: 10.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.09259, allocations: 16.03 kB / 0.4962 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.0927, allocations: 20.88 kB / 0.4963 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.09286, allocations: 138.3 kB / 0.4964 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.09287, allocations: 8.375 kB / 0.4964 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.0929, allocations: 20.11 kB / 0.4964 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.09319, allocations: 89.66 kB / 0.4965 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.0932, allocations: 3.938 kB / 0.4965 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.09321, allocations: 4 kB / 0.4965 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.09322, allocations: 0 / 0.4965 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.09332, allocations: 71.95 kB / 0.4966 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.09373, allocations: 359.2 kB / 0.4969 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.09384, allocations: 66.48 kB / 0.497 GB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.09388, allocations: 28.97 kB / 0.497 GB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.0939, allocations: 4 kB / 0.497 GB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.09392, allocations: 30.56 kB / 0.497 GB, free: 9.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.09392, allocations: 0 / 0.497 GB, free: 9.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002296/0.09415, allocations: 117.7 kB / 0.4972 GB, free: 9.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.09418, allocations: 51.41 kB / 0.4972 GB, free: 9.684 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.09426, allocations: 140.6 kB / 0.4973 GB, free: 9.535 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.09427, allocations: 29.7 kB / 0.4974 GB, free: 9.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.09433, allocations: 116.1 kB / 0.4975 GB, free: 9.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.09434, allocations: 23.84 kB / 0.4975 GB, free: 9.355 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.09437, allocations: 21.66 kB / 0.4975 GB, free: 9.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.09444, allocations: 322.8 kB / 0.4978 GB, free: 9.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.09448, allocations: 23.98 kB / 0.4978 GB, free: 8.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.048e-05/0.09453, allocations: 46.56 kB / 0.4979 GB, free: 8.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.31e-05/0.09461, allocations: 70.5 kB / 0.498 GB, free: 8.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.09462, allocations: 0 / 0.498 GB, free: 8.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001169/0.09473, allocations: 97.56 kB / 0.4981 GB, free: 8.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.09474, allocations: 11.94 kB / 0.4981 GB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.09475, allocations: 3.984 kB / 0.4981 GB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.09476, allocations: 0 / 0.4981 GB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.09485, allocations: 24.25 kB / 0.4981 GB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.09486, allocations: 3.984 kB / 0.4981 GB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.09489, allocations: 15.83 kB / 0.4981 GB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.0949, allocations: 4 kB / 0.4981 GB, free: 8.684 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 5.773e-05/0.09496, allocations: 113.8 kB / 0.4982 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.09497, allocations: 15.89 kB / 0.4982 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.095, allocations: 20.64 kB / 0.4983 GB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.095, allocations: 0 / 0.4983 GB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.095, allocations: 0 / 0.4983 GB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.095, allocations: 3.938 kB / 0.4983 GB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.09511, allocations: 149.3 kB / 0.4984 GB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.09511, allocations: 0 / 0.4984 GB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/0.09517, allocations: 15.98 kB / 0.4984 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.09517, allocations: 0 / 0.4984 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.09518, allocations: 3.938 kB / 0.4984 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.09518, allocations: 0 / 0.4984 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.09518, allocations: 0 / 0.4984 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.09538, allocations: 211.5 kB / 0.4986 GB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.0954, allocations: 11.94 kB / 0.4986 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.09542, allocations: 8.312 kB / 0.4986 GB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.09546, allocations: 4 kB / 0.4986 GB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.0955, allocations: 15.92 kB / 0.4987 GB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.0955, allocations: 0 / 0.4987 GB, free: 8.066 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.659e-05/0.09555, allocations: 109.7 kB / 0.4988 GB, free: 7.961 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09555, allocations: 0 / 0.4988 GB, free: 7.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.0957, allocations: 23.89 kB / 0.4988 GB, free: 7.938 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 7.094e-05/0.09577, allocations: 99.23 kB / 0.4989 GB, free: 7.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.09589, allocations: 64.03 kB / 0.4989 GB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.09589, allocations: 4 kB / 0.4989 GB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.09593, allocations: 27.98 kB / 0.499 GB, free: 7.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.09611, allocations: 9.25 kB / 0.499 GB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.09649, allocations: 281.8 kB / 0.4993 GB, free: 7.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.106e-05/0.09654, allocations: 92.14 kB / 0.4993 GB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.09657, allocations: 15.42 kB / 0.4994 GB, free: 7.297 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.09658, allocations: 0 / 0.4994 GB, free: 7.297 MB / 362.7 MB Notification: Performance of Templates: time 0.001784/0.09836, allocations: 1.242 MB / 0.5006 GB, free: 6.051 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 > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.963642040733248]