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.001071/0.001071, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001277/0.001277, allocations: 169 kB / 24.06 MB, free: 456 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.9554/0.9554, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.02599/0.02599, allocations: 7.117 MB / 268.1 MB, free: 5.902 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.042e-06/1.042e-06, allocations: 0 / 340.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.609e-05, allocations: 5.406 kB / 340.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.003676/0.003692, allocations: 5.609 MB / 345.9 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.005604, allocations: 1.5 MB / 347.4 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.005951, allocations: 27.88 kB / 347.4 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.006227, allocations: 186.2 kB / 347.6 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.006588, allocations: 313.1 kB / 347.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.007047, allocations: 407.4 kB / 348.3 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007569/0.007804, allocations: 1.438 MB / 349.7 MB, free: 112 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006623/0.008467, allocations: 468.4 kB / 350.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007166/0.009183, allocations: 0.811 MB / 351 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.009639, allocations: 442.7 kB / 351.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.009792, allocations: 172 kB / 351.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.009924, allocations: 172 kB / 351.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.01009, allocations: 327 kB / 352.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004615/0.01055, allocations: 463 kB / 352.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.01127, allocations: 0.9499 MB / 353.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01127, allocations: 0 / 353.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01128, allocations: 0 / 353.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.01129, allocations: 0 / 353.5 MB, free: 12.32 MB / 282.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.001407/0.0127, allocations: 1.427 MB / 354.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.01273, allocations: 8.031 kB / 354.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.01298, allocations: 216.2 kB / 355.2 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.01353, allocations: 0.5757 MB / 355.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.01357, allocations: 82.55 kB / 355.8 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.01368, allocations: 112.4 kB / 355.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.01488, allocations: 1.206 MB / 357.1 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.0149, allocations: 3.938 kB / 357.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.29e-05/0.01497, allocations: 48 kB / 357.2 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.01498, allocations: 28 kB / 357.2 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.0154, allocations: 314.2 kB / 357.5 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.01877, allocations: 3.516 MB / 361 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.01924, allocations: 387.9 kB / 361.4 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.01947, allocations: 193 kB / 361.6 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.0195, allocations: 16.66 kB / 361.6 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.01953, allocations: 46.05 kB / 361.7 MB, free: 3.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 2.174e-06/0.01953, allocations: 0 / 361.7 MB, free: 3.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.0007433/0.02027, allocations: 0.5202 MB / 362.2 MB, free: 3.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/0.02037, allocations: 321.1 kB / 362.5 MB, free: 2.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.02069, allocations: 0.5137 MB / 363 MB, free: 2.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.02072, allocations: 37.7 kB / 363 MB, free: 2.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.02096, allocations: 0.557 MB / 363.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.02108, allocations: 218.1 kB / 363.8 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.02123, allocations: 180.2 kB / 364 MB, free: 1.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.02137, allocations: 0.5468 MB / 364.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.02149, allocations: 85.92 kB / 364.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.02185, allocations: 0.7343 MB / 365.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.02225, allocations: 0.5266 MB / 365.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.02225, allocations: 4 kB / 365.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009606/0.02321, allocations: 0.757 MB / 366.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.02323, allocations: 8.188 kB / 366.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.02324, allocations: 12 kB / 366.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008676/0.02411, allocations: 346.4 kB / 367 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.02441, allocations: 155.7 kB / 367.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/0.0286, allocations: 7.923 MB / 375.1 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.02889, allocations: 111.4 kB / 375.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.02892, allocations: 28.22 kB / 375.2 MB, free: 5.125 MB / 298.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.0001958/0.02911, allocations: 231 kB / 375.4 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.0292, allocations: 95.52 kB / 375.5 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.588e-05/0.02927, allocations: 69.75 kB / 375.6 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.02927, allocations: 8 kB / 375.6 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.02928, allocations: 0 / 375.6 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.02929, allocations: 3.984 kB / 375.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.03042, allocations: 1.117 MB / 376.7 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.03042, allocations: 0 / 376.7 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.03067, allocations: 104 kB / 376.8 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.03082, allocations: 83.23 kB / 376.9 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.03084, allocations: 12 kB / 376.9 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.03261, allocations: 3.813 MB / 380.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.03261, allocations: 0 / 380.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.03319, allocations: 0.681 MB / 381.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.03325, allocations: 87.42 kB / 381.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.03329, allocations: 12 kB / 381.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.03352, allocations: 67.88 kB / 381.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.0336, allocations: 56.41 kB / 381.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.03362, allocations: 16 kB / 381.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002569/0.03387, allocations: 310.7 kB / 381.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.03387, allocations: 0 / 381.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006037/0.03448, allocations: 283.3 kB / 382.2 MB, free: 13.76 MB / 314.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.0001441/0.03462, allocations: 129.8 kB / 382.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008217/0.03544, allocations: 1.094 MB / 383.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.03545, allocations: 0 / 383.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.03576, allocations: 0.5271 MB / 384 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.03618, allocations: 150.3 kB / 384.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.03813, allocations: 1.553 MB / 385.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.03824, allocations: 180 kB / 385.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.03843, allocations: 81.19 kB / 385.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.03874, allocations: 258.1 kB / 386.2 MB, free: 9.609 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03874, allocations: 0 / 386.2 MB, free: 9.609 MB / 314.7 MB Notification: Performance of Templates: time 0.01483/0.05357, allocations: 11.98 MB / 398.2 MB, free: 13.81 MB / 330.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.569662575144321]