Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.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.001414/0.001414, 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.001521/0.001521, allocations: 211.5 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 1.037/1.037, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.02725/0.02725, allocations: 9.551 MB / 322.7 MB, free: 8.465 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.ChuasMemristor.ImprovedCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit") translateModel(ChaoticCircuits.ChuasMemristor.ImprovedCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit") [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.001365/0.001365, allocations: 67.83 kB / 449.1 MB, free: 38.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08126/0.08263, allocations: 55.79 MB / 0.493 GB, free: 14.12 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.00434/0.08697, allocations: 5.213 MB / 0.4981 GB, free: 8.879 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.08874, allocations: 1.473 MB / 0.4996 GB, free: 7.402 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.08899, allocations: 27.88 kB / 0.4996 GB, free: 7.375 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.08929, allocations: 186.1 kB / 0.4998 GB, free: 7.191 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.08962, allocations: 309.4 kB / 0.5001 GB, free: 6.887 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.09007, allocations: 391.5 kB / 0.5004 GB, free: 6.504 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008015/0.09087, allocations: 1.399 MB / 0.5018 GB, free: 5.102 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004886/0.09136, allocations: 468.3 kB / 0.5022 GB, free: 4.617 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.09165, allocations: 0.5256 MB / 0.5028 GB, free: 4.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.09203, allocations: 489.5 kB / 0.5032 GB, free: 3.605 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.09216, allocations: 168 kB / 0.5034 GB, free: 3.441 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.09228, allocations: 172 kB / 0.5035 GB, free: 3.273 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.09244, allocations: 315 kB / 0.5038 GB, free: 2.965 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.09273, allocations: 0.5135 MB / 0.5043 GB, free: 2.449 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.09392, allocations: 1.662 MB / 0.506 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.09393, allocations: 7.938 kB / 0.506 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09393, allocations: 0 / 0.506 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.09394, allocations: 0 / 0.506 GB, free: 0.7734 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.00134/0.09528, allocations: 1.315 MB / 0.5073 GB, free: 15.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.09532, allocations: 12.03 kB / 0.5073 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.09544, allocations: 136.1 kB / 0.5074 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.09603, allocations: 0.5621 MB / 0.508 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.09607, allocations: 78.55 kB / 0.508 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.09617, allocations: 120.1 kB / 0.5081 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.09744, allocations: 1.551 MB / 0.5097 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.09745, allocations: 0 / 0.5097 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/0.09752, allocations: 48 kB / 0.5097 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.09754, allocations: 28 kB / 0.5097 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008872/0.09842, allocations: 0.789 MB / 0.5105 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.1021, allocations: 3.52 MB / 0.5139 GB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/0.1028, allocations: 0.59 MB / 0.5145 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.1031, allocations: 317.1 kB / 0.5148 GB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.1031, allocations: 12.59 kB / 0.5148 GB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1032, allocations: 39.22 kB / 0.5149 GB, free: 7.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 1.683e-06/0.1032, allocations: 4.219 kB / 0.5149 GB, free: 7.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.001014/0.1042, allocations: 0.792 MB / 0.5156 GB, free: 6.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/0.1043, allocations: 325 kB / 0.516 GB, free: 6.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.1047, allocations: 0.5213 MB / 0.5165 GB, free: 5.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.1047, allocations: 37.7 kB / 0.5165 GB, free: 5.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.1049, allocations: 0.5161 MB / 0.517 GB, free: 4.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.105, allocations: 210.2 kB / 0.5172 GB, free: 4.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.1051, allocations: 170.6 kB / 0.5174 GB, free: 4.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1052, allocations: 370.8 kB / 0.5177 GB, free: 4.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.1055, allocations: 241.9 kB / 0.518 GB, free: 3.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.106, allocations: 0.7762 MB / 0.5187 GB, free: 2.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.1068, allocations: 0.686 MB / 0.5194 GB, free: 2.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1068, allocations: 4 kB / 0.5194 GB, free: 2.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00137/0.1082, allocations: 1.09 MB / 0.5204 GB, free: 1.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1082, allocations: 8 kB / 0.5205 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1082, allocations: 11.94 kB / 0.5205 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008002/0.109, allocations: 359.3 kB / 0.5208 GB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.1093, allocations: 151.8 kB / 0.521 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/0.1149, allocations: 6.922 MB / 0.5277 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.1152, allocations: 127.3 kB / 0.5278 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.1152, allocations: 36.05 kB / 0.5279 GB, free: 9.051 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (memristor.opAmp2.limiter.satNeg,memristor.opAmp2.limiter.satPos,memristor.multiplier2.limiter2.satNeg,memristor.multiplier2.limiter2.satPos,memristor.multiplier2.limiter1.satNeg,memristor.multiplier2.limiter1.satPos,memristor.multiplier1.limiter2.satNeg,memristor.multiplier1.limiter2.satPos,memristor.multiplier1.limiter1.satNeg,memristor.multiplier1.limiter1.satPos,memristor.opAmp1.limiter.satNeg,memristor.opAmp1.limiter.satPos,memristor.opAmp1_1.limiter.satNeg,memristor.opAmp1_1.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,6), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002446/0.1154, allocations: 292.3 kB / 0.5281 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.1155, allocations: 67.58 kB / 0.5282 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.1156, allocations: 81.67 kB / 0.5283 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1156, allocations: 8 kB / 0.5283 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1156, allocations: 0 / 0.5283 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1156, allocations: 3.984 kB / 0.5283 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1169, allocations: 1.405 MB / 0.5297 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1169, allocations: 0 / 0.5297 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.1172, allocations: 99.88 kB / 0.5298 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.1173, allocations: 77.64 kB / 0.5298 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.1173, allocations: 20 kB / 0.5299 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.1186, allocations: 2.906 MB / 0.5327 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1186, allocations: 0 / 0.5327 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1197, allocations: 0.9677 MB / 0.5336 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1198, allocations: 71.44 kB / 0.5337 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.1198, allocations: 23.92 kB / 0.5337 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.1201, allocations: 83.92 kB / 0.5338 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.1202, allocations: 56.34 kB / 0.5339 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1202, allocations: 23.98 kB / 0.5339 GB, free: 2.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002489/0.1204, allocations: 346.9 kB / 0.5342 GB, free: 2.238 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1204, allocations: 0 / 0.5342 GB, free: 2.238 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005136/0.1209, allocations: 283.2 kB / 0.5345 GB, free: 1.961 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (inductor.i,capacitor1.v,capacitor2.v,memristor.opAmp1_1.firstOrder.y,memristor.opAmp1.firstOrder.y,memristor.capacitor.v,memristor.opAmp2.firstOrder.y) * Number of discrete variables: 14 (memristor.opAmp1_1.limiter.satPos,memristor.opAmp1_1.limiter.satNeg,memristor.opAmp1.limiter.satPos,memristor.opAmp1.limiter.satNeg,memristor.multiplier1.limiter1.satPos,memristor.multiplier1.limiter1.satNeg,memristor.multiplier1.limiter2.satPos,memristor.multiplier1.limiter2.satNeg,memristor.multiplier2.limiter1.satPos,memristor.multiplier2.limiter1.satNeg,memristor.multiplier2.limiter2.satPos,memristor.multiplier2.limiter2.satNeg,memristor.opAmp2.limiter.satPos,memristor.opAmp2.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.1211, allocations: 133.9 kB / 0.5346 GB, free: 1.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.122, allocations: 1.082 MB / 0.5357 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.122, allocations: 0 / 0.5357 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.1224, allocations: 0.5197 MB / 0.5362 GB, free: 148 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1228, allocations: 138.3 kB / 0.5363 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1246, allocations: 1.79 MB / 0.5381 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1249, allocations: 404.5 kB / 0.5384 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.125, allocations: 63.42 kB / 0.5385 GB, free: 13.69 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.125, allocations: 0 / 0.5385 GB, free: 13.69 MB / 410.7 MB Notification: Performance of Templates: time 0.1823/0.3073, allocations: 24.37 MB / 0.5623 GB, free: 54.72 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.sim & ./ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.54251151997596]