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.001376/0.001376, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001624/0.001624, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9999/0.9999, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.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.02862/0.02862, allocations: 7.11 MB / 267.4 MB, free: 5.938 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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 286.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.388e-05, allocations: 6.312 kB / 286.2 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.1097/0.1097, allocations: 5.602 MB / 291.9 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1125, allocations: 1.559 MB / 293.4 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004879/0.113, allocations: 27.88 kB / 293.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.1133, allocations: 190.3 kB / 293.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.1139, allocations: 316 kB / 293.9 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.1146, allocations: 396.5 kB / 294.3 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.1158, allocations: 1.434 MB / 295.8 MB, free: 16.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.1164, allocations: 496.6 kB / 296.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009108/0.1173, allocations: 0.8072 MB / 297 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.118, allocations: 457.9 kB / 297.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.1182, allocations: 170 kB / 297.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.1184, allocations: 172.1 kB / 297.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.1186, allocations: 319.5 kB / 298.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.119, allocations: 461.4 kB / 298.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008626/0.1199, allocations: 0.9448 MB / 299.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1199, allocations: 0.875 kB / 299.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1199, allocations: 0 / 299.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.1199, allocations: 0 / 299.5 MB, free: 14.29 MB / 266.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.00158/0.1215, allocations: 1.301 MB / 300.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1215, allocations: 11.91 kB / 300.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.1218, allocations: 177.1 kB / 301 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.1223, allocations: 411.9 kB / 301.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.1224, allocations: 83.5 kB / 301.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1225, allocations: 114.7 kB / 301.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.1234, allocations: 1.191 MB / 302.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.1235, allocations: 0.5625 kB / 302.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.1235, allocations: 52.25 kB / 302.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.1235, allocations: 24.97 kB / 302.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.124, allocations: 286.9 kB / 303.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/0.1275, allocations: 2.921 MB / 306.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.128, allocations: 340.8 kB / 306.4 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1282, allocations: 170.7 kB / 306.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1282, allocations: 20.8 kB / 306.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1283, allocations: 47.81 kB / 306.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.094e-06/0.1283, allocations: 0 / 306.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.0007415/0.129, allocations: 437.8 kB / 307.1 MB, free: 9.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1291, allocations: 321 kB / 307.4 MB, free: 9.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.1293, allocations: 460 kB / 307.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1294, allocations: 36.45 kB / 307.9 MB, free: 8.996 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1295, allocations: 480 kB / 308.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.1296, allocations: 219.8 kB / 308.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.1297, allocations: 164.2 kB / 308.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.1298, allocations: 379.8 kB / 309.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1299, allocations: 75.2 kB / 309.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.1302, allocations: 0.6137 MB / 309.8 MB, free: 7.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1304, allocations: 469 kB / 310.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1304, allocations: 0 / 310.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0006387/0.131, allocations: 0.6175 MB / 310.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1311, allocations: 8 kB / 310.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1311, allocations: 8.5 kB / 310.9 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007006/0.1318, allocations: 335.2 kB / 311.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.132, allocations: 153.9 kB / 311.3 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.1343, allocations: 5.547 MB / 316.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.1345, allocations: 111.4 kB / 317 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1346, allocations: 31.98 kB / 317 MB, free: 15.49 MB / 282.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.000162/0.1347, allocations: 179 kB / 317.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.1348, allocations: 74.72 kB / 317.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.183e-05/0.1349, allocations: 69.73 kB / 317.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1349, allocations: 8 kB / 317.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1349, allocations: 0 / 317.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1349, allocations: 7.984 kB / 317.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008743/0.1358, allocations: 0.8426 MB / 318.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1358, allocations: 0 / 318.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.136, allocations: 103.8 kB / 318.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.1361, allocations: 77.69 kB / 318.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1362, allocations: 12 kB / 318.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.1372, allocations: 2.595 MB / 321 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1372, allocations: 7.984 kB / 321 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.1377, allocations: 0.5409 MB / 321.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.1378, allocations: 55.5 kB / 321.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.1378, allocations: 16 kB / 321.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.138, allocations: 71.95 kB / 321.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.1381, allocations: 60.33 kB / 321.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.1381, allocations: 16 kB / 321.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1383, allocations: 184.4 kB / 321.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1383, allocations: 0 / 321.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005005/0.1388, allocations: 291.2 kB / 322.2 MB, free: 10.04 MB / 282.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.0001023/0.1389, allocations: 116.1 kB / 322.3 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006244/0.1395, allocations: 0.8479 MB / 323.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.1395, allocations: 8.5 kB / 323.2 MB, free: 9.008 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.1398, allocations: 407.7 kB / 323.6 MB, free: 8.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1401, allocations: 149.1 kB / 323.7 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.1417, allocations: 1.503 MB / 325.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.1418, allocations: 176.1 kB / 325.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.142, allocations: 73.53 kB / 325.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.1423, allocations: 221.2 kB / 325.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1423, allocations: 0 / 325.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of Templates: time 0.01352/0.1558, allocations: 11.72 MB / 337.4 MB, free: 10.93 MB / 298.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: 3.989760012831539]