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.0009956/0.0009956, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.001111/0.001111, allocations: 173 kB / 24.06 MB, free: 452 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.9757/0.9757, allocations: 177.1 MB / 204.5 MB, free: 4.984 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.0261/0.0261, allocations: 7.119 MB / 268.2 MB, free: 5.711 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.583e-06/1.583e-06, allocations: 0 / 339.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.656e-05, allocations: 6.953 kB / 339.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.01092/0.01094, allocations: 5.616 MB / 345.1 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.01339, allocations: 1.484 MB / 346.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004345/0.01382, allocations: 31.81 kB / 346.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.01414, allocations: 186.2 kB / 346.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.01454, allocations: 317.1 kB / 347.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.01504, allocations: 395.5 kB / 347.5 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008737/0.01591, allocations: 1.445 MB / 348.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.0164, allocations: 472.4 kB / 349.4 MB, free: 424 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006969/0.0171, allocations: 0.8072 MB / 350.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005135/0.01761, allocations: 454.7 kB / 350.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.01778, allocations: 168 kB / 350.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.01792, allocations: 176 kB / 351 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.01809, allocations: 319 kB / 351.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.01843, allocations: 466.9 kB / 351.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008246/0.01925, allocations: 0.9422 MB / 352.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01925, allocations: 0 / 352.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01926, allocations: 0 / 352.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.01928, allocations: 0 / 352.7 MB, free: 13.11 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.001388/0.02067, allocations: 1.431 MB / 354.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.588e-05/0.02069, allocations: 12.03 kB / 354.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.02089, allocations: 212.2 kB / 354.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.02141, allocations: 0.5719 MB / 354.9 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.02145, allocations: 82.55 kB / 355 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.894e-05/0.02155, allocations: 112.4 kB / 355.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.0227, allocations: 1.202 MB / 356.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.02272, allocations: 11.92 kB / 356.3 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.02277, allocations: 40 kB / 356.4 MB, free: 9.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.02279, allocations: 28 kB / 356.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.0232, allocations: 322.2 kB / 356.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.0265, allocations: 3.524 MB / 360.2 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.02697, allocations: 377.6 kB / 360.6 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.02717, allocations: 190 kB / 360.8 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.0272, allocations: 12.64 kB / 360.8 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.02723, allocations: 50.05 kB / 360.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 1.483e-06/0.02723, allocations: 0 / 360.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.0007041/0.02793, allocations: 0.5241 MB / 361.4 MB, free: 3.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.917e-05/0.02803, allocations: 321.1 kB / 361.7 MB, free: 3.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.02835, allocations: 0.5021 MB / 362.2 MB, free: 3.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.02838, allocations: 41.7 kB / 362.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/0.0289, allocations: 0.5609 MB / 362.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.02901, allocations: 230 kB / 363 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.02915, allocations: 164.2 kB / 363.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.02929, allocations: 0.5546 MB / 363.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.02941, allocations: 81.92 kB / 363.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.02976, allocations: 0.7343 MB / 364.5 MB, free: 420 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.03017, allocations: 0.5266 MB / 365.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.03017, allocations: 224 / 365.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009014/0.03107, allocations: 0.7611 MB / 365.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.03109, allocations: 15.94 kB / 365.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.0311, allocations: 4 kB / 365.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000794/0.03189, allocations: 346.4 kB / 366.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.03217, allocations: 147.8 kB / 366.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/0.03629, allocations: 7.945 MB / 374.3 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.03664, allocations: 103.4 kB / 374.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.03666, allocations: 32 kB / 374.4 MB, free: 5.902 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.0002036/0.03687, allocations: 223 kB / 374.6 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.03695, allocations: 95.58 kB / 374.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.03702, allocations: 73.73 kB / 374.8 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.03702, allocations: 8 kB / 374.8 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.03703, allocations: 0 / 374.8 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.03704, allocations: 7.984 kB / 374.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.03811, allocations: 1.117 MB / 375.9 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.03812, allocations: 0 / 375.9 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.03835, allocations: 104 kB / 376 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.0385, allocations: 79.25 kB / 376.1 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.03853, allocations: 16 kB / 376.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.04015, allocations: 3.813 MB / 379.9 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.04015, allocations: 0 / 379.9 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.04074, allocations: 0.6888 MB / 380.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.0408, allocations: 75.38 kB / 380.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.04085, allocations: 16 kB / 380.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.04106, allocations: 59.95 kB / 380.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.04114, allocations: 68.33 kB / 380.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.04116, allocations: 16 kB / 380.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.04133, allocations: 306.7 kB / 381.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04133, allocations: 0 / 381.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006307/0.04196, allocations: 283.3 kB / 381.4 MB, free: 14.54 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.000115/0.04208, allocations: 128.3 kB / 381.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000767/0.04285, allocations: 1.098 MB / 382.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.04285, allocations: 0.625 kB / 382.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.04316, allocations: 0.5305 MB / 383.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.04357, allocations: 131.5 kB / 383.3 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.04568, allocations: 1.595 MB / 384.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.04596, allocations: 408.4 kB / 385.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/0.04634, allocations: 262.1 kB / 385.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04634, allocations: 4 kB / 385.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of Templates: time 0.01837/0.06471, allocations: 24.42 MB / 410 MB, free: 1.789 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 > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.894701507873833]