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.001113/0.001113, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001302/0.001302, allocations: 181 kB / 23.36 MB, free: 1.133 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.9774/0.9774, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.02907/0.02907, allocations: 7.117 MB / 267.4 MB, free: 5.945 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.533e-06/1.533e-06, allocations: 0 / 286.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.835e-05, allocations: 10.05 kB / 286.3 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.1388/0.1388, allocations: 5.662 MB / 292 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.1508, allocations: 1.543 MB / 293.5 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004307/0.1512, allocations: 28.44 kB / 293.5 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1516, allocations: 190 kB / 293.7 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009617/0.1612, allocations: 317.6 kB / 294 MB, free: 17.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.1619, allocations: 391.5 kB / 294.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.163, allocations: 1.442 MB / 295.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00619/0.1692, allocations: 495.9 kB / 296.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009954/0.1702, allocations: 0.8069 MB / 297.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006764/0.1709, allocations: 454.3 kB / 297.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.1711, allocations: 170.6 kB / 297.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.1713, allocations: 171.3 kB / 297.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.1715, allocations: 325.2 kB / 298.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.172, allocations: 458.5 kB / 298.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009885/0.173, allocations: 0.9482 MB / 299.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.173, allocations: 0 / 299.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.173, allocations: 1.188 kB / 299.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.173, allocations: 0 / 299.6 MB, free: 14.45 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.001365/0.1744, allocations: 1.301 MB / 300.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.1744, allocations: 9.031 kB / 300.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.1746, allocations: 177.2 kB / 301.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.1751, allocations: 408.8 kB / 301.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.1751, allocations: 82.77 kB / 301.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.1752, allocations: 113.7 kB / 301.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.176, allocations: 1.193 MB / 302.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1761, allocations: 1.781 kB / 302.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.1761, allocations: 53.05 kB / 303 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.1761, allocations: 25.41 kB / 303 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.1765, allocations: 279.1 kB / 303.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.1792, allocations: 2.925 MB / 306.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.1797, allocations: 345.1 kB / 306.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.1799, allocations: 175.2 kB / 306.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.1799, allocations: 15.94 kB / 306.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1799, allocations: 40.81 kB / 306.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 1.643e-06/0.1799, allocations: 0 / 306.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.0006139/0.1805, allocations: 443.7 kB / 307.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.1806, allocations: 315 kB / 307.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1808, allocations: 457.6 kB / 307.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.1808, allocations: 47.03 kB / 308 MB, free: 9.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1809, allocations: 470.2 kB / 308.4 MB, free: 8.723 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.181, allocations: 224.5 kB / 308.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.1811, allocations: 168 kB / 308.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.1812, allocations: 379.8 kB / 309.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.1813, allocations: 77.7 kB / 309.3 MB, free: 8.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.1815, allocations: 0.6122 MB / 309.9 MB, free: 7.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.1817, allocations: 461 kB / 310.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1817, allocations: 0 / 310.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0006842/0.1824, allocations: 0.6237 MB / 310.9 MB, free: 6.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1824, allocations: 12.81 kB / 311 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.1825, allocations: 8 kB / 311 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007297/0.1832, allocations: 327.6 kB / 311.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.1835, allocations: 193.2 kB / 311.5 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.1859, allocations: 5.55 MB / 317 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.1862, allocations: 111.3 kB / 317.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.1862, allocations: 28 kB / 317.2 MB, free: 15.51 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.0001755/0.1864, allocations: 183 kB / 317.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.1865, allocations: 63.94 kB / 317.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.734e-05/0.1865, allocations: 77.73 kB / 317.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1865, allocations: 8 kB / 317.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1865, allocations: 0 / 317.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1865, allocations: 3.984 kB / 317.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009156/0.1875, allocations: 0.841 MB / 318.3 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1875, allocations: 8.094 kB / 318.3 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.1878, allocations: 129.6 kB / 318.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.1879, allocations: 77.64 kB / 318.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.1879, allocations: 12 kB / 318.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.1891, allocations: 2.599 MB / 321.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1891, allocations: 0 / 321.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.1895, allocations: 0.541 MB / 321.7 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.1896, allocations: 67.42 kB / 321.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.1896, allocations: 12 kB / 321.8 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1898, allocations: 67.94 kB / 321.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.1899, allocations: 64.34 kB / 321.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1899, allocations: 12 kB / 321.9 MB, free: 10.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001358/0.1901, allocations: 188.4 kB / 322.1 MB, free: 10.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1901, allocations: 0 / 322.1 MB, free: 10.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005541/0.1906, allocations: 291.2 kB / 322.4 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.0001298/0.1908, allocations: 114.2 kB / 322.5 MB, free: 9.922 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.1915, allocations: 0.8488 MB / 323.3 MB, free: 9.023 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/0.1915, allocations: 8.5 kB / 323.4 MB, free: 9.016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.1918, allocations: 406.1 kB / 323.7 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1921, allocations: 145.7 kB / 323.9 MB, free: 8.461 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1939, allocations: 1.494 MB / 325.4 MB, free: 6.926 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.194, allocations: 176.2 kB / 325.6 MB, free: 6.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.1942, allocations: 74.23 kB / 325.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.1945, allocations: 221.2 kB / 325.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of SimCode: time 1.342e-06/0.1945, allocations: 4 kB / 325.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of Templates: time 0.01481/0.2093, allocations: 11.91 MB / 337.8 MB, free: 10.76 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.948026425205171]