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.002306/0.002306, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.002737/0.002737, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 1.616/1.616, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.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.06757/0.06757, allocations: 7.118 MB / 266.3 MB, free: 6.238 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.173e-06/1.173e-06, allocations: 0 / 393.5 MB, free: 2.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.308e-05, allocations: 2.281 kB / 393.5 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.007821/0.007844, allocations: 5.223 MB / 398.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003147/0.01099, allocations: 1.484 MB / 400.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/0.01145, allocations: 27.88 kB / 400.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.01191, allocations: 190.1 kB / 400.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006613/0.01257, allocations: 317.2 kB / 400.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007539/0.01333, allocations: 399.4 kB / 401.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.01499, allocations: 1.438 MB / 402.5 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008079/0.0158, allocations: 468.4 kB / 403 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.01713, allocations: 0.8148 MB / 403.8 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.01778, allocations: 406.7 kB / 404.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.01803, allocations: 172 kB / 404.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.01828, allocations: 168 kB / 404.5 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003378/0.01862, allocations: 323 kB / 404.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.01917, allocations: 455 kB / 405.3 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.02119, allocations: 1.687 MB / 407 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.02119, allocations: 4 kB / 407 MB, free: 5.125 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02119, allocations: 0 / 407 MB, free: 5.125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.02121, allocations: 0 / 407 MB, free: 5.125 MB / 330.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.002519/0.02373, allocations: 1.322 MB / 408.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.02377, allocations: 8.031 kB / 408.3 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.02399, allocations: 132.1 kB / 408.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009527/0.02494, allocations: 0.5575 MB / 409 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.531e-05/0.02502, allocations: 82.55 kB / 409.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.0252, allocations: 112.4 kB / 409.2 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.02781, allocations: 1.54 MB / 410.7 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.02783, allocations: 3.938 kB / 410.7 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.02793, allocations: 48 kB / 410.8 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.02796, allocations: 24 kB / 410.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.02948, allocations: 0.789 MB / 411.6 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1574/0.1869, allocations: 3.525 MB / 415.1 MB, free: 28.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009905/0.1879, allocations: 0.5893 MB / 415.7 MB, free: 28.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.1884, allocations: 305.7 kB / 416 MB, free: 28.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.1884, allocations: 12.2 kB / 416 MB, free: 28.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1885, allocations: 50 kB / 416.1 MB, free: 28.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 2.525e-06/0.1885, allocations: 0 / 416.1 MB, free: 28.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.001636/0.1901, allocations: 0.8005 MB / 416.9 MB, free: 27.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.1902, allocations: 326.1 kB / 417.2 MB, free: 27.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.1908, allocations: 0.5193 MB / 417.7 MB, free: 27.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.1909, allocations: 42.02 kB / 417.7 MB, free: 27.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.1911, allocations: 0.507 MB / 418.3 MB, free: 26.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.1913, allocations: 218 kB / 418.5 MB, free: 26.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.1915, allocations: 163.2 kB / 418.6 MB, free: 26.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.1916, allocations: 372.8 kB / 419 MB, free: 26.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.192, allocations: 236.8 kB / 419.2 MB, free: 26.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.1926, allocations: 0.7822 MB / 420 MB, free: 25.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008473/0.1934, allocations: 0.6942 MB / 420.7 MB, free: 24.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.1934, allocations: 2.281 kB / 420.7 MB, free: 24.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002486/0.1959, allocations: 1.089 MB / 421.8 MB, free: 24.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1959, allocations: 8.406 kB / 421.8 MB, free: 24.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.1959, allocations: 6.625 kB / 421.8 MB, free: 24.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.1975, allocations: 356.5 kB / 422.2 MB, free: 24.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.1981, allocations: 157.5 kB / 422.3 MB, free: 24.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008479/0.2066, allocations: 6.902 MB / 429.2 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008936/0.2075, allocations: 131.6 kB / 429.3 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.2075, allocations: 38.05 kB / 429.4 MB, free: 18.52 MB / 330.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.0005043/0.208, allocations: 292.1 kB / 429.7 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.2082, allocations: 68.14 kB / 429.7 MB, free: 18.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.2083, allocations: 71.34 kB / 429.8 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.2083, allocations: 7.516 kB / 429.8 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.2083, allocations: 0.875 kB / 429.8 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.2083, allocations: 3.422 kB / 429.8 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.2106, allocations: 1.414 MB / 431.2 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2106, allocations: 5.156 kB / 431.2 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.2111, allocations: 101.4 kB / 431.3 MB, free: 17.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002022/0.2113, allocations: 70.33 kB / 431.4 MB, free: 17.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.2113, allocations: 13.81 kB / 431.4 MB, free: 17.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.213, allocations: 2.902 MB / 434.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.213, allocations: 5.375 kB / 434.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.2143, allocations: 0.9552 MB / 435.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.2144, allocations: 85.95 kB / 435.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.2144, allocations: 13.86 kB / 435.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.215, allocations: 85.72 kB / 435.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.2152, allocations: 65.58 kB / 435.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.2152, allocations: 19.86 kB / 435.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004136/0.2156, allocations: 347.1 kB / 435.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2156, allocations: 0 / 435.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00101/0.2166, allocations: 289 kB / 436.2 MB, free: 13.73 MB / 330.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.0001479/0.2168, allocations: 136.1 kB / 436.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.2182, allocations: 1.079 MB / 437.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2182, allocations: 1.125 kB / 437.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.2188, allocations: 0.5197 MB / 437.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006933/0.2195, allocations: 124.2 kB / 438 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.2222, allocations: 1.643 MB / 439.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2226, allocations: 401.9 kB / 440 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003853/0.223, allocations: 99.59 kB / 440.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2232, allocations: 57.56 kB / 440.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2232, allocations: 0 / 440.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of Templates: time 0.02233/0.2455, allocations: 10.71 MB / 450.9 MB, free: 2.039 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: 7.614534930791706]