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.001923/0.001923, 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.002054/0.002054, allocations: 207.9 kB / 22.25 MB, free: 3.57 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.682/1.682, allocations: 230.6 MB / 256 MB, free: 9.594 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.05231/0.05231, allocations: 9.548 MB / 322 MB, free: 8.457 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.00388/0.00388, allocations: 75.89 kB / 449.1 MB, free: 37.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09036/0.09424, allocations: 55.79 MB / 0.4931 GB, free: 13.33 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.00895/0.1032, allocations: 5.209 MB / 0.4981 GB, free: 8.098 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.1059, allocations: 1.477 MB / 0.4996 GB, free: 6.617 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.1063, allocations: 31.81 kB / 0.4996 GB, free: 6.586 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.1068, allocations: 178.2 kB / 0.4998 GB, free: 6.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.1074, allocations: 305.4 kB / 0.5001 GB, free: 6.109 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007287/0.1081, allocations: 391.5 kB / 0.5004 GB, free: 5.727 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001796/0.1099, allocations: 1.399 MB / 0.5018 GB, free: 4.316 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.1107, allocations: 468.4 kB / 0.5023 GB, free: 3.832 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006079/0.1113, allocations: 0.5178 MB / 0.5028 GB, free: 3.312 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.112, allocations: 489.6 kB / 0.5032 GB, free: 2.832 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.1122, allocations: 172 kB / 0.5034 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.1125, allocations: 168 kB / 0.5036 GB, free: 2.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.1128, allocations: 319.1 kB / 0.5039 GB, free: 2.188 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005815/0.1134, allocations: 0.5212 MB / 0.5044 GB, free: 1.664 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.1152, allocations: 1.654 MB / 0.506 GB, free: 4 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1152, allocations: 4 kB / 0.506 GB, free: 0 / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1152, allocations: 112 / 0.506 GB, free: 16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.1152, allocations: 3.938 kB / 0.506 GB, free: 15.99 MB / 378.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.002392/0.1176, allocations: 1.327 MB / 0.5073 GB, free: 14.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1177, allocations: 12.03 kB / 0.5073 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.1179, allocations: 132.1 kB / 0.5074 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009649/0.1188, allocations: 0.5622 MB / 0.508 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.066e-05/0.1189, allocations: 86.53 kB / 0.5081 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.1191, allocations: 108.1 kB / 0.5082 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.1216, allocations: 1.555 MB / 0.5097 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.1217, allocations: 0 / 0.5097 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.1218, allocations: 48 kB / 0.5097 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.1218, allocations: 28 kB / 0.5097 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.1234, allocations: 0.7929 MB / 0.5105 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006368/0.1297, allocations: 3.52 MB / 0.514 GB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.1309, allocations: 0.5907 MB / 0.5145 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005995/0.1315, allocations: 307.2 kB / 0.5148 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.1316, allocations: 12.64 kB / 0.5148 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.1316, allocations: 43.22 kB / 0.5149 GB, free: 6.434 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 1.864e-06/0.1316, allocations: 0 / 0.5149 GB, free: 6.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.002067/0.1337, allocations: 0.7998 MB / 0.5157 GB, free: 5.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002453/0.1339, allocations: 317.1 kB / 0.516 GB, free: 5.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.1347, allocations: 0.5213 MB / 0.5165 GB, free: 4.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.1347, allocations: 37.7 kB / 0.5165 GB, free: 4.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004714/0.1352, allocations: 0.5077 MB / 0.517 GB, free: 4.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.1354, allocations: 230.1 kB / 0.5172 GB, free: 3.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.1357, allocations: 166.5 kB / 0.5174 GB, free: 3.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000241/0.1359, allocations: 370.8 kB / 0.5177 GB, free: 3.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.1364, allocations: 237.9 kB / 0.518 GB, free: 3.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009412/0.1373, allocations: 0.7801 MB / 0.5187 GB, free: 2.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.1384, allocations: 0.6899 MB / 0.5194 GB, free: 1.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.1384, allocations: 4 kB / 0.5194 GB, free: 1.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002995/0.1414, allocations: 1.09 MB / 0.5205 GB, free: 300 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1414, allocations: 8 kB / 0.5205 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1414, allocations: 7.938 kB / 0.5205 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.143, allocations: 359.3 kB / 0.5208 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.1436, allocations: 155.8 kB / 0.521 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.1544, allocations: 6.904 MB / 0.5277 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009532/0.1554, allocations: 139.4 kB / 0.5279 GB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.1555, allocations: 36 kB / 0.5279 GB, free: 8.262 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.0005285/0.156, allocations: 284.2 kB / 0.5282 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.1562, allocations: 71.58 kB / 0.5282 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.1563, allocations: 81.67 kB / 0.5283 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1564, allocations: 4.141 kB / 0.5283 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.1564, allocations: 8.062 kB / 0.5283 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1564, allocations: 3.984 kB / 0.5283 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.1593, allocations: 1.401 MB / 0.5297 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.1593, allocations: 7.984 kB / 0.5297 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.1598, allocations: 95.89 kB / 0.5298 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.16, allocations: 73.55 kB / 0.5299 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.16, allocations: 23.98 kB / 0.5299 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/0.1629, allocations: 2.91 MB / 0.5327 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1629, allocations: 0 / 0.5327 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.1644, allocations: 0.952 MB / 0.5337 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1645, allocations: 71.48 kB / 0.5337 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.905e-05/0.1646, allocations: 23.94 kB / 0.5337 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.1651, allocations: 92.03 kB / 0.5338 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.1653, allocations: 60.28 kB / 0.5339 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.1653, allocations: 19.94 kB / 0.5339 GB, free: 1.789 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004659/0.1658, allocations: 354.9 kB / 0.5342 GB, free: 1.445 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1658, allocations: 0 / 0.5342 GB, free: 1.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009311/0.1667, allocations: 287.2 kB / 0.5345 GB, free: 1.164 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.0001775/0.1669, allocations: 121.8 kB / 0.5346 GB, free: 1.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.1686, allocations: 1.082 MB / 0.5357 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1686, allocations: 4 kB / 0.5357 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009698/0.1696, allocations: 0.5161 MB / 0.5362 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.1703, allocations: 131.2 kB / 0.5363 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.1733, allocations: 1.764 MB / 0.538 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.1738, allocations: 404.5 kB / 0.5384 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003256/0.1742, allocations: 85.19 kB / 0.5385 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.1743, allocations: 59.42 kB / 0.5386 GB, free: 12.86 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1743, allocations: 0 / 0.5386 GB, free: 12.86 MB / 410.7 MB Notification: Performance of Templates: time 0.02211/0.1964, allocations: 11.8 MB / 0.5501 GB, free: 1.238 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.01506126113236]