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.0008978/0.0008978, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001071/0.001071, allocations: 173 kB / 23.03 MB, free: 1.543 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.026/1.026, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.02635/0.02635, allocations: 7.112 MB / 267.1 MB, free: 6.043 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.953e-06/1.953e-06, allocations: 3.938 kB / 339.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.959e-05, allocations: 2.312 kB / 339.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.01112/0.01115, allocations: 5.711 MB / 344.8 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005444/0.01659, allocations: 1.484 MB / 346.3 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005417/0.01714, allocations: 27.88 kB / 346.3 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.01754, allocations: 194.1 kB / 346.5 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.01807, allocations: 317.2 kB / 346.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.01872, allocations: 391.4 kB / 347.2 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004081/0.0228, allocations: 1.442 MB / 348.6 MB, free: 300 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006713/0.02348, allocations: 476.4 kB / 349.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008307/0.02431, allocations: 0.811 MB / 349.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003451/0.02776, allocations: 446.7 kB / 350.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.02795, allocations: 168 kB / 350.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.02814, allocations: 172 kB / 350.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.02835, allocations: 327 kB / 351 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000393/0.02875, allocations: 455 kB / 351.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009352/0.02968, allocations: 0.9538 MB / 352.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.02969, allocations: 0 / 352.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.02969, allocations: 0 / 352.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.0297, allocations: 4 kB / 352.4 MB, free: 12.49 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.002307/0.03201, allocations: 1.427 MB / 353.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.03205, allocations: 8.031 kB / 353.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.03226, allocations: 212.2 kB / 354 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.03403, allocations: 0.5758 MB / 354.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.0341, allocations: 86.55 kB / 354.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.03425, allocations: 120.4 kB / 354.8 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.0358, allocations: 1.261 MB / 356.1 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.03583, allocations: 11.92 kB / 356.1 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.03592, allocations: 48 kB / 356.1 MB, free: 8.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.03595, allocations: 28 kB / 356.1 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009695/0.03692, allocations: 412.1 kB / 356.5 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007879/0.04479, allocations: 3.493 MB / 360 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000834/0.04563, allocations: 414.4 kB / 360.4 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.04602, allocations: 212 kB / 360.6 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.04607, allocations: 16.62 kB / 360.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.04611, allocations: 50.05 kB / 360.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 3.817e-06/0.04612, allocations: 0 / 360.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.001155/0.04727, allocations: 0.5826 MB / 361.3 MB, free: 3.082 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.04743, allocations: 317.1 kB / 361.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/0.04806, allocations: 0.5218 MB / 362.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/0.04812, allocations: 37.7 kB / 362.2 MB, free: 2.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.04851, allocations: 0.5493 MB / 362.7 MB, free: 1.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.04869, allocations: 226.1 kB / 362.9 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.04892, allocations: 160.3 kB / 363.1 MB, free: 1.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.04913, allocations: 0.543 MB / 363.6 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.04941, allocations: 113.9 kB / 363.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.05008, allocations: 0.75 MB / 364.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007925/0.05087, allocations: 0.5696 MB / 365.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.05088, allocations: 0 / 365.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001635/0.05251, allocations: 0.8196 MB / 365.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.05253, allocations: 8 kB / 365.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.05254, allocations: 4 kB / 365.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.05386, allocations: 358.8 kB / 366.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.05433, allocations: 155.7 kB / 366.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/0.06086, allocations: 8.054 MB / 374.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.06132, allocations: 119.3 kB / 374.6 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.06138, allocations: 32 kB / 374.6 MB, free: 4.746 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.0002597/0.06164, allocations: 231.2 kB / 374.8 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.06177, allocations: 91.58 kB / 374.9 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.346e-05/0.06187, allocations: 73.73 kB / 375 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.06187, allocations: 8 kB / 375 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.06188, allocations: 3.938 kB / 375 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.06189, allocations: 3.984 kB / 375 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.06378, allocations: 1.242 MB / 376.2 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.06378, allocations: 4 kB / 376.2 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.06418, allocations: 103.8 kB / 376.3 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/0.06443, allocations: 83.41 kB / 376.4 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.06447, allocations: 15.98 kB / 376.4 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/0.067, allocations: 3.862 MB / 380.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.067, allocations: 0 / 380.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.06809, allocations: 0.7396 MB / 381 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.06818, allocations: 71.44 kB / 381.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.06825, allocations: 20 kB / 381.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.06862, allocations: 67.97 kB / 381.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.06874, allocations: 60.34 kB / 381.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.06878, allocations: 23.98 kB / 381.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.06911, allocations: 318.8 kB / 381.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.06911, allocations: 0 / 381.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009246/0.07004, allocations: 287.3 kB / 381.9 MB, free: 13.09 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.0001795/0.07022, allocations: 139.4 kB / 382 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.07152, allocations: 1.132 MB / 383.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.07152, allocations: 0 / 383.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005229/0.07205, allocations: 0.5516 MB / 383.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.07273, allocations: 136.1 kB / 383.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.07506, allocations: 1.557 MB / 385.4 MB, free: 9.414 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.07518, allocations: 180 kB / 385.6 MB, free: 9.219 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003649/0.07554, allocations: 89.19 kB / 385.7 MB, free: 9.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.07572, allocations: 56.48 kB / 385.7 MB, free: 9.074 MB / 314.7 MB Notification: Performance of SimCode: time 2.004e-06/0.07573, allocations: 4 kB / 385.7 MB, free: 9.07 MB / 314.7 MB Notification: Performance of Templates: time 0.01395/0.08967, allocations: 11.42 MB / 397.1 MB, free: 13.83 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.907465314026922]