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.00129/0.00129, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001105/0.001105, allocations: 165 kB / 24.22 MB, free: 244 kB / 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.9801/0.9801, allocations: 177.2 MB / 204.7 MB, free: 5.461 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.02521/0.02521, allocations: 7.105 MB / 268.3 MB, free: 5.914 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.713e-06/1.713e-06, allocations: 0 / 287.2 MB, free: 2.926 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.389e-05, allocations: 6.25 kB / 287.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.1185/0.1185, allocations: 5.661 MB / 292.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.1214, allocations: 1.546 MB / 294.5 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.1219, allocations: 28.53 kB / 294.5 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.1223, allocations: 190.8 kB / 294.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005806/0.1229, allocations: 310.9 kB / 295 MB, free: 17.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.1236, allocations: 397.7 kB / 295.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.1248, allocations: 1.442 MB / 296.8 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006364/0.1254, allocations: 489 kB / 297.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008802/0.1263, allocations: 0.8078 MB / 298.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.127, allocations: 451.2 kB / 298.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.1272, allocations: 170.7 kB / 298.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.1274, allocations: 170.9 kB / 298.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.1276, allocations: 331.4 kB / 299.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.128, allocations: 453.8 kB / 299.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009566/0.129, allocations: 0.947 MB / 300.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.129, allocations: 5.281 kB / 300.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.129, allocations: 0 / 300.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.921e-05/0.129, allocations: 0.6562 kB / 300.6 MB, free: 14.23 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.001678/0.1307, allocations: 1.303 MB / 301.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1308, allocations: 8.969 kB / 301.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.131, allocations: 173.4 kB / 302.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.1316, allocations: 410.3 kB / 302.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.1316, allocations: 82.3 kB / 302.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.1317, allocations: 114.8 kB / 302.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.1327, allocations: 1.196 MB / 303.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.1327, allocations: 2.312 kB / 303.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.1328, allocations: 51.31 kB / 303.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.1328, allocations: 27.16 kB / 303.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.1333, allocations: 277 kB / 304.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.1367, allocations: 2.936 MB / 307.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.1372, allocations: 339 kB / 307.5 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.1374, allocations: 170.5 kB / 307.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1374, allocations: 20.2 kB / 307.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1374, allocations: 41 kB / 307.7 MB, free: 9.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.074e-06/0.1374, allocations: 1.5 kB / 307.7 MB, free: 9.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.0007279/0.1382, allocations: 443.2 kB / 308.1 MB, free: 9.637 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1382, allocations: 317.4 kB / 308.4 MB, free: 9.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.1385, allocations: 462.8 kB / 308.9 MB, free: 8.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1385, allocations: 36.67 kB / 308.9 MB, free: 8.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1386, allocations: 475.5 kB / 309.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/0.1387, allocations: 224.8 kB / 309.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.1389, allocations: 163.9 kB / 309.8 MB, free: 8.219 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.1389, allocations: 373.8 kB / 310.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1391, allocations: 77.23 kB / 310.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.1393, allocations: 0.6089 MB / 310.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.1396, allocations: 469.1 kB / 311.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1396, allocations: 3.938 kB / 311.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008507/0.1405, allocations: 0.6214 MB / 311.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1405, allocations: 8 kB / 311.9 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1405, allocations: 8 kB / 311.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008873/0.1414, allocations: 334.5 kB / 312.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.1418, allocations: 184.5 kB / 312.4 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.1447, allocations: 5.545 MB / 318 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.1451, allocations: 111.5 kB / 318.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.1451, allocations: 35.94 kB / 318.1 MB, free: 15.3 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.0001809/0.1453, allocations: 179 kB / 318.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.1454, allocations: 67.92 kB / 318.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.1454, allocations: 73.75 kB / 318.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1455, allocations: 4 kB / 318.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1455, allocations: 4 kB / 318.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1455, allocations: 6.797 kB / 318.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1466, allocations: 0.8464 MB / 319.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1466, allocations: 4 kB / 319.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.147, allocations: 123.8 kB / 319.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.1471, allocations: 73.75 kB / 319.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.1472, allocations: 15.98 kB / 319.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.1485, allocations: 2.6 MB / 322.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1485, allocations: 0 / 322.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.1491, allocations: 0.5448 MB / 322.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.1491, allocations: 63.44 kB / 322.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.1492, allocations: 12 kB / 322.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.1495, allocations: 63.98 kB / 322.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.1495, allocations: 64.39 kB / 322.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.1496, allocations: 12 kB / 322.9 MB, free: 10.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1497, allocations: 188.4 kB / 323 MB, free: 10.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1497, allocations: 0 / 323 MB, free: 10.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006571/0.1504, allocations: 291.2 kB / 323.3 MB, free: 9.832 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.0001144/0.1505, allocations: 114.3 kB / 323.4 MB, free: 9.715 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007586/0.1513, allocations: 0.8518 MB / 324.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/0.1513, allocations: 8.5 kB / 324.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.1518, allocations: 407.5 kB / 324.7 MB, free: 8.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.1523, allocations: 138.3 kB / 324.8 MB, free: 8.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.1573, allocations: 1.514 MB / 326.3 MB, free: 6.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.1574, allocations: 172.2 kB / 326.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.1576, allocations: 77.2 kB / 326.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003339/0.161, allocations: 221.2 kB / 326.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.161, allocations: 0 / 326.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of Templates: time 0.01441/0.1754, allocations: 11.91 MB / 338.7 MB, free: 10.55 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: 4.049946745857596]